08-25-2012 06:44 AM
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.
08-27-2012 09:57 AM
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.
08-27-2012 12:19 PM
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
08-28-2012 03:05 AM
Hi,
Thank you, But please could tell me in detail how the versitand gateway connection works.
08-28-2012 09:26 AM
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.