LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

add more scope channels

how can I add more scope channels to the existing VI (namely math channel 2 & 3) M2 & M3
 
-plot all math channel plots in a single graph
- save all data in a single file...
 
thank you!
0 Kudos
Message 1 of 4
(3,298 Views)

You just have to add as many Get Waveform functions as you want. For multiple waveforms on a chart, you use a build array with each cluster you've created. For writing to a file, just add the additional columns to your existing 2D array.

Message Edited by Dennis Knutson on 06-01-2006 08:16 AM

Message 2 of 4
(3,285 Views)
I tried to follow your suggestions, but when I run the VI, I see the attached msg and VI does freeze..end up killing the app..
 
BTW, how can I stop the VI cleanly when I hit "Cancel" button on the save data file prompt?
I started with OR function with error out and cancel strings.
 
Thanks,
Download All
0 Kudos
Message 3 of 4
(3,271 Views)
First, I would recomend that you not try to have the tow different functions in parallel. Retrieve one channel and then the next. Second, you have nothing wired to the waveform size of your second acquisition.
 
If you cancel the file operation, you need to put the file write functions inside a case statement. You've got it started with the OR so just wire the output to a case statement and put everything related to the file writes inside the False case.
0 Kudos
Message 4 of 4
(3,266 Views)