Sample Programs

The following example demonstrates how to program the board using the C programming language under Windows. The example shows how to close or open a relay.

To run, Enter the following command line:

GxSwExampleC <Model> <Slot> <specific_command>

Where:

<Model>
Enter one of the following: 6021, 6062, 6115, 6125, 6138, 6196, 6264, 6315, 6325, 6338, 6377, 6384, 6616
<Slot>
Slot number where the board is installed. For example : 3
<specific_command>
Depends on the model, see comments in the beginning of the sample listing.