background image

C7557-01 DLL INSTRUCTION MANUAL 

10 

HAMAMATSU PHOTONICS K.K. 

5-5  AMP GAIN CONTROL 

Controls the gain for the sensor output amp in the MCD controller. The return values are 1 
with normal completion, and other than 1 with an error. The amp gain status may be 
obtained as the return value for the function. 

 

 Function name 

WORD  SetAmpGain(ID, AmpGain); 
WORD  GetAmpGain(ID); 

 

 Format 

WORD  SetAmpGain(WORD, WORD); 
WORD  GetAmpGain(WORD);

 

 

 Arguments 

ID 

 

USB ID number 

 

 

Specify MCD controller USB ID number 

AmpGain 

Set amp gain (Low/Middle/High) 

 x1/2

0 x1

1 x2

2 x5

 x10

4 x20

5 x50

6 x100

 

 Return code 

For amp gain control 

Same as for CheckSensor function 

Status acquisition 

 

0

x1/2 1

x1 2

x2 3

x5  

 

4

x10 5

x20 6

x50 7

x100 

Summary of Contents for C7557-01

Page 1: ...81 53 434 5184 MCD CONTROLLER C7557 01 DLL INSTRUCTION MANUAL Be sure to read the operation manual carefully before the product is used If operated differently from the standard procedure in the manua...

Page 2: ...ns could lead to personal injury to the user or damage to property Note This symbol indicates a note to help you get the best performance from the system Read the contents of the note carefully to ens...

Page 3: ...requirements System requirements The system requirements for this software are as follows Type of computer PC AT compatibles OS Windows 98 Me 2000 XP Vista 7 32bit Memory 128 MB or more More than 512...

Page 4: ...When you open the package check that the following items are included before use If the contents are incorrect insufficient or damaged in any way contact Hamamatsu subsidiary or local distributor with...

Page 5: ...CONTROL 14 5 10 PULSE OUT CONTROL 15 5 11 DELAY TIME OF PULSE OUT CONTROL 16 5 12 PULSE WIDTH OF PULSE OUT CONTROL 17 5 13 POLARITY OF PULSE OUT CONTROL 18 5 14 SENSOR TYPE CONTROL 19 5 15 NUMBER OF P...

Page 6: ...o the development project Moreover since the function name of the library is described by header file include the file to the program The list of the files in a CD ROM is shown below DLL for controlli...

Page 7: ...EVICE Initialization of MCD device driver Call only at once before using all other functions Then the driver detects all USB devices and acquires USB identification number Function name WORD StartDevi...

Page 8: ...ler is connected If devices are connected the return value represents the number of devices connected The return value is 0 if no devices are connected Function name WORD ScanSensor Format WORD ScanSe...

Page 9: ...01 An error is returned in other cases Function name WORD CheckSensor ID Status Format WORD CheckSensor WORD SENSOR_STATUS Arguments ID USB ID number Specify the USB ID number of the connected device...

Page 10: ...status information is returned in the argument The selected controller ID is returned with normal completion and 0xffff 1 is returned in the case of an error Function name WORD SelectSensorUnit Status...

Page 11: ...ay be obtained as the return value for the function Function name WORD SetAmpGain ID AmpGain WORD GetAmpGain ID Format WORD SetAmpGain WORD WORD WORD GetAmpGain WORD Arguments ID USB ID number Specify...

Page 12: ...nction Function name WORD SetADType ID ADType WORD GetADType ID Format WORD SetADType WORD WORD WORD GetADType WORD Arguments ID USB ID number Specify MCD controller USB ID number ADType Set A Dconver...

Page 13: ...turn value for the function Function name WORD SetTriggerMode ID TriggerMode WORD GetTriggerMode ID Format WORD SetTriggerMode WORD WORD WORD GetTriggerMode WORD Arguments ID USB ID number Specify MCD...

Page 14: ...with an error The delay time status may be obtained as the return value for the function Function name WORD SetDelayTime ID DelayTime WORD GetDelayTime ID Format WORD SetDelayTime WORD WORD WORD GetD...

