User Manual

CHAPTER 9. BIN 23
9.10 BIN:ENABle
Description Enable or disable bins. The parameter of this command represents each
of the bins as a bit. The parameter is a decimal representation of the bits.
Command Syntax BIN:ENABle <nr1>
Parameters Model 2840: has 3 bins, so the range of values is 0-7.
bin # 2 1 0
bit # 3 2 1
decimal 4 2 1
To determine the parameter, add the decimal values for each bin desired.
Example: Bins 1 and 3
<nr1> = 1 + 4 = 5
Model 2841: There are 10 bins encoded using 10 bits.
bin # 9 8 7 6 5 4 3 2 1 0
bit # 10 9 8 7 6 5 4 3 2 1
decimal 512 256 128 64 32 16 8 4 2 1
Example: Bins 10,9,4,3,2,1 enabled
<nr1> = 512+256+8+4+2+1 = 783
Example bin:enable 783
9.11 BIN:RESult
Description Retrieves the lowest (in the event of multiple qualifying bins) number
matching bin if any. The return value is encoded in the same style as
the BIN:ENABle (section 9.10) command. That is, the bin result will be
the decimal representation of the bin bit.
Note In the event that 2 or more bins contain the value measured, the lowest
number bin will determine the result.
ery Syntax BIN:RESult?
Returned Parameters Model 2840:
bin # 2 1 0
bit # 3 2 1
decimal 4 2 1
Model 2841:
bin # 9 8 7 6 5 4 3 2 1 0
bit # 10 9 8 7 6 5 4 3 2 1
decimal 512 256 128 64 32 16 8 4 2 1
Example: return value is 4
A return value of 4 matches the decimal value for Bin 2, the bin found to
match.
Example: return value is 256
A return value of 256 matches the decimal value for Bin 8, the bin found