Gpib

SCPI Commands :

SYSTem:COMMunicate:GPIB:LTERminator
SYSTem:COMMunicate:GPIB:RESource
class GpibCls[source]

Gpib commands group definition. 3 total commands, 1 Subgroups, 2 group commands

get_lterminator() IecTermMode[source]
# SCPI: SYSTem:COMMunicate:GPIB:LTERminator
value: enums.IecTermMode = driver.system.communicate.gpib.get_lterminator()

Sets the terminator recognition for remote control via GPIB interface.

return:

lterminator: STANdard| EOI EOI Recognizes an LF (Line Feed) as the terminator only when it is sent with the line message EOI (End of Line) . This setting is recommended particularly for binary block transmissions, as binary blocks may coincidentally contain a characater with value LF (Line Feed) , although it is not determined as a terminator. STANdard Recognizes an LF (Line Feed) as the terminator regardless of whether it is sent with or without EOI.

get_resource() str[source]
# SCPI: SYSTem:COMMunicate:GPIB:RESource
value: str = driver.system.communicate.gpib.get_resource()

Queries the visa resource string for remote control via the GPIB interface. To change the GPIB address, use the command method RsAreg.System.Communicate.Gpib.Self.address.

return:

resource: string

set_lterminator(lterminator: IecTermMode) None[source]
# SCPI: SYSTem:COMMunicate:GPIB:LTERminator
driver.system.communicate.gpib.set_lterminator(lterminator = enums.IecTermMode.EOI)

Sets the terminator recognition for remote control via GPIB interface.

param lterminator:

STANdard| EOI EOI Recognizes an LF (Line Feed) as the terminator only when it is sent with the line message EOI (End of Line) . This setting is recommended particularly for binary block transmissions, as binary blocks may coincidentally contain a characater with value LF (Line Feed) , although it is not determined as a terminator. STANdard Recognizes an LF (Line Feed) as the terminator regardless of whether it is sent with or without EOI.

Cloning the Group

# Create a clone of the original group, that exists independently
group2 = driver.system.communicate.gpib.clone()

Subgroups