beautypg.com

Pressure/strain gage, Setgagetare, 4 pressure/strain gage – Sensoray 118 User Manual

Page 27

background image

Sensoray Model 118 Smart A/D™ Instruction Manual

25

Commands: Pressure/Strain Gage

6.4 Pressure/Strain Gage

6.4.1 SetGageTare

Tares the strain/pressure gage connected to a single
channel. The

SetGageTare

command may be used to

compensate for the weight of an empty container prior to
measuring the container when it holds some substance.

Before invoking this command, the gage channel should
be calibrated. See the

SetGageZero

and

SetGageSpan

commands for details.

Driver

// Tare the gage on the specified channel.

VOID SetGageTare( USHORT BasePort, UCHAR Channel )

{

SendByte( BasePort, Channel | CMD_SET_GAGETARE );

}

Example

// An empty truck must be tared prior to loading. The truck scale

// is measured by means of a load cell connected to channel 7. Channel 7 has

// been previously calibrated using the SET GAGE ZERO and SET GAGE SPAN

// commands.

SetGageTare( MyBasePort, 7 ); // tare the empty truck

Command: (112 + Chan)

Response:

None

This manual is related to the following products: