I have a customer that has an existing tk/tcl database. I have never worked with this database before and was wondering if anyone who had, could make a few comments or direct me to some information about this type of database. I would appreciate it.
The only tk/tcl I've heard of is the tk/tcl sripting language. Tcl is the scripting part and tk is an extesnion for x windows. It would make sense if someone had a database of tcl scripts for performing tests but a quick search of Google only showed references to connecting to various databases using a tcl script.
I have attached a small example of how to call Tcl scripts using the System Exec.vi.
This example demonstrates one method of invoking Tcl scripts from LabVIEW. It uses the System Exec.vi and string functions to invoke the wish interpreter and pass command line arguments.
LabVIEW Files: Run Tcl Script.vi: This VI runs Tcl scripts by invoking the wish interpreter and passing command line arguments to the script using string functions.
Tcl Files: Tcl_Dir.tcl: A Tcl script that creates a new directory in the current directory. The name of the directory is taken from the first command line argument. A text file is created in the new directory with the same name as the directory. Tcl_Reverse_String.tcl: A Tcl script that takes in a string as a command line argument, reverses it, and prints it to standard out. Tcl is required to be installed on your system for this example to work. It can be downloaded from http://www.tcl.tk