GpibController
For conceptual usage, see:
Implementation
This Python API is implemented directly in PyRogue.
- class pyrogue.protocols.gpib.GpibController(*, gpibAddr, gpibBoard=0, timeout=gpib_ctypes.Gpib.gpib.T1s)[source]
GPIB-based memory slave interface for SCPI-style instrument control.
Translates memory-mapped read/write transactions into GPIB SCPI commands using variable ‘key’ attributes as command prefixes.
- Parameters:
gpibAddr (
int) – GPIB primary address of the device.gpibBoard (
int, default:0) – GPIB interface board number.timeout (
Any, default:gpib_ctypes.Gpib.gpib.T1s) – GPIB timeout constant. Common values includeT1000s,T300s,T100s,T30s,T10s,T3s,T1s,T300ms,T100ms,T30ms,T10ms,T3ms,T1ms,T300us,T100us,T30us,T10us, andTNONE.
- setName((Slave)arg1, (str)arg2) None :
- C++ signature :
void setName(rogue::interfaces::memory::Slave {lvalue},std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)