pylab_ml.matrix.pickering.pickering_40_5xx.Pickering_Emulator

class Pickering_Emulator(addr=None, x=66, y=8)[source]

Bases: object

Emulator 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

ClearCard()

Open all connections.

Close()

Close connection to Pickering Emulator.

Diagnostic()

Perform diagnostic on emulator.

ErrorMessage(err)

Get error message from emulator.

GetCardId()

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.

ClearCard()[source]

Open all connections.

Close()[source]

Close connection to Pickering Emulator.

Diagnostic()[source]

Perform diagnostic on emulator.

ErrorMessage(err)[source]

Get error message from emulator.

GetCardId()[source]

Get card ID from emulator.

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.

Reset()[source]

Reset.

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

SubInfo(cardnr, unknown)[source]

Get sub-unit information from emulator.

clear()[source]

Clear all connections (open).

message(message=None)[source]

Device has no display, message display to logger.

np = <module 'numpy' from '/home/runner/miniconda3/envs/test/lib/python3.9/site-packages/numpy/__init__.py'>