LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple data waveforms for 1 channel

I'm hoping this is an easy one.

 

Here's the situation with questions to follow:

I have a C-DAQ data logger that monitors 20 or so channels. When the program is started, the first 3 channels are monitored in a stacked-plot waveform chart.  No data is  being written to file yet.  There is a list of channels which are in groups of 3 and are selectable through mutually-exclusive Selection Buttons.  whichever Selection Button is pressed, the corresponding 3 channels are shown in the chart.  Note that nothing is being written to file yet.  When the Logging button is toggled ON,  all channel data is streamed to file (TDMS).  While a test is running, logging can be turned off and on again.  Since logging can stop and start, this leaves data "gaps" in the data, since the T0 will change each time the logging is disabled and enabled.  This is handled in the TDMS file, by creating a new group each time.

  

Now the questions:

  1. Is there a way to load  the various waveforms for a single channel in the waveform chart?
  2. Is there an alternative to creating a new group for ech start/stop of logging

I was going to use the waveform graph, but I like the STACK PLOTS ability of the waveform chart (otherwise I need to synchronize 3 x-axes)

 

I'm using LabVIEW 8.6 with DSC 8.6 for this.

 

Thank you,

Charlie

 

0 Kudos
Message 1 of 4
(2,754 Views)
For question 1, are you referring to the data from the TDMS file or do you mean while you are taking it?
-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




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

Data from the TDMS file.  Example: If we start/stop logging 3 times during a run, each channel will have data in 3 TDMS groups.  So for a given channel, there will will be 3 T0s, dts, and Y-arrays.  What I am looking for is a way to take all of the data for a given channel and string it together in one plot...

 

kind of like this:

 

 

    Waveform Chart 

  |----------------------------------------------------------------|

  |                                                                |

Y | /\/\/\/\/\/\     /\/\/\/\/\/\/\/\/\/\/         /\/\/\/\/\/\/\/ |

  | Group 1 data         Group 2 data                Group 3 data  |

  |----------------------------------------------------------------|

                                 X

 

 

0 Kudos
Message 3 of 4
(2,737 Views)

The easiest way to do that would be to string it together before you save it to the TDMS file.  Is that an option for you?

-Matt Bradley

************ kudos always appreciated, but only when deserved **************************




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