Sample Programs

The following example demonstrates how to program the board using the C programming language under Windows. The example shows how to get or set a group or channel voltage.

To run, enter the following command line:

GxSmuExample <Slot> <operation> <group> <channel> <voltage>

Where:

<Slot>
Board PXI Slot number where the board resides.
<Channel>
Channel number:
GX3104:0 to 3
GX3116e:0 to 15
<Operation>
Operation code:
CVol=Constatnt voltage
CCur=Constatnt Current
< Settings >
(GX3104)
Voltage Setting|Limit> : (+/-20V)
Current Setting|Limit> : (+/-25mA)
(GX3116e) :
Voltage Setting|Limit> : (-2.0V to +10.5V)
Current Setting|Limit> : (+/-25.6mA)