Discussion:
What is the highest frequency that the NI9472 can operate?
(too old to reply)
bla bla
2007-12-13 14:40:32 UTC
Permalink
Hi

I was just wondering what is the highest frequency that the NI9427 can operate?  At the moment I am operating a digital output using the daq assistance to a on\off sequence with no delay using a vi. I have it connected to an oscilloscope and is reregistering it as 55Hz.  According to the data sheet the I/O delay time is 100µs.

 

Thanks
AdamB
2007-12-14 10:10:07 UTC
Permalink
Hi there,
The method you are using at the moment is software timing.  I imagine that the software you have written is dictating the fastest speed at which the device can run (The device will only change it's output when the code tells it too)
In your case I would firstly try using the lower lever digital output functions (DAQmx API) to try and speed up your output.  There are many examples for you to try in the LabVIEW example finder that may be of use to you.
For example: "Write Dig Chan.vi" will show you how to output data on a number of lines.  You can manipulate this example to output a constantly changing pulse train by using a shift register and a "NOT" boolean function call each itteration.
You will find that you can vastly increase the speed of output.  What rates are you aiming for?
I hope this helps.  If you have any more questions then please just post back on this forum.
Thanks
AdamB
bla bla
2007-12-14 11:40:08 UTC
Permalink
Hi Adam

 

Thanks for your reply. I wrote a small program using the DAQmx in a stacked sequence loop with two iterations. In the first one a true statements was sent to the DAQmx write and in the second a false is sent with no time delay (I have attached the program). Testing this I got the same result with the frequency being approx 53Hz.  I was hoping to get at least approx 200Hz. If possible you might be able to edit my program if it?s that what is restricting the speed.

 

Thanks


testing relays digi line out.vi:
http://forums.ni.com/attachments/ni/70/7916/1/testing relays digi line out.vi
AdamB
2007-12-14 11:40:08 UTC
Permalink
Hi,
Try this?
AdamB


testing%20relays%20digi%20line%20out[1].vi:
http://forums.ni.com/attachments/ni/70/7917/1/testing%20relays%20digi%20line%20out[1].vi
GrahamG
2007-12-17 11:40:05 UTC
Permalink
I have had a look at you program. To control multiple lines within the same channel you just need to wire in a Boolean array of whatever sequence you desire to the data input of you DAQmx write VI.
 
As an example I have written an amendment to the above code to control two digital lines in the pattern defined above.
 
Hope this can be of some help as an example for you.
 
Best regards
 
Graham


testing relays digi line out[2].vi:
http://forums.ni.com/attachments/ni/70/7923/1/testing relays digi line out[2].vi
Loading...