Jump to content

Tcl Interpreter for LabVIEW


Recommended Posts

I know that Test Stand supports Tcl scripts, but I have a need for using the capabilities of Tcl with LabVIEW.

For example, for a test system I am currently working on, I would like to control the entire application with LabVIEW, use Tcl for script-driven control and monitoring of NI PXI DAQ.

It would be nice to have a Tcl Interpreter library for LabVIEW, just like how there is a MatLAB, Hi-Q and even the formula node.

Link to comment

There is LuaVIEW (http://www.citengineering.com/LuaVIEW/index.html) if you need a scripting language (Lua) but do not need TCL in particular.

Note that when tying a scripting language to LabVIEW, a diagram node containing code is the last thing you'd want to use for specifying scripts: such code cannot be changed once your application is running. That defeats half the point of using an interpreter or a compiler/VM pair (the other half being control over execution).

Link to comment
  • 1 year later...
  • 7 years later...

I was involved in a telescope control project that used Tcl heavily. Mostly we just used Call Library nodes and passed the items back and forth between Tcl/Tk and LabVIEW. It was reasonably fast and very reliable after the kinks were worked out.

Hi Mike,

Can you describe how did you do it , like how on using call function node to pass data back & forth between tcl and LV. I am currently stuck here.

I would appreciate your help and if you could give a small ex , will be nice,

Thanks,

Varun

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.