Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to update data for Analogue output without restart the whole process?

I am using NI-Elvis board II to generate a analogue signal to control other device. The data which is used to generate analogue signal contains in a 1D array. My question is that how can I update this data package after a certain mount of time without restart the whole analogue output process. I tried to put this process in a while loop, it can update my data but it also restart my process so there is a gap in my output signal.

The attachment fle is a simple part of me program, I put a array constant to illustrate my data, in my real program there is another process to gerate this data package.

Can anybody help me?

0 Kudos
Message 1 of 2
(6,094 Views)

Hi zeroxx,

 

It sounds like you are trying to do the same thing that is in one of the shipping examples. Take a look at the example named "Voltage - On Demand Output" Under Hardware Input and Output >> DAQmx >> Analog Output. To get to the example finder you can select Help >> Find Examples... If that specific one does not fit your need try looking at the other examples in Analog Output to see if any of them works for you. 

 

Hope that helps

 

 

Brian A

 

R & D Product Support Engineer | WSN/Network DAQ/Academic

 

National Instruments

 

0 Kudos
Message 2 of 2
(6,076 Views)