EQ-99¤
Communicate with the EQ-99 Manager from Energetiq.
EQ99
(Serial)
¤
EQ99(equipment: Equipment)
flowchart LR
msl.equipment_resources.energetiq.eq99.EQ99[EQ99]
msl.equipment.interfaces.serial.Serial[Serial]
msl.equipment.interfaces.message_based.MessageBased[MessageBased]
msl.equipment.schema.Interface[Interface]
msl.equipment.interfaces.serial.Serial --> msl.equipment_resources.energetiq.eq99.EQ99
msl.equipment.interfaces.message_based.MessageBased --> msl.equipment.interfaces.serial.Serial
msl.equipment.schema.Interface --> msl.equipment.interfaces.message_based.MessageBased
click msl.equipment_resources.energetiq.eq99.EQ99 href "" "msl.equipment_resources.energetiq.eq99.EQ99"
click msl.equipment.interfaces.serial.Serial href "" "msl.equipment.interfaces.serial.Serial"
click msl.equipment.interfaces.message_based.MessageBased href "" "msl.equipment.interfaces.message_based.MessageBased"
click msl.equipment.schema.Interface href "" "msl.equipment.schema.Interface"
Communicate with the EQ-99 Manager from Energetiq.
Regular-expression patterns that are used to select this Resource when connect() is called.
manufacturer=r"Energetiq"
model=r"EQ-99(-MGR)?"
flags=IGNORECASE
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
equipment
|
Equipment
|
An Equipment instance. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 | |
condition_register
¤
condition_register() -> int
Query the LDLS condition register.
The condition register reflects the state of the instrument at the time the condition register is read.
The bit-mask sequence is as follows:
| Bit Index | Value | Description |
|---|---|---|
| 0 | 1 | Interlock |
| 1 | 2 | Controller not detected |
| 2 | 4 | Controller fault |
| 3 | 8 | Lamp fault |
| 4 | 16 | Output on |
| 5 | 32 | Lamp on |
| 6 | 64 | Laser on |
| 7 | 128 | Laser stable |
| 8 | 256 | Shutter open |
Returns:
| Type | Description |
|---|---|
int
|
The condition register value. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 | |
delay
¤
delay(milliseconds: int) -> None
Specify a delay to use in command processing.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
milliseconds
|
int
|
Causes command processing to be delayed for the specified number of milliseconds. Valid range is from 1 to 30000 milliseconds. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
101 102 103 104 105 106 107 108 109 110 111 | |
event_register
¤
event_register() -> int
Query the LDLS event register.
Returns the LDLS event register. The event register reflects the occurrence of any condition since the last time the event register was read. For example, if the output was turned on and then turned off, the Output on the bit in the condition register will be zero, but the same bit in the event register will be one.
The bit-mask sequence is as follows:
| Bit Index | Value | Description |
|---|---|---|
| 0 | 1 | Interlock |
| 1 | 2 | Controller not detected |
| 2 | 4 | Controller fault |
| 3 | 8 | Lamp fault |
| 4 | 16 | Output on |
| 5 | 32 | Lamp on |
| 6 | 64 | Laser on |
| 7 | 128 | Laser stable |
| 8 | 256 | Shutter open |
Returns:
| Type | Description |
|---|---|
int
|
The event register value. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 | |
get_beep
¤
get_beep() -> bool
Query whether beeps are enabled.
Returns:
| Type | Description |
|---|---|
bool
|
Whether beeps are enabled. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
57 58 59 60 61 62 63 | |
get_brightness
¤
get_brightness() -> int
Query the display brightness.
Returns:
| Type | Description |
|---|---|
int
|
Returns the value of the display brightness (between 0 and 100). |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
82 83 84 85 86 87 88 | |
get_exposure_mode
¤
get_exposure_mode() -> int
Query the exposure mode.
Returns:
| Type | Description |
|---|---|
int
|
The exposure mode.
|
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
192 193 194 195 196 197 198 199 200 201 | |
get_exposure_time
¤
get_exposure_time() -> int
Query the exposure time.
Returns:
| Type | Description |
|---|---|
int
|
The exposure time, in milliseconds. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
166 167 168 169 170 171 172 | |
get_lamp_runtime
¤
get_lamp_runtime() -> float
Query the lamp runtime.
Returns:
| Type | Description |
|---|---|
float
|
The number of hours accumulated while the lamp was on. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
232 233 234 235 236 237 238 | |
get_message_buffer
¤
get_message_buffer() -> str
Query the internal message buffer.
Returns:
| Type | Description |
|---|---|
str
|
The value of the internal message buffer. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
332 333 334 335 336 337 338 | |
get_output_state
¤
get_output_state() -> bool
Query the output state.
Returns:
| Type | Description |
|---|---|
bool
|
Whether the output is enabled or disabled. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
216 217 218 219 220 221 222 | |
get_remote_mode_error
¤
get_remote_mode_error() -> bool
Query whether errors are displayed while in remote mode.
Returns:
| Type | Description |
|---|---|
bool
|
Whether errors are displayed while in remote mode. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
349 350 351 352 353 354 355 | |
get_shutter_power_up_state
¤
get_shutter_power_up_state() -> bool
Query the power-up shutter state.
Returns:
| Type | Description |
|---|---|
bool
|
The power-up shutter state.
|
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
255 256 257 258 259 260 261 262 263 264 | |
get_shutter_state
¤
get_shutter_state() -> bool
Query the shutter state.
Returns:
| Type | Description |
|---|---|
bool
|
The state of the shutter.
|
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
277 278 279 280 281 282 283 284 285 286 | |
get_termination
¤
get_termination() -> int
Query response terminator.
Returns the current response terminator setting. See set_termination for possible return values.
Returns:
| Type | Description |
|---|---|
int
|
The response terminator. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
381 382 383 384 385 386 387 388 389 390 391 | |
get_trigger_mode
¤
get_trigger_mode() -> int
Query the trigger mode.
Returns:
| Type | Description |
|---|---|
int
|
The trigger mode. See set_trigger_mode for more details. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
304 305 306 307 308 309 310 311 | |
identity
¤
identity() -> str
Query the instrument identification.
Returns:
| Type | Description |
|---|---|
str
|
Returns the identification string for the instrument in the following format: Energetiq Model SN Ver Build |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
41 42 43 44 45 46 47 48 | |
reset
¤
reset() -> None
Resets the instrument to factory defaults and the output is shut off.
The unit remains in remote mode.
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
50 51 52 53 54 55 | |
serial_number
¤
serial_number() -> str
Query the serial number of the instrument.
Returns:
| Type | Description |
|---|---|
str
|
The serial number of the instrument. This is the same information that is part of the |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
373 374 375 376 377 378 379 | |
set_beep
¤
Set the beep value.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
beep
|
bool | int
|
Causes the instrument to beep, or enables or disabled the beep sound for error messages and other events that generate and audible response.
|
2
|
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | |
set_brightness
¤
set_brightness(brightness: int) -> None
Set the display brightness.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
brightness
|
int
|
Sets the display brightness level from 0 to 100 percent. There are only 8 brightness levels (each separated by about 12.5 percent) and the brightness value is used to select an appropriate level. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
90 91 92 93 94 95 96 97 98 99 | |
set_exposure_mode
¤
set_exposure_mode(mode: int) -> None
Set the exposure mode.
Same as the Shutter setting in the menu.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mode
|
int
|
The exposure mode.
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
203 204 205 206 207 208 209 210 211 212 213 214 | |
set_exposure_time
¤
set_exposure_time(milliseconds: int) -> None
Set the exposure time.
Exposure time is used when the shutter exposure mode is set to Exposure mode
(see set_exposure_mode).
An exposure is triggered by a shutter button press or the shutter trigger input.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
milliseconds
|
int
|
The exposure time, in milliseconds, from 100 to 30000 ms. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 | |
set_lamp_runtime
¤
set_lamp_runtime(hours: float) -> None
Set the lamp runtime.
Resets the runtime to the new value. Useful for resetting the runtime to zero when the lamp has been serviced or replaced, or when moving the manager to a new LDLS system.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
hours
|
float
|
The lamp runtime, in hours, between 0 and 9999. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
240 241 242 243 244 245 246 247 248 249 250 251 252 253 | |
set_message_buffer
¤
set_message_buffer(message: str) -> None
Set the message buffer.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
message
|
str
|
Sets the internal message buffer, up to a maximum of 16 characters. If more than 16 characters are specified then the additional characters are silently ignored. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
340 341 342 343 344 345 346 347 | |
set_output_state
¤
set_output_state(enable: bool) -> None
Turn the output on or off.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
enable
|
bool
|
Whether to enable or disable the output. |
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
224 225 226 227 228 229 230 | |
set_remote_mode_error
¤
Set whether to display errors while in remote mode.
This command controls if the instrument will display errors while in
remote mode. If set to 0/False, then errors will not be displayed. If
set to 1/True, errors will be displayed. Errors will always accumulate
in the error queue.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
enable
|
bool | int
|
Whether to display errors while in remote mode.
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 | |
set_shutter_power_up_state
¤
set_shutter_power_up_state(state: bool) -> None
Set the power-up shutter state.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
bool
|
Sets the initial state of the shutter on power-up of the manager.
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
266 267 268 269 270 271 272 273 274 275 | |
set_shutter_state
¤
set_shutter_state(state: bool) -> None
Open, close, or trigger the shutter.
A close command (state is False) will always close the shutter,
regardless of exposure mode. An open command (state is True)
will open the shutter if exposure mode is set to Manual, or
trigger a shutter if exposure mode is set to Exposure.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
state
|
bool
|
The state of the shutter.
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 | |
set_termination
¤
set_termination(value: int) -> None
Set the response terminator character(s).
This command controls the termination characters used for responses to queries.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
value
|
int
|
The response terminator character(s).
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 | |
set_trigger_mode
¤
set_trigger_mode(mode: int) -> None
Set the trigger mode.
The trigger mode controls how the shutter trigger input controls the operation of the shutter. For more information on trigger modes, see Shutter Operation in the Operating the Instrument section of the manual for more details.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
mode
|
int
|
The trigger mode.
|
required |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 | |
timer
¤
timer() -> str
Query the elapsed time since the last time this method was called.
Returns:
| Type | Description |
|---|---|
str
|
Returns the elapsed time since the last time this method was called, or, if this is the first time calling this method then the time since unit has been turned on. Format is in HH:MM:SS.ss, where HH is hours, MM is minutes, SS is seconds, and ss is hundredths of a second. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
419 420 421 422 423 424 425 426 427 428 429 | |
unit_runtime
¤
unit_runtime() -> str
Query unit run time.
Returns:
| Type | Description |
|---|---|
str
|
Returns the elapsed time since the unit has been turned on. Format is in HH:MM:SS.ss, where HH is hours, MM is minutes, SS is seconds, and ss is hundredths of a second. |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
409 410 411 412 413 414 415 416 417 | |
version
¤
version() -> str
Query the firmware version.
Returns:
| Type | Description |
|---|---|
str
|
Returns the firmware version. This is the same information that is part of the |
Source code in packages/resources/src/msl/equipment_resources/energetiq/eq99.py
431 432 433 434 435 436 437 | |