LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Converting dynamic data

I have attached my VI for reference.  I am using an event structure, and I need to get data from one frame of the structure to another frame which uses the data in a graph.  The data from the "run test" frame is dynamic, and the data I need to put in the array for the graph in the "update graph" frame is a double.  I am getting a wiring error that says the two data types are different, but using the "convert from dymanic data VI" or a "to double precision float" conversion does not seem to be working.  Can somebody help?
-Tek
0 Kudos
Message 1 of 4
(2,588 Views)
The way to pass data from one event to another is to wire to a shift register. Create a shift register on your outer while loop (right click on while loop and select Add Shift Register). Wire the data output from the event that creates it to the shift register on the right side of the while loop. Go to the event where you want to process the data and wire from the left terminal to your convert from dynamic data.
0 Kudos
Message 2 of 4
(2,586 Views)
Thank you so much.  That worked perfectly! 
-Tek
0 Kudos
Message 3 of 4
(2,580 Views)

Can you upload your corrected VI, for others to see.

0 Kudos
Message 4 of 4
(2,054 Views)