Description of Functions
102
CT440
Configuration Functions
CT440_CmdLaser
Applicability
All models of CT440.
Description
This function enables you to control a laser connected to the
computer via GPIB. It sets the wavelength, power and state
(enable/disable).
Declaration
int32_t CT440_CmdLaser(uint64_t uiHandle,
rLaserInput eLaser,
rEnable eEnable,
double dWavelength,
double dPower);
Parameters
uiHandle
Handle returned from
CT440_Init
Type: Input
Data type: unsigned int64
eEnable
Enables/Disables the laser output.
Possible values: see
Type: Input
Data type: rEnable
eEnable
Enables/Disables the laser output.
Possible values: see
Type: Input
Data type: rEnable
dWavelength
Laser wavelength to set in nm.
Possible values: depend on the laser’s wavelength range.
Type: Input
Data type: double
dPower
Laser power to set in mW.
Possible values: depend on the laser’s power specifications.
Type: Input
Data type: double
Return value
0: the operation succeeded.
-1: the operation failed.
Data type: int32
Example
CT440_CmdLaser(uiHandle,LI_1,ENABLE,1500.0, 1.0);
Summary of Contents for CT440 Series
Page 1: ...User Guide CT440 Passive Optical Component Tester www EXFO com...
Page 6: ......
Page 30: ......
Page 96: ......
Page 162: ......