Setgagezero – Sensoray 118 User Manual
Page 28

Sensoray Model 118 Smart A/D™ Instruction Manual
26
Commands: Pressure/Strain Gage
6.4.2 SetGageZero
Informs the Smart A/D that there is presently no load
applied to the target channel’s gage. The Smart A/D
registers this condition and uses it as a reference for all
subsequent measurements on the target channel.
Typically, this command is executed just before invoking
the
SetGageSpan
command. Acting together, the
SetGageZero
and
SetGageSpan
commands serve to
completely calibrate a gage channel.
Driver
// Issue a Set Gage Zero command for the specified channel.
VOID SetGageZero( USHORT BasePort, UCHAR Channel )
{
SendByte( BasePort, Channel | CMD_SET_GAGEZERO );
}
Example
See the programming example shown for the SetGageSpan command.
Command: (176 + Chan)
Response:
None