Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Find instruments using GPIB-ENET 100 using C code

I recently purchased two GPIB ENET 100 for use in the laboratory where I work. Meanwhile the software used to  obtain data processing and is the MatLab. I have noticed that the functions for communication with the devices GPIB (ibrd, ibwt, ...) can be used in code C. Meanwhile the examples I used felt that the equipment GPIB ENET 100 were already set, including the bus. I wonder if there is
a manual or instance in which the communication via TCP-IP with the GPIB ENET 100 is conducted entirely through the code C.   

adolfo@cpqd.com.br


0 Kudos
Message 1 of 2
(3,322 Views)
 
First you'll have to make sure that the GPIB-ENET/100 is confiured properly. Refer to Chaptor 2 and 4 of this manual:
 
 
Afterwards run the Diagnostic Utility again.
 
For your C application, you must include the NI-488.2 header file in your source code. The Ni-488.2 is accessed through the 32-bit DLL, gpib-32.dll.

Several sample GPIB applications are included with ni-488.2. Use those as a guidefor your own application development.
 
More information about each NI-488 function can be found on the link below:
 
 
Dario Camargo
NI Brazil
#1162735
0 Kudos
Message 2 of 2
(3,290 Views)