LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with tcl script with labview

I am trying to run a program using tcl script via labview.
Currently I am using wish80 tcl to run it. And it works fine.
 
I tried using example I found on NI website called Run Tcl Script.vi
I will attach the vi and the tcl file. Hope someone will have a idea what I am doing wrong.
 
Thanks
 
please change the testpairs2.txt to testpairs2.tcl as it is not letting me attach as tcl.
Download All
0 Kudos
Message 1 of 3
(3,210 Views)
Hi randyram,
try the referenced labview example with your parameters. I guess there are some changes on the OS. (actual OS with LV6.1 to XP) 🙂
 
LabView Online Help:
"Refer to the Calling System Exec VI in the labview\examples\comm directory for an example of using the System Exec VI."
 
Mike
 
0 Kudos
Message 2 of 3
(3,202 Views)

Thanks Mike. I just got the run tcl to work. I figure what was wrong. I calling the wrong program. I was suppose to call wish80.exe.

Once I changed that, it started to run the script. But kinda slow. I will see into why.

Thanks again.

0 Kudos
Message 3 of 3
(3,188 Views)