Retrieving All Test Values - Keysight Technologies BT2152B Operating And Service Manual

Self-discharge analyzer
Table of Contents

Advertisement

INITiate:TEST:OCV measurement and query sequence
The following initiates an open-circuit voltage test and returns the measured open-circuit voltage.
INITiate:TEST:OCV 4.2, 2.8, 0.001, 1, (@1:16)
While(SENSe:OCV:AVAIlable? == 0) \\ wait for data to become available
Sleep(1000);
FETCh:VOLTage:OCV? (@1:16)
INITiate:TEST:MATCh measurement and query sequence
The following matches the cell open-circuit voltage, initiates a test sequence, and returns the latest
current and voltage measurement.
CALibration:WIRE:RESistance:INSitu (@1:16)
INITiate:TEST:MATCh 75, 4.2, 2.8, 1, 0.125, 0.0001, 0.001, (@1:16)
While(SENSe:TTIMe:REMaining? > 0) \\ wait for test to finish
Sleep(1000);
FETCh:VOLTage:LATest? (@1:16)
FETCh:CURRent:LATest? (@1:16)
Performing an in situ wiring resistance calibration immediately before the self-discharge
measurement is recommended in order to obtain the best measurement results.

Retrieving all test values

One command returns all test values from all specified cell channels. You can first query the number
of available measurement points. Then retrieve the measurements.
FETCh:CURRent:LOG:POINts? \\ returns the number of available points
FETCh:CURRent:LOG? 100, (@1:16)
This command retrieves 100 current measurements from channel 1 to 16. The readings are returned
sequentially in channel groups (i.e. x,x,x,x,x,x,x,x, ... y,y,y,y,y,y,y,y, ...) where x represents all the
measurements for channel 1, y represents all the measurements for channel 2 etc.
Measurement array query and retrieval
The intent here is to query how many points are available, then use that information to query UP TO
200 but not more than the number of points available per channel. If the FETCh command is sent
immediately after the INITiate:TEST command is sent, there may be no data to fetch for quite a while.
numCurrPointsPerChannel = 200;
numCurrPointsPerChannel = min( numCurrPointsPerChannel ,
FETCh:CURRent:LOG:POINs? )
FETCh:CURRent:LOG? numCurrPointsPerChannel, (@1:16)
Keysight BT2152A/B Operating and Service Guide
4 Programming Reference
57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Bt2152a

Table of Contents