10-20-2010 07:37 AM
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.
10-22-2010 12:54 PM
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?
10-22-2010 01:21 PM
AO 9263
AI 9215