LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx 9172 and Step Response

Hello,

I am trying to perform an experiment to find step response and some other properties of a piezo actuator.

 

What i'm trying to accomplish.

1.  I want to send a voltage of 0 volts for a certain period of time.

2.  After, i want to make a jump to a specified voltage.

 

I have accomplished steps 1 and 2, but when i go and try to re-run the vi, my AI card initially reads one data point at the jump voltage level.  I tried to fix this by sending an array that would have 0 volts, the jump voltage, and then return to 0 volts but it does not seem to work.  If i restart my cDAQ-9172 and run the vi again, it does not exhibit this behavior.

 

Does anyone know how to make the DAQ return to a startup condition after the vi runs through its acquisition so that i don't have to restart it every time to get it to work properly.  I have attached the vi and a photo of the front panel that shows the initial pulse reading.

0 Kudos
Message 1 of 3
(2,223 Views)

Hi lockesmith,

 

The behavior you are experiencing is interesting and unexpected since both of the tasks are cleared.  Take a look at the DAQmx Device Reset function; however, I think this may be a bandaid for something else occuring.  What modules are you using and their corresponding slots?

Regards,


h_baker
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(2,201 Views)

AO 9263

AI 9215

0 Kudos
Message 3 of 3
(2,197 Views)