08-27-2012 10:42 AM
Hi there,
I am still fairly new to LabVIEW but I have a few questions about using the MathScript Node module. I want to know if I would be able to use the MathScript Node for my current application. My application involves reading data being streamed serially to the computer from a microcontroller and presenting a graphical display of this data (the data is being streamed serially using UART communication protocol). Now the data that is being streamed to the computer is coming from multiple channels (4 different channels to be precise). I need to sort the data as it is being streamed to the computer and place each data point to the respective graph (i.e. data from channel 1 would need to be graphed on graph #1). In the examples I saw they never demonstrated using the MathScript Node to analyze data that is being read via VISA READ. I want to know if it is possible to use the MathScript node in conjunction with the VISA READ to analyze the and process the data as it is being streamed to the computer.
I am pretty sure I could do this without using the MathScript Node, but I am more comfortable and proficient using MATLAB and thus I would like to know if it is possible to do this.
If someone would be able to give me some reassurance and an example of how to setup the block diagram for this application, it would be greatly appreciated.
08-27-2012 01:15 PM
Everything you have described can be done with LabVIEW, and probably a whole lot easier than in MathScript. What kind of analysis are you trying to do that you believe you need to resort to MathScript/Matlab?
08-27-2012 01:45 PM
I understand that it can be done in LabVIEW, however I want to know if it is also possible to be done using the MathScript Node. The whole point of me using the MathScript Node, is that I am more comfortable and proficient in using MATLAB, as I have only recently started using LabVIEW.
08-27-2012 03:09 PM - edited 08-27-2012 03:12 PM
Probably in five minutes you could convert the output strings to numbers, combine them into clusters of data points and display the traces all at once on a graph/strip chart?
[Edit] If you knew how slowly I type, LabVIEW is definitely the better choice for me. But if you type at a normal speed, then maybe not so much for you. 😉
08-27-2012 04:22 PM
@Kevin khan wrote:
I understand that it can be done in LabVIEW, however I want to know if it is also possible to be done using the MathScript Node. The whole point of me using the MathScript Node, is that I am more comfortable and proficient in using MATLAB, as I have only recently started using LabVIEW.
Then why don't you just do the whole thing in Matlab? You still haven't described what this "analysis" is that you need to do that you believe you can only do proficiently in MathScript/Matlab.