06-17-2025 06:20 PM
Hello VeriStand Users,
I would greatly appreciate any advice or suggestions you might have regarding my current challenge.
Develop a custom VI to control VeriStand I/O, functioning similarly to a batch sequence.
Integrate this custom VI into the VeriStand UI screen for end-user interaction.
1. Creating an EXE using the Workspace API and calling it from the UI action button
This approach works, but there is a noticeable delay of a few seconds during execution.
The delay appears to be due to the need to launch a separate LabVIEW runtime environment.
2. Building the same VI as a source distribution and adding it to the VeriStand project (executed from the project tree)
This method executes quickly since it runs within the VeriStand runtime engine.
However, I was unable to invoke it directly from the VeriStand UI screen.
2.1. Attempted to invoke the VI via command line
Since the VeriStand UI screen's action buttons only support .exe, .bat, or .nivsseq (Real-Time Sequence) files, I tried launching the VI using a command-line call.
I attempted to use the openFile command, but unfortunately, it did not work as expected.
Reference: Running VeriStand Operations Using the Command Line
Is there a VeriStand command that allows you to run a LabVIEW VI similar to the right-click "Run" option in the project tree?
Are there any recommended best practices for integrating custom workspace functionality into the VeriStand UI screen?
Note: I’m aware that the legacy Workspace UI provided extensive capabilities for embedding custom LabVIEW code.
Any advice or insights would be greatly appreciated.
Thank you and best regards,
06-18-2025 07:44 AM
Since you want something similar to a batch sequence, why not a Real-Time Sequence?
06-18-2025 04:30 PM
Hello ZYOng
thanks very much for your comment.
Real-Time Sequence good for simple batch sequence.
But LabVIEW give more flexibility and ease of manage for me.