LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

User Event plots to XY graph

Hi, 

Inside a While loop, a user event reads two arrays from the Database and bundle them into a cluster inserted to XY graph.

I try to write the code such that each time the user event is happening (each time is a bit different reading) the cluster which as been created will "add" to the plot stack in the XY graph. (Taking in consider that the X and Y arrays may differ a bit and needs to be autoscaled in the same graph...)  - Tnx in a head for any help!

Screenshot 2015-04-13 20.22.40.png

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

What you show is not a User Event. It is simply an Event structure with an Event case for the Boolean control "I-V".

You can read about user events here:

http://zone.ni.com/reference/en-XX/help/371361K-01/glang/create_user_event/

 

If you want to "add" the new X-Y data values to this cluster, just use a shift register.

 

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