02-19-2009 01:25 PM
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:
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
02-19-2009 03:12 PM
02-19-2009 03:42 PM
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
02-19-2009 10:24 PM
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?