LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Drawing vectors on screen at nearly eaxcat angles

I would like to create a Labwindows CVi app that will draw Lines(vectors) at specified angles.

Example

 

                      90

                        I

                        I

0                      I                     180

------------------- -------------------

 

and then at 30 and 43 or 57 degrees.  or what ever angle the user enters.

 

What display would you use, picture , canvas, graph or strip chart?

 

Thanks for the insite.

0 Kudos
Message 1 of 2
(2,804 Views)

It depends on whether or not you want to draw just a static image once, or if you need to remove one already drawn line and replace it with another. For the first case, I would use a Canvas. For the second, I would use a Graph, since this will return plot handles for each drawn item, giving more control.

 

JR

0 Kudos
Message 2 of 2
(2,793 Views)