Package gda.device.detector
Interface IPCOControllerV17
- All Superinterfaces:
Findable
- All Known Implementing Classes:
PCOControllerV17
Interface defining the PCO controller that respects v1.7
-
Method Summary
Modifier and TypeMethodDescriptionvoidacquire()start to acquire imagevoidvoidvoidvoidvoidvoidvoidintintintgetArray()doubledoublegetDraw()doubleintreturns the number of exposures set in EPICSgetHdf()intintintgetNxs()intdoublegetProc1()getProc2()intreturns the readout time for one ADC at 32mHzintreturns the readout time for one ADC at 8mHzintreturns the readout time for two ADC at 32mHzintreturns the readout time for two ADC at 8mHzintintgetRoi1()getRoi2()getStat()intgetTiff()intbooleanisArmed()voidvoidvoidresetAll()reset the camera and all assciated plugins - enable NDArray callback, stop any acquiring, set acquisition parameters, initialise plugins' array dimensionsvoidsetAcquireMode(int value) set camera acquire mode - Auto, Ext.voidsetADCMode(int value) set camera ADC mode - one ADC or two ADC when camera is disarmedvoidsetArmMode(int value) voidsetDelayTime(double value) set camera delay time when camera is disarmedvoidsetImageMode(int imageMode) set the image mode for acquisition: - Single, Multiple, or Continuous when camera is disarmed.voidsetNumImages(int numimages) sets number of image to collect per point or step when camera is disarmedvoidsetPixRate(int value) sets camera pixel rate - 32mHz or 8mHz when camera is disarmedvoidsetRecorderMode(int value) set camera recorder mode - Sequence or Ring buffer when camera id disarmedvoidsetScanDimensions(int[] dimensions) voidsetStorageMode(int value) set camera storage mode - recorder or FIFO buffer, when camera id disarmedvoidsetTimestampMode(int value) sets camera timestamp - None, BCD, BCD+ASCII, or ACSII, when camera is disarmedvoidsetTriggerMode(int value) sets camera trigger mode - 0-Auto, 1-Soft, 2-Ext + Soft, or 3-Ext Pulse when camera is disarmed.voidsets camera trigger mode - Auto, Soft, Ext + Soft, or Ext Pulse when camera is disarmed.voidsetTriggerPV(String triggerPV) voidvoidstop()stop camera acquiring, disarm the camera (automatically called by EPICS)voidtrigger()to provide a software simulated/controlled trigger signal to the detector trigger input
-
Method Details
-
getAreaDetector
ADBase getAreaDetector() -
getBasePVName
String getBasePVName() -
resetAll
reset the camera and all assciated plugins - enable NDArray callback, stop any acquiring, set acquisition parameters, initialise plugins' array dimensions- Throws:
Exception
-
trigger
to provide a software simulated/controlled trigger signal to the detector trigger input- Throws:
Exception
-
stop
stop camera acquiring, disarm the camera (automatically called by EPICS)- Throws:
Exception
-
getMJpeg1
FfmpegStream getMJpeg1() -
getMJpeg2
FfmpegStream getMJpeg2() -
getADCMode
int getADCMode() throws gov.aps.jca.TimeoutException, gov.aps.jca.CAException, InterruptedException, Exception- Throws:
gov.aps.jca.TimeoutExceptiongov.aps.jca.CAExceptionInterruptedExceptionException
-
getPixRate
int getPixRate() throws gov.aps.jca.TimeoutException, gov.aps.jca.CAException, InterruptedException, Exception- Throws:
gov.aps.jca.TimeoutExceptiongov.aps.jca.CAExceptionInterruptedExceptionException
-
getReadout1ADC8Mhz
int getReadout1ADC8Mhz()returns the readout time for one ADC at 8mHz- Returns:
- readout time
-
getReadout1ADC32Mhz
int getReadout1ADC32Mhz()returns the readout time for one ADC at 32mHz- Returns:
- readout time
-
getReadout2ADC32Mhz
int getReadout2ADC32Mhz()returns the readout time for two ADC at 32mHz- Returns:
- readout time
-
getReadout2ADC8Mhz
int getReadout2ADC8Mhz()returns the readout time for two ADC at 8mHz- Returns:
- readout time
-
setImageMode
set the image mode for acquisition: - Single, Multiple, or Continuous when camera is disarmed.- Parameters:
imageMode-- Throws:
Exception
-
acquire
start to acquire image- Throws:
Exception
-
getTiff
NDFile getTiff() -
getExposures
returns the number of exposures set in EPICS- Returns:
- number of exposures
- Throws:
Exception
-
getNxs
NDFileNexus getNxs() -
getDraw
NDOverlay getDraw() -
getStat
NDStats getStat() -
getProc1
NDProcess getProc1() -
getProc2
NDProcess getProc2() -
getRoi1
NDROI getRoi1() -
getRoi2
NDROI getRoi2() -
getArray
NDArray getArray() -
setADCMode
set camera ADC mode - one ADC or two ADC when camera is disarmed- Parameters:
value-- Throws:
Exception
-
setPixRate
sets camera pixel rate - 32mHz or 8mHz when camera is disarmed- Parameters:
value-- Throws:
Exception
-
getCamRamUsage
- Throws:
Exception
-
getElectronicTemperature
- Throws:
Exception
-
getPowerSupplyTemperature
- Throws:
Exception
-
getStorageMode
- Throws:
Exception
-
setStorageMode
set camera storage mode - recorder or FIFO buffer, when camera id disarmed- Parameters:
value-- Throws:
Exception
-
getRecorderMode
- Throws:
Exception
-
setRecorderMode
set camera recorder mode - Sequence or Ring buffer when camera id disarmed- Parameters:
value-- Throws:
Exception
-
getTimestampMode
- Throws:
Exception
-
setTimestampMode
sets camera timestamp - None, BCD, BCD+ASCII, or ACSII, when camera is disarmed- Parameters:
value-- Throws:
Exception
-
setAcquireMode
set camera acquire mode - Auto, Ext. enable, or Ext. trigger when camera id disarmed- Parameters:
value-- Throws:
Exception
-
getAcquireMode
- Throws:
Exception
-
getArmMode
- Throws:
Exception
-
setArmMode
- Throws:
Exception
-
getDelayTime
- Throws:
Exception
-
setDelayTime
set camera delay time when camera is disarmed- Parameters:
value-- Throws:
Exception
-
setNumImages
sets number of image to collect per point or step when camera is disarmed- Parameters:
numimages-- Throws:
Exception
-
getHdf
NDFileHDF5 getHdf() -
getNumImages
- Throws:
Exception
-
getNumCaptured
- Throws:
Exception
-
getFullFileName
- Throws:
Exception
-
setTriggerMode
sets camera trigger mode - Auto, Soft, Ext + Soft, or Ext Pulse when camera is disarmed.- Parameters:
value-- Throws:
Exception
-
getTriggerMode
PCOControllerV17.TriggerMode getTriggerMode() -
listTriggerModes
void listTriggerModes() -
setTriggerMode
sets camera trigger mode - 0-Auto, 1-Soft, 2-Ext + Soft, or 3-Ext Pulse when camera is disarmed.- Parameters:
value-- Throws:
Exception
-
disableTiffSaver
- Throws:
Exception
-
enableTiffSaver
- Throws:
Exception
-
disableHdfSaver
- Throws:
Exception
-
enableHdfSaver
- Throws:
Exception
-
getReadoutTime
- Throws:
Exception
-
setScanDimensions
- Throws:
Exception
-
startRecording
- Throws:
Exception
-
getHDFFileName
- Throws:
Exception
-
endRecording
- Throws:
Exception
-
getTiffFullFileName
- Throws:
Exception
-
getNextFileNumber
- Throws:
Exception
-
armCamera
- Throws:
Exception
-
disarmCamera
- Throws:
Exception
-
isArmed
- Throws:
Exception
-
makeDetectorReadyForCollection
- Throws:
Exception
-
setTriggerPV
-
getTriggerPV
String getTriggerPV()
-