Distributed GPIB-ENET/100 Sample 3
Downloads
Filename: sample3.txt
Requirements: View
This code assumes that we have configured the driver to associate the interface name GPIB0 with the IP address of a GPIB-ENET/100 connected to two instruments. Another machine may try to access the same GPIB-ENET/100 but will be locked out during the critical operations.
All C applications that call NI-488.2 must include a header file and must link in an object. For this example, we will suppose that we are on the Windows XP platform. So, we must include ni488.h located in subdirectories of the install directory. Lastly, for the code below to work with the XP driver, the 32-bit object file Gpib-32.obj must be linked into the project. For more details on using the language interface files specific to your platform, see the documentation included with your NI-488.2.
Requirements
Filename: sample3.txt
Software Requirements
Language(s): C++, C
Hardware Requirements
Hardware Group: GPIB
Hardware Model: GPIB-ENET/100
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/).
