VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmatically change Workspace/System Definition

Hello,

 

I wonder if there is a way to change the settings/contents of the VeriStand system definition and workspace screen programmatically.

For the workspace, is it possible to

- add/remove controls indicators?

- connect channels with controls/indicators?

 

For the system definition, is it possible to

- create/modify channels?

- add (existing) custom devices?

- connect inputs/outputs of custom devices with channels in system definition?

 

I am thinking of either a kind of scripting, or LabVIEW VIs.

Is there anything available?

 

Thanks,

 

Christian

0 Kudos
Message 1 of 4
(6,183 Views)

Hi Christian,

 

for both option there is labview API's to manipulate the workspace and sys def.  For the Sys Def check out the VeriStand Simple System Definition API by Daniel E.

https://decibel.ni.com/content/docs/DOC-26812

 

I have used the Addon and some modifed version of it to modify existing Sys Defs.  I haven't used the Work Space APIs, but you have to use them off line.

 

Good Luck,

Josh

 

 

 

0 Kudos
Message 2 of 4
(6,172 Views)
There are in fact not any functions to script workspace screen files unfortunately. You have to do this manually.
Jarrod S.
National Instruments
0 Kudos
Message 3 of 4
(6,141 Views)
There are in fact not any functions to script workspace screen files unfortunately. You have to do this manually.
Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(6,140 Views)