10-20-2011 03:14 PM
For a project me and my lab partner are using Labview to create a square wave and output through our mydaq to our circuit. The problem is when we hit stop in Labview the mydaq outputs a DC voltage the same amplitude as the square waves. This has damaged a few of our components and we need to know if their is a way to force the output to zero when we ht stop in Labview. Anyone know a solution?
10-20-2011 08:05 PM
10-26-2011 04:13 PM
I have the attached code. Can anyone look at it and tell me how to complete it.
What I am doing is generate a square wave. After I press stop, I want the square wave and the DC voltage to be zero. In other word, I want the output to be ZERO. If someone can complete, I would be grateful.
Thanks
10-27-2011 01:54 PM
Hey jackdds1,
IF you want to continue to use express VIs you can simply use the same method and write a DC signal of zero to your channel after the loop, as shown below (just makes sure you set the DC signal to zero and choose "N samples" instead of continuous samples for the DAQ assistant.
😞
A better way to do it would be to use the DAQmx functions and modify one of the examples in example finder to write zeros to the output buffer after you press the stop button. I've attached an example of this. I hope this helps!
-Nathan H
03-21-2012 05:00 PM
I need some quick advice. I am trying to control a shape memory actuated robotic hand using a closed-loop system. I want to connect a potentiometer at the elbow so that i can get a feed back by reading the resistance. I am using a PWM signal as the input.
CAN SOMEONE PLEASE GIVE ME A DIRECTION?
03-21-2012 05:53 PM
Please do not hijack an old and completely unrelated thread. Post your question as a new thread.