Programmatically Disable a Target in System Definition

Updated Nov 28, 2019

Reported In

Software

  • VeriStand

Issue Details

I have several Real-Time Targets in a one System Definition File. Is it possible to programmatically Disable one of the targets in LabVIEW? Are there any APIs or Property Node to disable the targets in LabVIEW? 

I can do it in VeriStand as shown below. I need to do the same steps in LabVIEW. 

Solution

You can use DisableTarget property Node as shown below. 
You can set this property node to True to disable the target.

If you want see more details about System Definition API, please refer the related links below.

Additional Information

DisableTarget Property

You can Gets or Sets the Boolean flag indicating whether a target is disabled. 
Namespace : NationalInstruments.VeriStand.SystemDefinitionAPI