12-01-2007 06:30 PM
12-03-2007 04:23 PM
Hi shangaj.bejbi,
How does your block diagram work? Do you calculate numerical values to represent the position of the pendulum? If so, it should be fairly simple to have the needle move as a pendulum.
I have developed a very small VI that somewhat imitates a pendulum (written in LabVIEW 8.0 so it will open with all later versions as well). Without going through all the physics and developing an algorithm, this VI simply waits for you to click somewhere on the gauge and then increments or decrements the value by 1 until passing zero and then gets stuck bouncing between two points.
Basically, the VI resets the gauge needle to point to a default value (0) and continuously reads the value of the gauge control. Once you click somewhere on the gauge, the next time through the loop, this value is read and passed to the control by use of the Value property node of the gauge. If you are calculating numerical values to represent the pendulum’s motion, this should go a long way in getting you started. If this does not help, please let me know more about the implementation of your algorithm and we will work on getting this up and running for you.
12-03-2007 05:38 PM
12-03-2007 05:58 PM
12-04-2007 05:56 PM
12-04-2007 06:17 PM - edited 12-04-2007 06:20 PM
12-04-2007 06:45 PM