09-13-2010 05:04 PM
I need three digital signals(please check the attached file) to control a device, one signal is the clock signal, one is a continuous 384 bit data signal, and another strobe signal that inform the device the start and stop of the data. I have a USB-6501, can this task be achieved? I don't know how to write a 384 bits signal with DAQmx Write, because it seems to only support up to 32 bits. And will it be difficult to synchronize them?
Thank you!
Solved! Go to Solution.
09-14-2010 06:37 PM - edited 09-14-2010 06:46 PM
Hello Stork,
If you are sending 384 bits sequentially to a digital line; and running a software timed application, this operation would be possible (the NI USB-6501 is software timed). See the example VI included below. Also, please note that software timing is non-deterministic and will depend on the speed of your system. If you wish to pursue your application with one of our DIO cards that provide hardware timing capabilities; please review the following link for more information regarding these devices.
Best regards,
Ali M
Applications Engineer
National Instruments
09-15-2010 04:51 PM
Hi Ali,
Thanks very much for the vi. I just wonder how we control the frequency here. Because in the timing diagram it requires the clock be no more than 1 MHz. But the 6501 seems be faster than that.
09-16-2010 08:13 AM
The 6501 does not run anywhere close to 1 MHz. It will run at about 1kHz but you can place a Wait function inside the loop if you want.
09-16-2010 11:15 AM
It's common to mark a person's answer as the solution and not your thank you. You can change the marked solution by clicking on the 'Options' button in the upper right.
09-16-2010 11:19 AM
Sorry about that. I made the change.