Page 15: ...ained as the return value for the function Function name WORD SetTriggerPolarity ID TriggerPolarity WORD GetTriggerPolarity ID Format WORD SetTriggerPolarity WORD WORD WORD GetTriggerPolarity WORD Arg...

Page 16: ...tatus may be obtained as the return value for the function Function name WORD SetShutterControl ID ShutterControl WORD GetShutterControl ID Format WORD SetShutterControl WORD WORD WORD GetShutterContr...

Page 17: ...d as the return value for the function Function name WORD SetShutterDelayTime ID ShutterDelayTime WORD GetShutterDelayTime ID Format WORD SetShutterDelayTime WORD WORD WORD GetShutterDelayTime WORD Ar...

Page 18: ...return value for the function Function name WORD SetShutterDurationTime ID ShutterDurationTime WORD GetShutterDurationTime ID Format WORD SetShutterDurationTime WORD WORD WORD GetShutterDurationTime W...

Page 19: ...return value for the function Function name WORD SetShutterPolarity ID ShutterPolarity WORD GetShutterPolarity ID Format WORD SetShutterPolarity WORD WORD WORD GetShutterPolarity WORD Arguments ID USB...

Page 20: ...function Function name WORD SetSensorType ID SensorType WORD GetSensorType ID Format WORD SetSensorType WORD WORD WORD GetSensorType WORD Arguments ID USB ID number Specify MCD controller USB ID numb...

Page 21: ...SetSensorVch ID SensorVch WORD SetSensorHch ID SensorHch WORD GetSensorVch ID WORD GetSensorHch ID Format WORD SetSensorVch WORD WORD WORD SetSensorHch WORD WORD WORD GetSensorVch WORD WORD GetSensorH...

Page 22: ...ingVch ID SummingVch WORD SetSummingHch ID SummingHch WORD GetSummingVch ID WORD GetSummingHch ID Format WORD SetSummingVch WORD WORD WORD SetSummingHch WORD WORD WORD GetSummingVch WORD WORD GetSummi...

Page 23: ...Set mode of the sensor head C806x series High Gain 0 Low Gain 1 NOTE Be sure to make the following settings When using a CCD sensor head operation mode control Area scanning 0 Line binning 1 When chan...

Page 24: ...the return value for the function Function name WORD SetExposureTime ID ExposureTime WORD GetExposureTime ID Format WORD SetExposureTime WORD WORD WORD GetExposureTime WORD Arguments ID USB ID number...

Page 25: ...status may be obtained as the return value for the function Function name WORD SetPeltierControl ID PeltierControl WORD GetPeltierControl ID Format WORD SetPeltierControl WORD WORD WORD GetPeltierCon...

Page 26: ...tier power voltage status may be obtained as the return value for the function Function name WORD SetPeltierPower ID PeltierPower WORD GetPeltierPower ID Format WORD SetPeltierPower WORD WORD WORD Get...

Page 27: ...WORD GetTemperature WORD Arguments ID USB ID number Specify MCD controller USB ID number Return code The temperature monitor status is returned as a value with 10 bit precision between 0 and 1023 Temp...

Page 28: ...berOfCycle Data Format WORD GetProfile WORD WORD WORD Arguments ID USB ID number Specify MCD controller USB ID number NumberOfCycle Number of continuous scan of the sensor Data Buffer area in which da...

Page 29: ...Function name WORD SetPixelClockTime ID PixelClockTime WORD GetPixelClockTime ID Format WORD SetPixelClockTime WORD WORD WORD GetPixelClockTime WORD Arguments ID USB ID number Specify MCD controller U...

Page 30: ...U PHOTONICS K K 5 24 END USB DEVICE Execute when the connection with MCD controller is end Then USB devices are released Function name WORD EndDevice Format WORD EndDevice Arguments None Return code 0...

Page 31: ...ssign or grant any rights to the user and Hamamatsu retains all rights relating to this software and instruction manual 6 2 SCOPE OF USAGE RIGHTS Hamamatsu grants the user non exclusive rights to use...

Page 32: ...limited to the contents of this software user agreement Hamamatsu shall not be liable to provide compensation for any damage or loss resulting from using this software including direct indirect or in...

Reviews: