02-20-2008 11:47 AM
02-20-2008 09:40 PM
02-21-2008 04:02 AM
If its an option ( and if you have LabVIEW application builder), you can convert the sub VI to a dll and then call the dll (I guess that is possible?)
Vikas
02-21-2008 04:51 AM
02-21-2008 08:23 AM
02-21-2008 08:52 AM
02-21-2008 08:58 AM
02-21-2008 09:18 AM
Hi Dennis,
I'm trying to find which kind of scripts are exist for LabWIEW in order to call subVI(s) inside such scripts? Could you please give me more information about the script TCL?
Is the calling of subVI(s) possible inside such a TCL script?
The backround of my question is that we wont to define a set of test cases (correspond to a subVI(s)) which should be driven via such a script.
Thanks.
02-21-2008 09:36 AM
For information on tcl (Tool Command Language), you can check out http://www.tcl.tk/. I've not used tcl to call LabVIEW VIs but there have been a few posts on it and you can search the forums for 'tcl'.
You can use LabVIEW itself to read a text file which lists the test cases. The LabVIEW program would then execute the VIs. There are a couple of simple test sequencer example programs that ship with LabVIEW. They would require a few modifications to do what you want. Basically, you can use VI server to dynamically call VIs. A shipping example called Plug In Example, shows how this works.
For a very sophisticated 'scripting' tool, you could also consider NI's TestStand (http://www.ni.com/teststand/). Very powerful and very flexible. It comes with built-in tools for report generation, data logging, and much more. You can download an evaluation copy. Also see http://sine.ni.com/devzone/cda/tut/p/id/4262.
02-21-2008 10:46 AM