VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Seeking Advice on Custom VI Integration with VeriStand UI

Hello VeriStand Users,

I would greatly appreciate any advice or suggestions you might have regarding my current challenge.


[What I Would Like to Achieve]

  • 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.


[What I Have Tried So Far]

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.

Iniesta_Lujn_1-1750202300828.png

 

 

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


[Questions]

  1. Is there a VeriStand command that allows you to run a LabVIEW VI similar to the right-click "Run" option in the project tree?

  2. 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,

0 Kudos
Message 1 of 3
(208 Views)

Since you want something similar to a batch sequence, why not a Real-Time Sequence?

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
-------------------------------------------------------
https://github.com/ZhiYang-Ong
0 Kudos
Message 2 of 3
(184 Views)

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.

0 Kudos
Message 3 of 3
(174 Views)