Installation; Checking Connected Devices - Hamamatsu C7557 Instruction Manual

Mcd controller
Table of Contents

Advertisement

HAMAMATSU

Checking Connected Devices

Description
Check that MCD controllers are connected for the specified SCSI ID
numbers. The status information is returned in the argument if a device is
connected. If devices are connected the return value is 1. If no device is
connected the return value is 0x1001. An error is returned in other cases.
Function Name
WORD CheckSensor(ID, Status)
Format
WORD CheckSensor(WORD, SENSOR_STATUS*);
Arguments
ID ・・・・・・・ SCSI ID number
Status ・・・ MCD controller status information.
typedef struct tag_SENSOR_STATUS
{
} SENSOR_STATUS;
Return Values
0x01
0x02
0x03
0x04
0x80
Specify the SCSI ID number of the connected device to be
checked.
Specify the pointer for the SENSOR_STATUS structure.
int nSensorType;
int nHPixel;
int nVPixel;
int nADType;
Normal completion
SCSI request cancelled by host
SCSI request could not be executed
SCSI request terminated by an error
Invalid request
HAMAMATSU PHOTONICS K.K.
- 29 -
MCD CONTROLLER C7557
Chapter 2 Software Library
/* sensor type */
/* number of horizontal pixels */
/* number of vertical pixels */
/* A/D type */

Advertisement

Table of Contents
loading

Related Products for Hamamatsu C7557

Table of Contents