09-17-2023 08:43 PM
Hello Everyone,
I have written a simple program that uses Arduino and Labview, that I have linked below, which basically just positions the servo at a given position. I am trying to add on to that program another servo which positions itself basically opposite to the other servo (180 - First Servo Position = Second Servo Position). I am a bit new to Labview and I am not sure how to store the first servo position to a variable and write the second servo to 180 - the variable. If anyone can help or alter the program I would greatly appreciate it.
Thank you so much
Solved! Go to Solution.
09-18-2023 12:46 AM
Hi robotek,
@robotek73 wrote:
I am a bit new to Labview and I am not sure how to store the first servo position to a variable and write the second servo to 180 - the variable.
In LabVIEW the wire is the variable, so you just use a wire to "send" the value of your 1st servo to the "180-value" operation!
09-18-2023 07:27 PM
Hi GerdW,
Thanks a lot, it worked perfectly!
06-18-2024 10:42 AM
I am doing the same job as you did, but my software got error on "Set Number of Servo.vi" due to Timeout (error 5003). I look into it, it seems to be my send-in "Data" is empty in "Packetize.vi" and therefore "Wait For Byte.vi" gets no Byte out. What did you set for "Data" in your case? Thanks in advance.