pylab_ml.matrix.pickering.pickering_40_5xx.Pickering_Emulator
- class Pickering_Emulator(addr=None, x=66, y=8)[source]
Bases:
objectEmulator from a Matrix Pickering.
- Date:
June 16, 2026
- Author:
Semi-ATE <info@Semi-ATE.org>
Usable if you have no real Matrix as instance
- __init__(addr=None, x=66, y=8)[source]
Initialise the emulator.
- Parameters:
addr (str, optional) – Address Name from NIMax, only for logging. The default is None.
x (int, optional) – Number of columns. The default is 66.
y (int, optional) – Number of rows. The default is 8.
Methods
Open all connections.
Close()Close connection to Pickering Emulator.
Perform diagnostic on emulator.
ErrorMessage(err)Get error message from emulator.
Get card ID from emulator.
GetCrosspointState(cardnr, rows, cols)Get state from crosspoint.
Reset()Reset.
SetCrosspointState(cardnr, row, col, state)Set state from crosspoint.
SubInfo(cardnr, unknown)Get sub-unit information from emulator.
__init__([addr, x, y])Initialise the emulator.
clear()Clear all connections (open).
message([message])Device has no display, message display to logger.
- GetCrosspointState(cardnr, rows, cols)[source]
Get state from crosspoint.
- Parameters:
cardnr (int) – Card number.
row (int) – Row number.
col (int) – Column number.
- Returns:
int – 0 for success.
int – State of the crosspoint.
- SetCrosspointState(cardnr, row, col, state)[source]
Set state from crosspoint.
- Parameters:
cardnr (int) – Card number.
row (int) – Row number.
col (int) – Column number.
state (int) – State to set.
- Returns:
0 for success.
- Return type:
int
- np = <module 'numpy' from '/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/__init__.py'>