Sample Program

The basic usage and skill in common use are provided as sample programs attached source code.
The sample programs are made as simple as we can, so please use those effectively in programming.

Folder Construction

The sample programs construction is as follows in the folder that API-GPIB(LNX) is installed.

User Directory/contec/cgpib
      |
      |________samples
                 |
                 |_______console     :  console samples
 

Sample programs are saved as following construction.

console directory
      |
      |________Master
      |
      |________Slave
      |
      |________MultiMeter

Contents of Sample Programs

Console Samples for GPIB Communication

Master

The sample acting as Master (controller). Transmitting/receiving data, polling and trigger function can be performed.

Slave

The sample acting as Slave (non-controller). Transmitting/receiving data and sending SRQ function can be performed.

MultiMeter

The sample communicating with MultiMeter.