DataCaptor Device Interface Help
DataCaptor Device Interface Help
The SendCommand() method sends Test Selection Information to the DDI. The DDI stores all test selection information, so when
the Hitachi device asks for information, the DDI may reply to it if the information has been stored. Test Selection Information
indicates what tests are to be made by the device on a given sample. A sample is referenced by an identification number when the
bar-code reader is used and by sample, disk and position numbers otherwise.
NOTE: You can download a sample VB program demonstrating the use of the SendCommand() method with the Hitachi 917.
Max
Field Type Description
Length
Sample
Numeric 5
No
Disk No Numeric 5
Position
Numeric 3
No
Sample
Numeric 1
Cup
Ident No String 13
AAAC (C=unit: 1=day, 2=month,
Age Numeric 4
3=year). Currently not used.
0=none, 1=male, 2=female. Currently
Sex Numeric 1
not used.
Date Numeric 6 MMDDYY. Currently not used.
Time Numeric 4 HHMM. Currently not used.
Channel Number of channels in Test Request,
Numeric 3
Count max: 88. Mandatory
Test
Numeric 88 0 to 4 for each character. Mandatory
Request
Example: “1\n1\n2\n1\n\n\n\n\n\n3\n114\n”
“\n\n\n\n000480\n\n\n\n\n2\n01\n”
VarIds 464 (Frame Type) and 178 (Sample Type) indicate the start of a data frame.
It is important to know the type of a data frame, since varIds variables are not specific to a particular frame, and their meaning is
sometimes determined by the frame.
Sample Type value gives the type of data that follows, except for Test Selection Information: In this case, Frame Type is character
‘;’.
The data frames for photometry assay calibration, ISE calibration, channel assignment, contains vectorized data: the same variable
is used to contain several values. Sometimes the number of values is implied, sometimes the number is given by a variable.
The 917 analyzer does not return units of values or ranges of values.
Result Data
The more important and common data frame is the Result Data frame. The Hitachi 917 returns a result for each of the 100 possible
tests applied to a given sample. Not all the tests are made, it depends on the Test Selection Information associated to a given
sample.
There is one variable for each test result, and one variable for each alarm associated to a test. Sample Type is ‘A’ to ‘E’ when a
barcode reader is used, each sample is referenced by its identification number. Sample Type is ‘N’ to ‘R’ when the barcode reader
is not used, each sample is referenced by a sample, a disk, and a position number.
Values of varIds 179,180,181,182,177,183 are repeated several times. Number of times is given by varId 174.
Values of varIds 387,388, 389, 390, 391, 392, 393, 394 are repeated three times.
First time for Na, second for K, third for Ca. Values of varId 177 are repeated as three series of nine values.
First series applies to Na, second to K, third to Ca.
The following table shows the meaning of each varId in the sent sequence.
Values of varId 396 are repeated several times. Number of times is given by varId 174.
DB9 to DB9
DB9 to DB25
DB9 to DB9
DB9 to DB25
(Source: Roche)
For testing purposes the VB Hitachi App is recommended for this device.