04-13-2015 12:27 PM
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!
04-13-2015 03:15 PM
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.