LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to draw multiple charts from multiple data acq. loops

I am gathering data in 3 embedded loops, call the innermost "frequency," middle loop "sample #," outermost "temperature," typically 1-10 frequencies, 1-10 samples, and 50-100 temperatures. For each measurement I get 2 numbers, called C and D. I want to create a stripchart for each sample running with "temperature" across the X-axis (temper. is equivalent to the acquisition count), and 2 plots for each frequency-- C and D. I guess I'd like to use different colors for each frequency and solid vs. dashed lines to differentiate C&D. I haven't been able to gain control of the stripchart VI to separate the various data streams.
0 Kudos
Message 1 of 2
(2,620 Views)
Having three embedded loops doesn't really make sense for a 2-d graph (unless you just want to add multiple points to each plot for each iteration), but here's an example that uses a while loop and a for loop to chart 10 solid channels and 10 dashed channels with matching colors.

Regards,
Ryan K.
0 Kudos
Message 2 of 2
(2,620 Views)