LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

extracting signal data into the script node

Hello,

I'm trying to save the signal data into an array to plot it. I have a voltage signal from a pressure sensor, and the trigger only passes the bumps through. We're able to get the data saved into spreadsheet, but we want the VI to be able to graph the data automatically and display it also, and give the user the option of saving the graph. I don't think there's a way to do it in Excel, so I'm trying to do it in Matlab.

I'm trying to figure out the commands to convert the data into an array, so then it can be plotted, and also saved as a .mat file.


Thanks!
Nate




0 Kudos
Message 1 of 4
(7,123 Views)
 
This forum is actually for Mathscript, not for a matlab script node.
 
Sorry, I don't understand the need for the matlab node at all here. Why don't you just use a LabVIEW waveform graph to graph the data?
0 Kudos
Message 2 of 4
(7,119 Views)
Oops, didnt realize I was in the wrong forum.

I don't think the waveform graph can be saved, can it? I would like to be able to save each individual spike, not the entire ten seconds of data.
0 Kudos
Message 3 of 4
(7,116 Views)
Hi,

So I've replaced the Matlab script node with Mathscript, it seems like Mathscript is more robust anyways. However I still have the same problem, is there a command or function that can help me get those voltage signals into the Matlab environment for further manipulation?


Thanks for your help!
Nate
0 Kudos
Message 4 of 4
(7,099 Views)