03-19-2014 11:31 AM
Hello,
I am trying to use the CVI function TS_StationOptionsGetExecutionMask to modify execution mask properties programatically. When I try and run the user interface I get an error "No such interface supported".
What object handle shouold be used with this function?
What context is it in?
I have tried the Engine handle, the Application Manager handle, etc. Always the same error.
There is a very serious lack of information on NI's part. There is plenty of help about classes and properties, but the help and information on methods and specifically the TestStand library functions for Labwindows/CVI is non-exsistent. Plenty of Labview help out there on using classes and manipulating properties and such, but zilch the NI's forgotten step-child LabWindows!
Solved! Go to Solution.
03-19-2014 12:10 PM
If anyone looks at this I solved my problem with the function TS_EngineGetStationOptions to get the handle of the StationOptions Object.
03-20-2014 07:57 AM - edited 03-20-2014 07:58 AM
That's good to know. Usually the forum posts get reviewed by someone after 24 hours of posting unless there are additional posts made. Glad to know you got this up and running.
05-15-2014 04:00 PM
Hey John,
We have a whitepaper on using the TestStand API in LabWindows/CVI that you might find useful. It describes the process of passing the SequenceContext into a CVI code module and then explains the structure of properties and methods in CVI, as well as what types of object references are needed for various function calls. Using the TestStand API in CVI is a bit different from using it in LabVIEW and .NET, since C does not natively support objects. However, once you become familiar with the structure of the API in CVI, it should become a bit easier to navigate and use.
I hope this helps, and please let us know if you have any more questions about it!
05-16-2014 08:10 AM
Thank you Daniel!
I will read through that white paper.