VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

versitand api error

HI,

 

         I have a problem connecting veristand through labview. I have the veristand engine running on NI PXI 8108 embedded controller and i need to access the veristand engine through the Veristand api using labview. The used the example delpoy and read multiple channels.vi which is loacted in labview. I changed the ip adress from local host to the adress of the Veristand engine running on PXI 8108 (192.168.0.2). But i'm getting an error. Please help me if there's any other alternative procedure to connect or how to exactly connect the PXI 8108 through the labview. I'm using labview 2011 and VS 2011 sp1.

0 Kudos
Message 1 of 5
(5,846 Views)

Can you connect to your RT using Measurement and Automation  (MAX)?  You can see what your system is doing through MAX.  Are you running the Veristand workspace when you are using the API's? The API's need to have Veristand running on your host as well as your RT. 

0 Kudos
Message 2 of 5
(5,823 Views)

Hi,

 

I don't know which call you're making but you most likely should connect to the VeriStand Gateway instead of the the VS Engine.

 

Flo

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

Hi,

 

 

       Thank you, But please could tell me in detail how the versitand gateway connection works.

0 Kudos
Message 4 of 5
(5,797 Views)

The VeriStand API's that are used in Labview talk to the RT system through the Veristand Gateway.  The Veristand gateway is started automatically when you lanch Veristand (evern without entering a VerisStand project).  So the steps are launch Veristand and deploy your project to the RT system.  Lanuch Labview, use the Veristand API's to open a connection to the workspace, then you can read and write to any channel on your RT system through Veristand.  You can also deploy your RT project through Labview with the API's, but lets get you up and running first.  you should be able to use the default value of localhost when creating the workspace API connections.

0 Kudos
Message 5 of 5
(5,788 Views)