08-19-2008 05:52 AM
Hi,
I recently tried to work on Mathscript and it is really amazing. what I tried to figure out is:
Thanks in advance
08-19-2008 08:35 PM
Hi,
What kind of graph do you expect? Would you please give some examples?
In LabVIEW, you can customize the graph control to give better UI.
08-26-2008 03:33 AM
08-26-2008 04:14 AM
Hi,
From your reply, I can not think of any difficulty in using LabVIEW chart.
Do you use MathScript Node? Could you please attach your VI? Then, I can exactly know what you want.
08-26-2008 11:56 AM
VBCoder,
If you are creating the vectors x and y then plotting them against each other, you should probably use an XY Graph. Create two outputs on the MathScript node, one for x and one for y, then bundle them together and connect the cluster to an XY Graph. The attached VI (saved in LabVIEW 8.5) shows how to do this. Make sure that you set the datatypes of the outputs to "DBL 1D" from the right-click shortcut menu.
Chris M
08-26-2008 07:10 PM
Well Chris,
I was about to post the solution, but as I said, I'm in a middle of experts 🙂
It took me 3 hours to figure it out. I should've checked your answer 🙂 . I resolved to the same suggesstion of yours. I only added some functionality to get the newbies like me being acquainting with how easy to work with LABVIEW mathscript based on MATLAB knowledge.
08-27-2008 01:36 PM
VBCoder,
Good to hear that you've got it working the way you like. Note that you can remove the "Build Array" and "Array to matrix" functions before the upper MathScript node and get the same result. If you're interested, here are some demos that might help getting started with MathScript.
Chris M
10-10-2008 01:07 PM