NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I read properties of custom controls?

This looks like something I might be able to use, but how can I do this in CVI?
0 Kudos
Message 11 of 13
(1,108 Views)
Hi Steve,
 
To do this in CVI you have to implement SDK. How to do this take a look in your CVI help and search for Windows SDK
The library you need is kernel32.lib
 
 
greetings
 
juergen
--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 12 of 13
(1,098 Views)
Hey Steve,

I also wanted to give you a link to some sample CVI code that uses the UIMessage function to pass messages between TestStand and the Operator Interface.  You can find "LabWindows/CVI Simple Operator Interface with Yield Information" at http://zone.ni.com/devzone/cda/epd/p/id/3550.  You can also find another example using the UImessage callback atHow to Work with UIMessages in TestStand 3.0” (http://zone.ni.com/devzone/cda/epd/p/id/3879).   For this example, please refer to line 168 in TestExec.c.  Remember that UImessage event codes from 1 to 9999 are reserved for TestStand, but 10000 and beyond are user definable (UIMsg_UserMessageBase = 10000).  Please see “Using Default and Custom UIMessages” at http://zone.ni.com/devzone/cda/tut/p/id/4532 to view a refresher on how to make a TestStand Step send a user-defined UImessage event.  I hope this helps!
Best Regards,
Software Engineer
Jett R
0 Kudos
Message 13 of 13
(1,084 Views)