LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

draw multiple lines with relative coordinates

"I want to be able to write multiple lines ( 5000 or more ) in a picture indicator, but using a similar vi like : draw line .vi because I use the funcion : relative coordinates something Is that possible and how would I do that?" ... any help thanks.
0 Kudos
Message 1 of 2
(2,634 Views)
The picture control commands all use absolute coordinates to calculate reletive coordinates, you'll need to create a VI that keeps track of where it is right now so it can calculate the abslute coordinates that correspond to the relative coordinates passed to it. In general the calculation itself is just addition:

current_location + relative_position = new_position

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,634 Views)