Eye

SCPI Commands :

EXPort:EYE:SELect
EXPort:EYE:SOURce
EXPort:EYE:SAVE
EXPort:EYE:DATA
EXPort:EYE:NAME
Commands in total: 5
Subgroups: 0
Direct child commands: 5
get_data() float[source]
# EXPort:EYE:DATA
value: float = driver.export.eye.get_data()

Transfers the eye data to the controlling computer. The data can be used in MATLAB, for example. To set the export data format, use method RsRtx.formatPy.data.set() .

get_name() str[source]
# EXPort:EYE:NAME
value: str = driver.export.eye.get_name()

Sets the path, the file name, and the file format for the eye file. Available file formats are csv and bin.

get_select() SelectableEye[source]
# EXPort:EYE:SELect
value: enums.SelectableEye = driver.export.eye.get_select()

Selects the eye that you want to save to a file.

Returns:

selectable_eye: EYE1 | EYE2 | EYE3 | EYE4

get_source() SignalSource[source]
# EXPort:EYE:SOURce
value: enums.SignalSource = driver.export.eye.get_source()

Returns the source of the eye measurement, selected with method RsRtx.export.eye.select() .

Returns:

source: C1W1 | C1W2 | C1W3 | C1W4 | C2W1 | C2W2 | C2W3 | C2W4 | C3W1 | C3W2 | C3W3 | C3W4 | C4W1 | C4W2 | C4W3 | C4W4

save() None[source]
# EXPort:EYE:SAVE
driver.export.eye.save()

Saves the selected eye to the file that is specified with method RsRtx.export.eye.name() .

save_and_wait(opc_timeout_ms: int = -1) None[source]
# EXPort:EYE:SAVE
driver.export.eye.save_and_wait()

Saves the selected eye to the file that is specified with method RsRtx.export.eye.name() .

Same as save, but waits for the operation to complete before continuing further. Use the RsRtx.utilities.opc_timeout_set() to set the timeout value.

Parameters:

opc_timeout_ms – Maximum time to wait in milliseconds, valid only for this call.

set_name(path: str) None[source]
# EXPort:EYE:NAME
driver.export.eye.set_name(path = 'abc')

Sets the path, the file name, and the file format for the eye file. Available file formats are csv and bin.

set_select(selectable_eye: SelectableEye) None[source]
# EXPort:EYE:SELect
driver.export.eye.set_select(selectable_eye = enums.SelectableEye.EYE1)

Selects the eye that you want to save to a file.

Parameters:

selectable_eye – EYE1 | EYE2 | EYE3 | EYE4