03-15-2012 10:52 AM
Hello dgql!
I apologize for the delay, I'm still looking into the best way to write zero at the end of your code - I will let you know as soon as I have more information. Are you still having issue with your code?
03-15-2012 04:27 PM
Yes, I still can not return to the original place when I stop. I am looking forward to your suggestion 🙂
03-16-2012 04:57 PM
Thanks for the update - I will let you know as soon as I have more information, hopefully early next week.
03-20-2012 05:48 PM
Hello, dgql!
I was able to get my hands on some hardware and try it out myself. I modified the example "Cont Gen Voltage Wfm-Int Clk.vi" (found in LabVIEW under Help>>Find Examples>>Analog Generation>>Voltage). An image of the modified code is attached.
Basically, the modifcation creates a new task, which finishes by writing a zero to the device. This will ensure that your device is not outputting a high voltage when restarting your task.
You can compare to the original example to see the changes made - please let me know if you have any questions!
03-20-2012 10:16 PM
Thank you so much!!!
03-21-2012 02:28 PM
No problem!