02-25-2013 09:27 AM
Hi,
I am using MathScript Node to generate an array of values that are transmitted via DAQ.mx with a USB-6216.
My array contains 58,000 samples, and my sampling frequency is 50 kHz, therefore my array will take 1.16 seconds to transmit.
The problem is that my DAQ.mx is doing this continuously, and I just need to transmit these 58,000 samples once. In other words, I should get a finite signal, which will end with 0, and not a continuous signal.
How can I stop the continuous generation of my analog signal?
I have tried using Case Loops, and While Loops, but the condition always depends on the MathScript Node, and so, I haven't find the way to transmit my 58000 samples array just once.
Thanking in advance for any suggestion,
Laura
02-27-2013 05:57 AM
I think that this example can help you:
NI example Finder--HardWare Input and Output--- DAQ.mx---Analog output--- Voltage-Finite Output.vi