02-17-2021 02:23 AM
Hi everyone!
I want to execute a parallel test on 2 UUTs in teststand.
In normal cases we enter serial number of UUTs and click on "Ok" button (In UUT Information box) to start the test.
but now I need to start the test through pressing a push button ( I have the modbus connection via my PLC and teststand and I can read the push button status via Teststand) But I don't know how to access to the Ok" button programmatically..
Thank you in advance
Eric.
Solved! Go to Solution.
02-18-2021 07:36 PM
What I would do is replace the PreUUT callback with custom code that prompts the user for the two serial numbers. Another code module would then prompt the user to press the button while polling the button status.
02-19-2021 02:22 AM
Hello Eric,
Refer to the shipping examples: https://zone.ni.com/reference/en-XX/help/370052AA-01/tsexamples/infotopics/executing_sequences_using...
02-21-2021 05:30 AM
Thank you for replies 🙂
I get that it's possible to delete the default code in different file CallBacks in teststand and replace them with custom code.
also checking the examples in the directory of the teststands help a lot to understand the general concept
C:\Users\Public\Documents\National Instruments\TestStand 2019 (64-bit)\Examples\Modifying Process Models\Overriding Model Callbacks - Parallel Model