09-06-2012 05:30 PM
This example uses TestStand 2012 and LabVIEW 2012 to demonstrate calling a LabVIEW VIs through dynamic dispatching.
The LabVIEW OOP example included ships with 2012 and can be found in: C:\Program Files\National Instruments\LabVIEW 2012\examples\lvoop\DynamicDispatching
In this example the Call OOP LabVIEW.seq will call the "Get Cargo Capacity.vi" in Vehicle passing both a Vehicle object and a Truck object to show the same behavior.
Running with Single pass a successful run will give you the following output:
"Truck1CargoCapacity = 1, Truck2CargoCapacity= 2, Vehicle3CargoCapacity = 3."
03-11-2013 02:20 AM
can you downgrade this example so it can be use for TestStand 4.5.0 and Labview 8.5.1?
03-11-2013 07:14 AM
TestStand 2012 is the first version of TestStand to support the required Dynamic Dispatch, so you're unfortunately not going to be able to get this in those older versions
03-11-2013 08:07 PM
is there any other example about Labview OOP usage in TestStand enviroment?
I already search around the web but there is none other than this example.
11-28-2016 07:44 AM
very nice example....labview oop and testand running together....