LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Saving plots from MathScript

The acquisition platform is on Linux, so I cannot use Matlab (which is installed on the machine btw.) from labview. So, I have to use mathscript (new to it, but seems fairly portable).

 

During the acquisition, some data is generated, and analyzed using a mathscript node. The analysis involves generation of some errorbar plots that I want to save to disk (it will save me the botheration of having to fire up Matlab separately after the measurements are done).

 

When I click on the plot window in a test script, I see that it is possible to export the plot to BMP or EPS. So, the functionality exists. How do I do this from within the mathscript node ? The print command (which is the ubiquitous matlab way of doing this) is not supported.

 

I am using Labview 8.6.

 

PS: As an aside - the plots look much better than any front panel dumps I might make, so I really do not want to mess with any front panel dump type business. Tried that, those front panel plots are not fit for professional presentations.

0 Kudos
Message 1 of 3
(2,530 Views)

Point and click and save is NOT an option.

 

My measurement generates 6 plots per measurement, and I have 10-15 measurements to do in a short period of time. Plus, I like to automate filenames etc. from the measurement to avoid any messes created by human error.

0 Kudos
Message 2 of 3
(2,526 Views)

Hi m-s

 

I have replied to your inquiry in the thread in the LabVIEW MathScript RT Module forum. Please follow the discussion there.

 

Thanks,

 

K Scott

Message Edited by K Scott on 04-07-2010 02:18 PM
0 Kudos
Message 3 of 3
(2,517 Views)