Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Sep 6, 2006


Feedback


Yes No

Related Categories

Related Links - Developer Zone

Related Links - Products and Services

Re-establishing the Connection to a DataSocket Server from an RT Target.

0 ratings | 0.00 out of 5
Print

Downloads

Filename: 201634.llb
Requirements: View

This example program writes to a DataSocket Server from an RT Target (PXI or FieldPoint). If the DataSocket Server is shut down on the host for any reason, this VI will re-establish a connection to the server and continue to write to the DataSocket item that was written to before the connection was lost. You should notice that this example ignores only the error that dictates that the server is not present, meaning that when the server is present, the VI will reestablish the connection and write to the DataSocket item.

To use these VIs:

1. Download "DS Writer on Target.vi"
2. Make sure the IP address control is set to the IP address of the host machine running the DataSocket Server
3. Run the VI, you should notice that your VI will run fine without showing any errors
4. Switch your execution target back to your host machine
5. Open and run "DS Reader on Host.vi." This VI will automatically launch the DataSocket Server on your host
6. You can switch your execution between your host and target with, and without, the DataSocket Server and you will notice that the VI on the target will continue to run

Requirements


Filename: 201634.llb

Software Requirements


Application Software: LabVIEW Full Development System 6.1
Toolkits and Add-Ons: LabVIEW Real-Time Module, LabVIEW Real-Time Module 6.1
Language(s): LabVIEW

Hardware Requirements


Hardware Group: FieldPoint

 
0 ratings | 0.00 out of 5
Print

Reader Comments | Submit a comment »

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).