LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Last value of AO buffer not generated

The Last value of A0 buffer is not generated. So, the state of the signal is high and I have to put a additionnal value at the end to have a low state.
0 Kudos
Message 1 of 3
(2,574 Views)
Hi:

Analog Out Channel outputs the last value in the buffer. Therefore to set the line to low, you need to put a 0 as the last element of the buffer. Alternatively, you can also reset the device using the reset device VI.

In the attached VI, after the program finishes executing the analog output channel stays at 6V. To make the line low (0V) you have insert a 0 after into the last element of the array.

Regards,
Bharat Sandhu
Applications Engineer
National Instruments
Penny
0 Kudos
Message 2 of 3
(2,574 Views)
Thank you for your answer, but your VI doesn't work at all by me.
I am not sure you have understood my problem.
My data ends up already with a 0V value, but the final state of my generator is equal to the last but one value which is not zero (see both attached files)
Why ?
Regards, Marc
Download All
0 Kudos
Message 3 of 3
(2,574 Views)