DMD

Stg_DMD_AppendRoiAsPattern, Stg_GetDMDActivePatternId, Stg_GetDMDAssociatedLightId, Stg_GetDMDAssociatedShutterCount, Stg_GetDMDAssociatedShutterId, Stg_GetDMDAssociatedShuttersOpenState, Stg_GetDMDAssociatedSwitcherId, Stg_GetDMDAssociatedSwitcherPosition, Stg_GetDMDCalibrated, Stg_GetDMDDeviceCount, Stg_GetDMDDeviceName, Stg_GetDMDPatternCount, Stg_GetDMDPatternId, Stg_GetDMDPatternIdByName, Stg_GetDMDPatternName, Stg_SetDMDActivePatternId, Stg_SetDMDAssociatedShuttersOpenState

Stg_DMD_AppendRoiAsPattern

Description 

 Stg_DMD_AppendRoiAsPattern(
   char *DMDDeviceName,
   int  Index,
   char *FieldPatternDir,
   char *FieldPatternFilename
);

ROI is appended as a DMD pattern.

Parameters

char *DMDDeviceName

Name of the DMD device.

int Index

Index number (zero-based).

char *FieldPatternDir

Path to the field pattern.

char *FieldPatternFilename

File name of the field pattern.

Stg_GetDMDActivePatternId

Description 

 Stg_GetDMDActivePatternId(
   char *DMDDeviceName
);

Returns the ID of the DMD active pattern.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDAssociatedLightId

Description 

 Stg_GetDMDAssociatedLightId(
   char *DMDDeviceName
);

Returns the ID of the light associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDAssociatedShutterCount

Description 

 Stg_GetDMDAssociatedShutterCount(
   char *DMDDeviceName
);

Returns the shutter count associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDAssociatedShutterId

Description 

 Stg_GetDMDAssociatedShutterId(
   char *DMDDeviceName,
   int  Index
);

Returns the shutter ID associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

int Index

Index number (zero-based).

Stg_GetDMDAssociatedShuttersOpenState

Description 

 Stg_GetDMDAssociatedShuttersOpenState(
   char *DMDDeviceName
);

Returns the open state of the shutters associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDAssociatedSwitcherId

Description 

 Stg_GetDMDAssociatedSwitcherId(
   char *DMDDeviceName
);

Returns the switcher ID associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDAssociatedSwitcherPosition

Description 

 Stg_GetDMDAssociatedSwitcherPosition(
   char *DMDDeviceName
);

Returns the switcher position associated to the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDCalibrated

Description 

 Stg_GetDMDCalibrated(
   char *DMDDeviceName,
   int  DMDCalibrated
);

Returns whether the DMD is calibrated.

Parameters

char *DMDDeviceName

Name of the DMD device.

int DMDCalibrated

DMD calibrated parameter.

Stg_GetDMDDeviceCount

Description 

 Stg_GetDMDDeviceCount();

Returns the device count of the DMD.

Stg_GetDMDDeviceName

Description 

 Stg_GetDMDDeviceName(
   int  Index,
   char *DMDDeviceName,
   int  DMDDeviceNameMaxLength
);

Returns the name of the DMD device.

Parameters

int Index

Index number (zero-based).

char *DMDDeviceName

Name of the DMD device.

int DMDDeviceNameMaxLength

DMD device name maximum length.

Stg_GetDMDPatternCount

Description 

 Stg_GetDMDPatternCount(
   char *DMDDeviceName
);

Returns the pattern count of the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

Stg_GetDMDPatternId

Description 

 Stg_GetDMDPatternId(
   char *DMDDeviceName,
   int  Index
);

Returns the pattern ID of the DMD.

Parameters

char *DMDDeviceName

Name of the DMD device.

int Index

Index number (zero-based).

Stg_GetDMDPatternIdByName

Description 

 Stg_GetDMDPatternIdByName(
   char *DMDDeviceName,
   char *DMDPatternName
);

Returns the DMD pattern ID by name.

Parameters

char *DMDDeviceName

Name of the DMD device.

char *DMDPatternName

DMD pattern name.

Stg_GetDMDPatternName

Description 

 Stg_GetDMDPatternName(
   char *DMDDeviceName,
   int  Index,
   char *DMDPatternName,
   int  DMDPatternNameMaxLength
);

Returns the DMD pattern name.

Parameters

char *DMDDeviceName

Name of the DMD device.

int Index

Index number (zero-based).

char *DMDPatternName

DMD pattern name.

int DMDPatternNameMaxLength

DMD pattern name maximum length.

Stg_SetDMDActivePatternId

Description 

 Stg_SetDMDActivePatternId(
   char *DMDDeviceName,
   int  NewActiveDMDPattern
);

Returns the ID of the active pattern ID.

Parameters

char *DMDDeviceName

Name of the DMD device.

int NewActiveDMDPattern

DMD Pattern.

Stg_SetDMDAssociatedShuttersOpenState

Description 

 Stg_SetDMDAssociatedShuttersOpenState(
   char *DMDDeviceName,
   int  DMDPatternState
);

Opens all shutters which are supposed to be opened when the DMD device is stimulating (all Active Stimulation Shutters).

Parameters

char *DMDDeviceName

Name of the DMD device.

int DMDPatternState

DMD device pattern state.