From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integrating LV and tclsh

Hello LV'ers,

 

I am new to LV , so far I  have a basic understanding of LV.

I am trying to integrate LV and tclsh, so that I can pass TCL commands and get data back. I did a brief research and found some  have achieved this by using activex control, call function node but no examples on how to do it.

 

I would appreciate help on this !!

 

Thanks,

Varun

 

 

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

Hello Spirit Varun, 

 

I would like to point out this Developer Zone, and the example included in it. Please let me know if this is what you are looking for. 

 

Regards,

 

Izzy O.

Applications Engineer

National Instruments 

0 Kudos
Message 2 of 4
(2,155 Views)

Hi,

 

It shows on how to execute a tcl script from LV, I am looking for on how to keep the tclsh prompt open and send multiple commands and read thier output simultaneously. With this way , I get the total control from LV, and get response from the command instantly not having to wait till the script finishes executing, with this approach everything is integrated in LV which could be part of some other top level routine. In the example approach LV only intiates the script but doesn't keep track or follow after starting to execute the script, I have to manually look at the script results.

 

I am trying to achieve this : http://wiki.tcl.tk/8496

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

Hi

 

I think this forums can help you. In this forum you are going to find other link to different forums that can be useful too.

General information

https://decibel.ni.com/content/docs/DOC-9075

 

Here you can find other links:

http://forums.ni.com/t5/LabVIEW/TCL-labview-activex/td-p/300347

 

http://forums.ni.com/t5/LabVIEW/I-would-like-to-execute-a-TCL-shell-and-issues-commands-to-that/m-p/...

http://ni.lithium.com/t5/LabVIEW/Importing-Labview-DLL-in-TCL/td-p/316676

 

All these discussions should be useful for you.

0 Kudos
Message 4 of 4
(2,111 Views)