LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to open Tecplot and load data file?

Hi,
 
My program creates data files for use with Tecplot.  Rather than have to then open Tecplot (Amtec Engineering) manually and load the data file and change all the layous settings etc is there a way to do it using labview?
 
I saw an example of opening a word document etc but couldn't find any Tecplot support?
 
Many Thanks
Chris
0 Kudos
Message 1 of 3
(6,089 Views)
Opening external apps for automation is done usually with an activeX component (is avaliable) or with a system exec call.
You have to consult the docs for Tecplot, I have never used this specific application but have automated many external programs with the methods above.  The system exec is the simplier of the tow, you might need to google Tecplot and command line calls to figure out the exact call required but a guess would be    Tecplot.exe -'filename'.
 
Paul
 
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 3
(6,088 Views)
Hi,
 
Thanks, I'd already looked in the active x but couldn't see any tecplot support (maybe i just couldn't see it), the command lines for tecplot are:
 
To run Tecplot without preloading any data files, use:
tecplot 
To run Tecplot loading the data file ex1.plt as the first data set, use:
tecplot ex1.plt
To run Tecplot loading the data files ex1.plt, ex2.plt, and ex3.plt as the first data set, use:
tecplot ex1.plt ex2.plt ex3.plt
To run Tecplot using /usr/myhome as the Tecplot home directory and loading the Tecplot configuration file /usr/myhome/myset.cfg, use:
tecplot -h /usr/myhome -c /usr/myhome/myset.cfg
To read a Tecplot layout file sumtr1.lay, you would use:
tecplot sumtr1.lay
To read a Tecplot layout file calc.lay and replace the first data set referenced in the layout file with the data file temp.plt, you would use:
tecplot calc.lay temp.plt
 
However I have no experience of this and couldn't even to get it to open a file from ay folder other than the home directory! I need to open one from another drive i.e. F:\work\data\run 11\test.lay but have no idea if this is possible?!
 
Has anyone done this?
 
Thanks
Chris
 
 
 
 
 
0 Kudos
Message 3 of 3
(6,079 Views)