VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting target IP from LabVIEW

Solved!
Go to solution

Hi all,

I'm working on a Workspace Tool to be used by a Veristand project, and I'm writing it using Veristand VIs for LabVIEW.

Now I need to read the Target's IP to which Veristand is connected, which is also hardcoded inside the System Definition File. I know it's unique because I can access channel values and properties using the Workspace VIs, but I can't find a way to get the target's IP address.

Can anyone help?

 

0 Kudos
Message 1 of 5
(3,395 Views)
Solution
Accepted by topic author cbacchiani_ges

Everything that lies into a system definition can be retrieved using the SysDef API.

 

Get NIVS Targets.PNG

Some VIs exist to have an more direct access to some features:

https://forums.ni.com/t5/NI-VeriStand-Add-Ons-Documents/VeriStand-Simple-System-Definition-API/ta-p/...

 

--Eric

Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.

0 Kudos
Message 2 of 5
(3,364 Views)

Thank you! I have indeed solved the problem by using the .NET API of Veristand.

 

 

0 Kudos
Message 3 of 5
(3,362 Views)

Have a look at

c:\Program Files (x86)\National Instruments\LabVIEW 2017\examples\NI Veristand\Workspace\Workspace Tool Example.vi

 

~Jiri

CLA, CTA, CLED

0 Kudos
Message 4 of 5
(3,361 Views)

Thank you Jiri, I found the example but I can't find the IP related bit there.

 

However in that example I see some interesting things, like the built-in references to the SDF and the tree browser.

0 Kudos
Message 5 of 5
(3,354 Views)