From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring VI Server for LabVIEW Run-Time Engine Adapter

Solved!
Go to solution

I would like to connect to use the desktop execution trace toolkit to debug LabVIEW code modules using the Run-Time Engine Adapter in TestStand.  How can I configure VI server when using LabVIEW VI's within the LabVIEW Run-Time Engine Adapter for TestStand?

CLA, CTA
0 Kudos
Message 1 of 6
(4,281 Views)

Hi LVB,

 

Thanks for posting in the NI Discussion Forums!

 

I haven't seen any precedent for trying to debug LabVIEW code modules using just the LabVIEW Run-Time Engine. However, I can try to do more research to see if this is possible.

0 Kudos
Message 2 of 6
(4,251 Views)

Hi LVB,

 

If you would like to debug your LabVIEW code you will need to use the Development Engine adapter setting. The Run-Time Engine setting does not support editing or debugging capabilities. The Run-Time Engine is intended for deployment to Test Stations that have no need to edit or debug and only execute the program.

 

For reference, you can read more about the switching of environments and what capabilities they provide here:

 

http://digital.ni.com/public.nsf/allkb/CE431BA1A3B61953862573540078DAD8

 

Regards,

 

James W.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 6
(4,241 Views)

@SerJames wrote:

Hi LVB,

 

If you would like to debug your LabVIEW code you will need to use the Development Engine adapter setting. The Run-Time Engine setting does not support editing or debugging capabilities. The Run-Time Engine is intended for deployment to Test Stations that have no need to edit or debug and only execute the program. 


James,

 

Although the Run-Time engine does not allow editing code, it does support debugging.  There is a need to debug run-time code when it works within the Development adapter but does not work in run-time.  This can be done using VI server and the Desktop Execution Trace Toolkit.  A LabVIEW executable can be configured for VI server using the following link:

 

http://digital.ni.com/public.nsf/allkb/DCFB5E8D9D658F2586257832006093E2

 

 

 

The link above demonstrates how to provide VI Server access for code running in an executable (LabVIEW Run-Time engine ).  How can this be configured for code modules running with a TestStand sequence?

CLA, CTA
0 Kudos
Message 4 of 6
(4,237 Views)
Solution
Accepted by topic author LVB

Have you tried creating seqedit.ini (really <appname>.ini) or similar in the directory of the executable that you are using for the TestStand UI?

 

-Doug

0 Kudos
Message 5 of 6
(4,225 Views)

@dug9000 wrote:

Have you tried creating seqedit.ini (really <appname>.ini) or similar in the directory of the executable that you are using for the TestStand UI?

 

-Doug


Doug,

 

Thanks for the tip, placing a seqedit.ini file with the VI server settings next to seqedit.exe works!

CLA, CTA
0 Kudos
Message 6 of 6
(4,207 Views)