CONTrol - Control adjustments
The CONTrol root path provides access to control the behavior upon incoming external signals (:INPut) and outgoing signals to trigger events on external devices (:OUTPut). The out-of-band emission of spectra can be configured using :MANual path. Finally the information provided by the status LED on the front plate of the Spektralwerk Core can be altered.
:INDicator:STATus - Status LED behavior control
command and query
To reduce light pollution disturbing measurements, the status LED of Spektralwerk Core can be adjusted. Changes of the LED status are only kept until the next reboot of Spektralwerk Core. The default mode of the status LED is auto (LED is used to inform a user about current status). The other options are on and off, see appendix Indicator status for more information.
Parent Command: CONTrol:INDicator
| SCPI String | Query ? |
Command [<INPUT VALUE>] |
|---|---|---|
:STATus |
returns the current status of the status LED |
Example:
> CONTrol:INDicator:STATus?
auto
> CONTrol:INDicator:STATus off
# turns off the status LED
> CONTrol:INDicator:STATus?
off
:INPut:LEVel - Incoming signal control
query only
External trigger signals can be used to toggle spectra sampling.
The CONTrol:INPuti:LEVel? query returns the current level detected on the external input.
Parent path: CONTrol
| SCPI String | Query ? |
Command [<INPUT VALUE>] |
|---|---|---|
INPut:LEVel |
returns the current signal level of the input | - |
Example:
> MEASure:SPECtrum:EMITter:DESTination "udp://192.168.4.23:8100"
> CONTrol:INPut:LEVel?
1
:OUTPut - Outgoing signal control
command and query
The CONTrol:OUTPut command enables and configures the control of an external device by the Spektralwerk Core device. The CONTrol:OUTPut:SOURce can be either manual or sampling (default), see appendix Trigger output source for more details.
Parent path: CONTrol:OUTPut
| SCPI String | Query ? |
Command [<INPUT VALUE>] |
|---|---|---|
:ENABled |
returns the status of the output trigger | <BOOLEAN>: enables/disables the output trigger |
:LEVel:TARGet |
returns the output line's target level during the phase of activity | <BOOLEAN>: set the output line's target value |
:SOURce |
returns the current origin for triggering the output | <TRIGGER_OUTPUT_SOURCE>: change the origin for triggering the output |
Example:
> CONTrol:OUTPut:SOURce?
sampling
> CONTrol:ENABled?
false
> CONTrol:ENABled true
# upon each spectral emission, the output pin is toggled.
:DELay - Delayed sample handling
command and query
The sample emission using the trigger can be delayed using the CONTrol:OUTPut:DELay path.
Parent path: CONTrol:OUTPut:DELay
| SCPI String | Query ? |
Command [<INPUT VALUE>] |
|---|---|---|
:STARt |
returns the delay between level change and sampling start | <FLOAT>: changes the delay between level change and sampling start |
:UNIT |
returns the unit of the start delay | - |
:END |
returns the delay between end of measurement and output level change | <FLOAT>: changes the delay between end of measurement and output level change |
:UNIT |
returns the unit of the delay | - |
Example:
> CONTrol:OUTPut:DELay:STARt:UNIT?
s
> CONTrol:OUTPut:DELay:STARt 2.5
# 2.5 seconds after an incoming trigger event, the emission starts
> CONTrol:OUTPut:ENABled 1
> CONTrol:OUTPut:DELay:END:UNIT?
s
> CONTrol:OUTPut:DELay:END 3.2
# 3.2 seconds after the spectral emission ended, the output is triggered.