LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a known problem when using "cursors" (name property) in a XY graph in the LabVIEW version v7.1?

Hi,
 
I am having trouble trying to use the "cursor"  properties in an XY graph.
 
The funtion works, but LabVIEW gets very slowly (like hanging).
 
NOTE: I am trying to show names in an XY graph by using the cursor properties (cursor name).
            My Labview version is v7.1.
 
Kind regards,
 
Amaloa S.
 
0 Kudos
Message 1 of 9
(3,170 Views)
Property nodes are pretty slow to begin with and if you are continuously writing to the them (instead of only when a change is required), your VI could seem to hang. It would be best to post your VI to see how you are doing this.
0 Kudos
Message 2 of 9
(3,159 Views)
Hi,
Thanks,
 
I think that this Vi is too big (It has other parts or sub-parts).
 
It get slowly only when using "Property Node".
 
Is there any other way to write some text on a XY graph?
 
I need to write text e.g. : Lab 1, Lab13, Lab 2 on the XY graph (Picture attached).
 
Thanks,
Kind regards,
 
Amaloa S.
 
0 Kudos
Message 3 of 9
(3,154 Views)
Hi,
 
I am using the Cursor Property Node like in this VI attached.
 
Kind regards,
 
Amaloa S.
0 Kudos
Message 4 of 9
(3,142 Views)
I'm perfectly aware of what the property node looks like. Posting the image of the front panel doesn't help with diagnosing your problem either. What really matter is how you are calling the property node, how often, and what else you are doing at the same time. for example, it should not be inside a loop that is running continuously. Instead of posting a large project, can you reproduce the problem in a smaller VI?
0 Kudos
Message 5 of 9
(3,135 Views)

Hi,

For some reason it seems to work now. So this would be Ok.

Now I only need to generate more than one cursor.

Could you please tell me how to do (or show) more than one cursor in the same XY graph?

Thanks,

Kind regards,

AS.

 

0 Kudos
Message 6 of 9
(3,126 Views)
To create cursors, you use the Cursors List property. This is a cluster array. You can assign names (and position which a VI similar to the attached. To create the cluster constant, I right clicked on the property and selected Creat Constant. From the constant, I just dragged a single cluster out of the array.
0 Kudos
Message 7 of 9
(3,113 Views)
Or you could let your users create cursors while the VI is running...right-click on the graph....Visible Items-Cursor Legend (if not already visible), then inside the cursor legend, right-click and select "Create Cursor.....".
0 Kudos
Message 8 of 9
(3,102 Views)
Hi,
 
Thanks!!!
This worked perfectly.
I used the vi example (modified) you sent me.
 
Kind regards,
 
Amaloa S.
0 Kudos
Message 9 of 9
(3,099 Views)