IRISER Getting Started
Using an SANBlaze iRiser allows precise control of signals.
The capabilites of the iRiser can be summarized by the following:
Bits
Bits are the lowest level of control available on the iRiser. A bit can be designaed as an input, or an output. A bit has a value, a name, and a number.
Actions
Actions define a transition of one or more bits. Actions are composed of the following information:
- Direction:
A hex representation of the direction of the pins. Inputs are 1, and outputs are 0.
Example:
0xffffffff
Value:
A hex representation of the value of the pins.
Example:
0xffffffff
Time delay (ns):
The amount of time to hold the current direction and value before transitioning to the next state(action)
Example:
10000000nS
Next action:
The next action specifies the next state of the iRiser signals
Sequences
Sequences are made up of a collection of actions. A sequence can be ended by making the next action ‘stop’, or it can be looped by specifying an earlier action.
Creating a Riser object
When creating an iriser object, you must supply a slot
from iRiser import Riser
slot = 1
riser = Riser(slot)
Basic Information
All of the get functions allow you to get iRiser information as a status dictionary or as a raw value.
For example:
Getting information on the pin directions
riser.get_dir() riser.get_dir(raw=True)