SESTILIO
3.0.2
C Library for SESTILIO a smart A/D and D/A interface on USB 2.0
SESTILIO Functions and Procedures
Controls
SE_Open
Open the connection with SESTILIO.
SE_Close
Close the connection with SESTILIO.
SE_NumOfDevices
The number of connected device.
SE_Status
Operation status.
SE_SetID
Set a new ID.
SE_FirmwareRev
Firmware revision number.
SE_CPUtemperature
CPU temperature in Kelvin.
SE_Counts
Return countdown.
SE_ClrCounts
Operation status.
SE_WatchDog
Enable/disable watchdog control.
Low level communication commands
SE_ReadData
Send a command and return received string.
SE_ReadDataNumber
Send a command and return an integer.
SE_ReadDataBinary
Send a command and return an array of binary data.
SE_ReadDataBinaryExt
Send a command and return an array of binary data.
SE_WriteDataBinary
Send a command and an array of binary data.
SE_Command
Send a command and return a status.
SE_CommandDeaf
Send a command without wait SESTILIO ACK.
SE_CheckAck
Check if an ACK is received.
A/D and D/A controls
SE_SetMux
Change A/D input channel.
SE_SetGain
Change the gain of the input A/D.
SE_FastReadAnalog
Fast A/D sampling.
SE_ReadAnalog
A/D sampling.
SE_FlowReadAnalog
Maximum speed for A/D sample read.
SE_WriteAnalog
D/A write.
SE_WriteAnalogDual
Dual D/A write.
SE_FastWriteAnalog
Function generator.
Memory controls
SE_ReadRAM
Read a selected RAM.
SE_WriteRAM
Write a selected RAM.
SE_GetSampleData
Read sampled unsigned data from RAM.
SE_GetSampleDoubleData
Read sampled double data from RAM.
SE_GetSampleDoubleDataSplit
Read sampled double split data from RAM.
SE_PutSampleData
Init selected RAM with a pattern.
SE_ReadEEPROM
Read EEPROM memory.
SE_WriteEEPROM
Write EEPROM memory.
Port controls
SE_WriteKPortConfig
Write of the port expander.
SE_ReadKPortConfig
Read of the port expander.
SE_SetPortDirection
Set direction for each bit of every port.
SE_WritePort
Write on a specified port.
SE_SetPortBit
Set a bit of a specified port.
SE_ClrPortBit
Clear a bit of a specified port.
SE_ReadPort
Read a specified port.
SE_PortPulse
Generate an impulse on a specified port.
SE_CheckPortBit
Check a bit on a specified port.
SE_PwmOptoCoupledPowerPort
Start a PWM on the power opto-coupled port.
SE_AuxPower
Turn on/off power on pin Y4.16.
SPI controls
SE_WriteSPI
Write on SPI interface.
SE_ReadSPI
Read from SPI interface.
SE_ReadWriteSPI
R/W from SPI interface.
SE_SetClockSPI
Set SPI clock.
Instruments and analysis
SE_TransientResponse
Transient response evaluation.
SE_LinearScanner
Linear scanner with LINCAM-1.
SE_ReadTemperature
Read the temperature with the use of an AD590.
SE_ReadCurrent
With an external precision resistor realize an ammeter.
Temperature controller
SE_SetPID
Start PID controller.
SE_SetPIDconstants
Specify PID K.
SE_SetPIDtimeBase
Set PID time base.
SE_PIDdata
Read sampled data of the PID process.
Step motor control
SE_MotorPositioning
Dual motor positioning.
SE_SetMotorSlope
Set the slope for motor positioning.
SE_ReadMotorCount
Check motor positioning count down.
SE_MotorCalibrate
Search calibration position.
SE_SetMotorSpeed
Set the motor speed.
SE_SetMotorEnable
Turn ON/OFF selected motor.
SE_AuxMotorPositioning
Execute step-motor action with an external motor drive.
SE_AuxMotorPositCalib
Execute a calibration action on external motor drive.
Bridge control
SE_BridgePulse
Activate an impulse on one channel of the four bridges.
SE_BridgeUntil
Activate a bridge channel until a bit on selected port is active or forever.
Expansion bus controls
SE_EspiBusInit
Init SPI expansion bus.
SE_EspiRlInit
Init ESPI-RL board.
SE_EspiOpInit
Init ESPI-OP board.
SE_EspiRlWrite
Write on ESPI-RL board.
SE_EspiOpWrite
Write on output of ESPI-OP board.
SE_EspiRlRead
Read data from ESPI-RL board.
SE_EspiOpRead
Read the opto-isolated input of the ESPI-OP board.
SE_EspiOpOutRead
Read the opto-isolated output of the ESPI-OP board.
SE_EspiRlSet
Turn on/off a relay of the ESPI-RL board.
SE_EspiOpSet
Turn on/off an opto-isolated output of the ESPI-OP board.
SE_LsrDrvSet
Set the laser current on LSR-PWR1.
SE_LsrDrvGet
Read measured laser current from LSR-PWR1 driver.
Code Source and Examples
Library source code.
Example program for SESTILIO test.
Generated on Thu Feb 14 2019 09:51:02 for SESTILIO by
1.8.15