VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display TestStand Variables in VeriStand Workspace

How can I display local variables (numerics and strings) available in TestStand on the VeriStand workscreen?

 

With the VeriStand .NET API it is possible to set UserChannels from TestStand.

But what about Strings? I want to display a string variable "serial number" (available in the locals section in TestStand) on the VeriStand Workspace.

Is it necessary to build a "custom control" that can include VIs like "TestStand - Get Property Value"? This VI needs "sequence context ref" as input.

How can I create this reference?

The TestStand sequence is running and at the same time I want the current values displayed in VeriStand.

What is the usual way to to this task?

0 Kudos
Message 1 of 4
(3,053 Views)

Hi thobrehomas, I also think you need to build a custom workspace object.

NI VeriStand cannot handle string data inside itself so, you need to implement the feature. I believe creating Custom Workspace object isn't so difficult : - D

Creating Custom Workspace Objects for NI VeriStand

 

If you have a question related to this thread, please feel free to ask us!!

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 2 of 4
(3,023 Views)

Thank you for your answer.

The more challenging part is to get the TestStand Variables in the Custom Control in VeriStand.

Any ideas how to realize this task? 

 

While the sequence file in TestStand is running I want the current values displayed on the VeriStand Workspace.

Also If these values in TestStand change I want the new values in the VeriStand Workspace.

 

0 Kudos
Message 3 of 4
(3,005 Views)

Hi tbrehomas, I think this example is very useful for you!

Update FileGlobal Values Without Executing the Sequence File - NI Community 

 

Following code shows us how to write (or read) value to FileGlobals.

 

fileglobals.PNG

Certified LabVIEW Developer
There are only two ways to tell somebody thanks: Kudos and Marked Solutions

GCentral
0 Kudos
Message 4 of 4
(2,973 Views)