10-14-2025 07:49 AM
In a custom Operator Interface, while there are no running tests, I need to run a service sequence to control a mechanical panel lock by pressing a buttton on GUI.
This service sequence has one input ("Action") and one output ("Locked"). The "Locked" parameter is initialized to False before execution.
I can easily run the sequence without process model with the following code (run_sequence.png):
Since I need to log the sequence execution in TS SQL database, in order to trace operator's actions, this solution is not viable because without Process Model the NI_DatabaseLogger.seq is not called.
I can successfully run the sequence with SequentialModel "Single Pass" entry using the TS supplied example "Execute With Process Model.vi" but I don't know how to modify the client MainSequence parameters before execution and read them afterwards.
Reading the manual page:
https://www.ni.com/docs/en-US/bundle/teststand/page/managing-process-model-entry-points.html
was of no help.
Where can I find a code snippet to accomplish this?
Given it is possible, in the end...
Thanks for reading
Raffaello
10-15-2025 03:08 AM
10-15-2025 03:39 AM