NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Call a TCL/TK procedure

How do you call a specific procedure from a TCL file?

 

I have a .tcl file with several proc defined.

    proc a

    proc b

    proc c

    etc     

 

I tried calling, the proc both from the TCL step-type installed or from a command line step, but the call is not being evaluated.

Any thoughts?  

0 Kudos
Message 1 of 4
(2,080 Views)

Hi aavila!

 

I have linked a tutorial that I think could be helpful in explaining how to call a TCL file. This tutorial walks through a thorough example that could be good to compare with some of the steps you have taken so far.

 

"Calling Scripting Languages from NI TestStand"

http://www.ni.com/tutorial/8847/en/

Carolynn V.
Technical Support Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,047 Views)

thanks.

 

I previously read the tutorial, but that one makes no references to dealing with a file with only procedures inside.

0 Kudos
Message 3 of 4
(2,044 Views)

Are you running into any error messages when trying to call one of these specific procedures?

Carolynn V.
Technical Support Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,037 Views)