LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

real time control using 6035E board

Hello All,
 
I am very new at this, so I'm sure you can understand that I appreciate all the help I can get. I am currently using labview 8.0 and unfortunately do not have labview real-time. I am trying to take in real-time analog data from some source, use that data to trigger a function to occur which will ultimately modify the input. I would like to do this point by point and in real time. My starting point is as shown in the attached vi where I have combined some examples to create something that kind of works for taking the analog input and then spitting it back out in an "analog" format. Is there a better way to do this that anyone can think of? Also, I can't seem to modify the data on a point by point basis. Can anyone provide advice on how to do this? As I said I am new at this and could use all of the help you can provide. Thank you.
 
 
0 Kudos
Message 1 of 2
(2,349 Views)

Hi Clambake,

 Not a bad start. To do a point-by-point acquisition and generation, set the DAQmx Read and DAQmx Write VIs to Analog Wfm 1 Channel 1 Sample. Keep in mind, however, that since you are not deploying to a real-time target, your program will not be deterministic. Your data rate will be limited by your OS and will be subject to some inconsistencies due to process interrupts. If you use the Wait for Next Sample Clock VI, you may receive an error if your loop runs slower than your acquisition/generation.

If you need to do this on a point-by-point basis and are interested in LabVIEW Real-Time just let me know and we can take this off-line.

Please post back if you have any questions. Have a great day!

Ryan D.
District Sales Manager for Boston & Northern New England
National Instruments
0 Kudos
Message 2 of 2
(2,326 Views)