Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Timing a while loop

I want to write 32 lines of data and I've programed my task based on the Write Dig Chan.vi example. The thing is I want the while loop to repeat every 0.02ms because I want my data written with the frequency of 50kHz and the number of my samples of each line is 500000. Do I need to install the LAbView real-time module for this? Or cai I do it by palcing the DAQmx timing.vi in the loop? I am sending you my .vi to tell if it's correct. I would also want to know how  to make the loop stop automatically after 10 sec.
0 Kudos
Message 1 of 2
(3,287 Views)

Hi Apo,

 

This is very possible to complete, but it is necessary to know the hardware you are using.  This will identify if there is hardware timing available for the card, which is what will allow you to write at a specified frequency.  Please respond with the DAQ Card you are using.

 

Best,

 

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 2 of 2
(3,255 Views)