The Xentara Pickering PXI Driver v1.2
User Manual
JSON Format for Precision Resistors
See also
Skill Element Blocks in the Xentara user manual

A JSON object describing a precision resistor has the following syntax:

{
"@Skill.PILPXI.PrecisionResistor": {
"name": "Resistor 3",
"UUID": "45906460-a90b-4cfd-8536-f359f4727449",
"ACL": { ... },
"subUnit": 3,
"mode": "breakBeforeMake",
"initialResistance": "open",
"handler": "Card 1.Resistance Handler"
}
}

Object Members
nameA string value containing the name of the resistor. The name is used to construct the resistor’s primary key.
UUIDA string value containing the unique UUID of the resistor.
ACLAn optional JSON object containing the element ACL of the resistor. The format of the object is described under JSON Format for ACLs in the Xentara user manual.
subUnitAn integer value containing the 1-based sub-unit number of the resistor. Sub-unit numbers are shared with other output sub-units, specifically output bits.
mode

An optional string value specifying the mode in which new resistance values will be written. The following mode values are supported:

Mode Description
"breakBeforeMake" Legacy/Default mode to support existing “break before make” with settling delay
"makeBeforeBreak" New mode to support “make before break” with settling delay
"immediate" Apply the new pattern immediately and wait until settling delay
"noDelay" Disable the settling delay
"calculateOnly" Do the calculations but don’t set the resistance

If you do not specify a mode, the default mode "breakBeforeMake" will be used. Please note that not all modes may be supported by the physical card.

mode
initialResistance

This optional value that determines how the resistor’s value is initialized. The initialization is performed at the beginning of the pre-operational stage, when Xentara is started or resumed from a suspended state.

The initial resistance can be spcified in one of two ways:

  1. A numerical value (possibly with decimals) containing the desired initial resistance, in Ω.
  2. The string "open". This will instruct Xentara to initialize the resistance to infinite (open circuit).

If you do not specify an initial resistance, the resistance value will not be initialized at all, and will retain whatever value it had before.

handler

An optional string value describing the handler that should read and write the resistor’s resistance value. The string value must contain the primary key of the handler.

If you do not specify a handler, the resistor’s resistance value will be unavailable, and the resistance cannot be changed by writing the data point.