SESTILIO
3.0.2
C Library for SESTILIO a smart A/D and D/A interface on USB 2.0
|
Functions | |
CTYPE int DLL | SE_BridgePulse (int bridge, int activation, int deactivation, int activationWidth, int deactivationWidth, int timeBase, int usbDevice) |
Generate a pulse on the specified bridge. More... | |
CTYPE int DLL | SE_BridgeUntil (int bridge, int activation, int portId, int portBit, int bitTrue, int timeout, int usbDevice) |
Activate a specified bridge until a bit on specified port is true or forever. More... | |
Functions for a full control of the two power bridges.
int SE_BridgePulse | ( | int | bridge, |
int | activation, | ||
int | deactivation, | ||
int | activationWidth, | ||
int | deactivationWidth, | ||
int | timeBase, | ||
int | usbDevice | ||
) |
Generate a pulse on the specified bridge.
bridge | Bridge selection: 0 Y15:2-3, 1 Y15:4-5, 2 Y16:2-3, 3 Y16:4-5, 4 Y15:2-3 BOOST, 5 Y15:4-5 BOOST, 6 Y16:2-3 BOOST, 7 Y16:4-5 BOOST. 4-7 select some channel but without the 7.5 ohm series resistor. |
activation | Bridge config in first phase. Bridge configuration |
deactivation | Bridge config on last phase. Bridge configuration |
activationWidth | Pulse duration in time base unit in first phase. |
deactivationWidth | Pulse duration in time base unit on last phase. |
timeBase | Time base. 0 = 40.816ns, 1 = 1uS, 2 = 1ms. Time base unit |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 629 of file sestilio.cpp.
int SE_BridgeUntil | ( | int | bridge, |
int | activation, | ||
int | portId, | ||
int | portBit, | ||
int | bitTrue, | ||
int | timeout, | ||
int | usbDevice | ||
) |
Activate a specified bridge until a bit on specified port is true or forever.
bridge | Bridge selection: 0 Y15:2-3, 1 Y15:4-5, 2 Y16:2-3, 3 Y16:4-5, 4 Y15:2-3 BOOST, 5 Y15:4-5 BOOST, 6 Y16:2-3 BOOST, 7 Y16:4-5 BOOST, 8 Y15:2-3 OFF, 9 Y15:4-5 OFF, 10 Y16:2-3 OFF, 11 Y16:4-5 OFF. 4-7 select some channel but without the 7.5 ohm series resistor. |
activation | Bridge config in first phase. Bridge configuration |
portId | Port selection. 0 = P4, 1 = P5, 2 = PA, 3 = PB, 4 = Opto-Isolated, 5 = Active forever. Port Identification Number |
portBit | Bit used for check of the selected port (0-7). |
deactivationWidth | Pulse duration in time base unit on last phase. |
bitTrue | Logic level when the bit is considered true (0-1). |
timeout | Timeout in steps of 10ms if the port check isn't verified. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 636 of file sestilio.cpp.