Functions Reference
35
Example
The following example checks whether relay at group A, row 0, relay 3 is closed:
Gx6384GetChannel(nHandle, GX6384_GROUP_A, GX6384_ROW_0, 3, &nState, &nStatus);
if (nClose==1)
printf(“A0
-3 relay is clos
ed”);
else
printf(“A0
-
3 relay is open”);
See Also
Gx6384SetGroupRow32Columns, Gx6384SetGroupRow64Columns, Gx6384GetChannel, Gx6384Close,
Gx6384Open, Gx6384SetGroupsConfiguration, GxSWGetErrorString
Summary of Contents for GX6384-1
Page 2: ......
Page 7: ...GX6384 User s Guide v Index 55 ...
Page 8: ...vi GX6384 User s Guide ...
Page 36: ...28 GX6384 User s Guide ...