1 #ifndef SESTILIO_INCLUDE_FILE 2 #define SESTILIO_INCLUDE_FILE 200 #define PROC_CALL __stdcall 205 #if defined(_WIN32) || defined(__WIN32__) 206 #if defined(_MSC_VER) 207 #ifdef STATIC_LIBRARY 212 #ifdef DLL_SOURCE_CODE 213 #define DLL __declspec(dllexport) PROC_CALL 214 #define DLL_P __declspec(dllexport) * PROC_CALL 215 #define DLL_V __declspec(dllexport) 217 #define DLL __declspec(dllimport) PROC_CALL 218 #define DLL_P __declspec(dllimport) * PROC_CALL 219 #define DLL_V __declspec(dllimport) 223 #if defined(__BORLANDC__) 224 #ifdef DLL_SOURCE_CODE 225 #define DLL _export PROC_CALL 226 #define DLL_P _export * PROC_CALL 227 #define DLL_V _export 229 #define DLL _import PROC_CALL 230 #define DLL_P _import * PROC_CALL 231 #define DLL_V _import 246 #define CTYPE extern "C" 252 #define SE_LIBRARY_REVISION 3.00 254 #define SE_S_SUCCESS 1 259 #define SE_S_TIMEOUT -1 265 #define SE_K_AD_VOLT 0.1484375 266 #define SE_K_DA_VOLT 1.1875000 268 #define SE_ADV(a) ((a) * SE_K_AD_VOLT / 1000) 269 #define SE_VAD(a) ((a) * 1000 / SE_K_AD_VOLT) 270 #define SE_DAV(a) ((a) * SE_K_DA_VOLT / 1000) 271 #define SE_VDA(a) ((a) * 1000 / SE_K_DA_VOLT) 273 #define SE_ADKT(a) ((a) * 0.037109375 / 5.0) 274 #define SE_ADKC(a) ((a) * 0.037109375 / 5.0 - 273.15) 275 #define SE_ADKF(a) (SE_ADKC(a) * 1.8 - 32.0) 297 #define SE_AD_GAIN_1X 0 298 #define SE_AD_GAIN_2X 1 299 #define SE_AD_GAIN_4X 2 300 #define SE_AD_GAIN_5X 3 301 #define SE_AD_GAIN_8X 4 302 #define SE_AD_GAIN_10X 5 303 #define SE_AD_GAIN_16X 6 304 #define SE_AD_GAIN_32X 7 317 #define SE_P_TB_40_NS 0 318 #define SE_P_TB_1_US 1 319 #define SE_P_TB_1_MS 2 330 #define SE_PORT_OPTO 4 331 #define SE_PORT_POWER 5 332 #define SE_PORT_OPTO_IN 6 339 #define SE_PORT_OUT 1 345 #define SE_TRIGGER_DISABLE 0 346 #define SE_TRIGGER_INTA 1 347 #define SE_TRIGGER_INTB 2 348 #define SE_TRIGGER_P4_6_LOW 3 349 #define SE_TRIGGER_P4_6_HIGH 4 350 #define SE_TRIGGER_P4_7_LOW 5 351 #define SE_TRIGGER_P4_7_HIGH 6 357 #define SE_SPI_CK_12_5_MHZ 0 358 #define SE_SPI_CK_6_25_MHZ 1 359 #define SE_SPI_CK_4_08_MHZ 2 360 #define SE_SPI_CK_3_06_MHZ 3 361 #define SE_SPI_CK_2_45_MHZ 4 362 #define SE_SPI_CK_2_04_MHZ 5 363 #define SE_SPI_CK_1_75_MHZ 6 364 #define SE_SPI_CK_1_53_MHZ 7 365 #define SE_SPI_CK_1_36_MHZ 8 366 #define SE_SPI_CK_1_22_MHZ 9 372 #define SE_SPI_POL_PHA_00 0 373 #define SE_SPI_POL_PHA_01 1 374 #define SE_SPI_POL_PHA_10 2 375 #define SE_SPI_POL_PHA_11 3 389 #define SE_PID_OUT_DISABLE 0 390 #define SE_PID_OUT_PWM 1 391 #define SE_PID_OUT_DAC0 2 392 #define SE_PID_OUT_DAC1 3 398 #define SE_PID_UNIT_RAW 0 399 #define SE_PID_UNIT_MV 1 400 #define SE_PID_UNIT_MK 2 401 #define SE_PID_UNIT_MC 3 402 #define SE_PID_UNIT_MF 4 408 #define SE_PID_CHAN_00 1 409 #define SE_PID_CHAN_01 2 410 #define SE_PID_CHAN_02 4 411 #define SE_PID_CHAN_03 8 412 #define SE_PID_CHAN_04 16 413 #define SE_PID_CHAN_05 32 414 #define SE_PID_CHAN_06 64 415 #define SE_PID_CHAN_07 128 416 #define SE_PID_CHAN_08 256 417 #define SE_PID_CHAN_09 512 418 #define SE_PID_CHAN_10 1024 419 #define SE_PID_CHAN_11 2048 420 #define SE_PID_CHAN_12 4096 421 #define SE_PID_CHAN_13 8192 422 #define SE_PID_CHAN_14 16384 423 #define SE_PID_CHAN_15 32768 436 #define SE_MOT_DIR_CW 0 437 #define SE_MOT_DIR_CCW 1 450 #define SE_MOT_SLOPE_1 0 451 #define SE_MOT_SLOPE_2 1 452 #define SE_MOT_SLOPE_3 2 453 #define SE_MOT_SLOPE_4 3 454 #define SE_MOT_SLOPE_5 4 455 #define SE_MOT_SLOPE_6 5 456 #define SE_MOT_SLOPE_7 6 457 #define SE_MOT_SLOPE_8 7 458 #define SE_MOT_SLOPE_9 8 459 #define SE_MOT_SLOPE_10 9 465 #define SE_BRIDGE_NN 0 466 #define SE_BRIDGE_NP 1 467 #define SE_BRIDGE_PN 2 468 #define SE_BRIDGE_PP 3 469 #define SE_BRIDGE_BOOST 4 471 #define SE_BRIDGE_OFF_1 8 472 #define SE_BRIDGE_OFF_2 9 473 #define SE_BRIDGE_OFF_3 10 474 #define SE_BRIDGE_OFF_4 11 500 CTYPE
int DLL
SE_Open(
char sestilioId,
int usbDevice);
517 CTYPE
int DLL
SE_Close(
int usbDevice);
551 CTYPE
int DLL
SE_SetID(
char sestilioId,
int usbDevice);
595 CTYPE
unsigned DLL
SE_Counts(
int usbDevice);
611 CTYPE
int DLL
SE_WatchDog(
int timeout,
int usbDevice);
613 CTYPE
long DLL SE_DebugData(
int dataId,
int param0,
int param1,
int usbDevice);
631 CTYPE
const char DLL_P
SE_ReadData(
const char * command,
int rxed,
int usbDevice);
651 CTYPE
const char DLL_P
SE_ReadDataBinary(
const char * command,
int rxed,
int usbDevice);
662 CTYPE
int DLL
SE_ReadDataBinaryExt(
const char * command,
char * outBuf,
int rxed,
int usbDevice);
673 CTYPE
int DLL
SE_WriteDataBinary(
const char * command,
const char * buffer,
unsigned length,
int usbDevice);
682 CTYPE
int DLL
SE_Command(
const char * command,
int usbDevice);
691 CTYPE
void DLL
SE_CommandDeaf(
const char * command,
int usbDevice);
716 CTYPE
int DLL
SE_SetMux(
int chan,
int usbDevice);
726 CTYPE
int DLL
SE_SetGain(
int chan,
int gain,
int usbDevice);
752 CTYPE
int DLL
SE_FastReadAnalog(
int source,
int trigger,
unsigned period,
int samples,
int usbDevice);
772 CTYPE
unsigned short int DLL
SE_ReadAnalog(
int source,
int average,
int usbDevice);
783 CTYPE
int DLL
SE_FlowReadAnalog(
int source,
unsigned int num,
unsigned short int * outBuffer,
int usbDevice);
815 CTYPE
int DLL
SE_FastWriteAnalog(
int source,
int trigger,
unsigned period,
int samples,
int usbDevice);
834 CTYPE
const char DLL_P
SE_ReadRAM(
int source,
int address,
int num,
int usbDevice);
846 CTYPE
int DLL
SE_WriteRAM(
int source,
int address,
int num,
const char * buffer,
int usbDevice);
858 CTYPE
int DLL
SE_GetSampleData(
int source,
int address,
int num,
unsigned short int * outBuffer,
int usbDevice);
870 CTYPE
int DLL
SE_GetSampleDoubleData(
int source,
int address,
int num,
double * outBuffer,
int usbDevice);
883 CTYPE
int DLL
SE_GetSampleDoubleDataSplit(
int source,
int address,
int num,
double * outBuffer0,
double * outBuffer1,
int usbDevice);
895 CTYPE
int DLL
SE_PutSampleData(
int source,
int address,
int num,
unsigned short int * outBuffer,
int usbDevice);
905 CTYPE
const char DLL_P
SE_ReadEEPROM(
int address,
int num,
int usbDevice);
916 CTYPE
int DLL
SE_WriteEEPROM(
int address,
int num,
const char * buffer,
int usbDevice);
960 CTYPE
int DLL
SE_SetPortDirection(
int port,
int bit7,
int bit6,
int bit5,
int bit4,
int bit3,
int bit2,
int bit1,
int bit0,
int usbDevice);
988 CTYPE
int DLL
SE_WritePort(
int portAddress,
int portValue,
int usbDevice);
998 CTYPE
int DLL
SE_SetPortBit(
int portAddress,
int bit,
int usbDevice);
1008 CTYPE
int DLL
SE_ClrPortBit(
int portAddress,
int bit,
int usbDevice);
1029 CTYPE
int DLL
SE_ReadPort(
int portAddress,
int usbDevice);
1052 CTYPE
int DLL
SE_PortPulse(
int port,
int initialValue,
int finalValue,
int pulseWidth,
int timeBase,
int usbDevice);
1083 CTYPE
int DLL
SE_AuxPower(
int pwrCtrl,
int usbDevice);
1103 CTYPE
int DLL
SE_WriteSPI(
int address,
int slaveAddress,
int num,
const char * buffer,
int usbDevice);
1114 CTYPE
const char DLL_P
SE_ReadSPI(
int address,
int slaveAddress,
int num,
int usbDevice);
1126 CTYPE
const char DLL_P
SE_ReadWriteSPI(
int address,
int slaveAddress,
int num,
const char * buffer,
int usbDevice);
1136 CTYPE
int DLL
SE_SetClockSPI(
int speed,
int mode,
int usbDevice);
1146 CTYPE
int DLL
SE_CheckSPI(
int address,
int slaveAddress,
int usbDevice);
1166 CTYPE
int DLL
SE_TransientResponse(
int da,
int daValue,
unsigned period,
int samples,
int usbDevice);
1193 CTYPE
int DLL
SE_LinearScanner(
int dir,
long rows,
unsigned short int * outBuffer,
int usbDevice);
1210 CTYPE
unsigned int DLL
SE_ReadTemperature(
int adSource,
int muxChan,
int average,
int usbDevice);
1228 CTYPE
unsigned int DLL
SE_ReadCurrent(
int adSource,
int highVoltChan,
int lowVoltChan,
int range,
double refResistence,
int average,
int usbDevice);
1267 CTYPE
int DLL
SE_SetPID(
int pidID,
int controlOutput,
int adChannels,
int measureUnit,
int targetValue,
int controlMaxValue,
int behavior,
int usbDevice);
1279 CTYPE
int DLL
SE_SetPIDconstants(
int pidID,
int constantId,
int constantBase,
int constantDivider,
int usbDevice);
1297 CTYPE
unsigned short int DLL
SE_PIDdata(
int channel,
int usbDevice);
1338 CTYPE
int DLL
SE_MotorPositioning(
int dir0,
long steps0,
int dir1,
long steps1,
int usbDevice);
1362 CTYPE
int DLL
SE_SetMotorSlope(
int axis,
int slopeIndex,
int slope,
int usbDevice);
1377 CTYPE
int DLL
SE_SetMotorSpeed(
int axis,
int startDelay,
int endDelay,
int usbDevice);
1403 CTYPE
void DLL
SE_MotorCalibrate(
int dir0,
long steps0,
int dir1,
long steps1,
int bitAxis0,
int bitAxis1,
int usbDevice);
1473 CTYPE
int DLL
SE_AuxMotorPositCalib(
int id,
int dir,
int steps,
int delay,
int fcLevel,
int usbDevice);
1505 CTYPE
int DLL
SE_BridgePulse(
int bridge,
int activation,
int deactivation,
int activationWidth,
int deactivationWidth,
int timeBase,
int usbDevice);
1530 CTYPE
int DLL
SE_BridgeUntil(
int bridge,
int activation,
int portId,
int portBit,
int bitTrue,
int timeout,
int usbDevice);
1576 CTYPE
int DLL
SE_EspiRlWrite(
int board,
int value,
int usbDevice);
1586 CTYPE
int DLL
SE_EspiOpWrite(
int board,
int value,
int usbDevice);
1635 CTYPE
int DLL
SE_EspiRlSet(
int board,
int relay,
int ena,
int usbDevice);
1657 CTYPE
int DLL
SE_EspiOpSet(
int board,
int opto,
int ena,
int usbDevice);
1678 CTYPE
int DLL
SE_LsrDrvSet(
int board,
double current,
int usbDevice);
1687 CTYPE
double DLL
SE_LsrDrvGet(
int board,
int usbDevice);
CTYPE int DLL SE_FirmwareRev(int usbDevice)
Check Sestilio firmware revision number.
CTYPE const char DLL_P SE_ReadWriteSPI(int address, int slaveAddress, int num, const char *buffer, int usbDevice)
Write and at the same time read a stream of data from the SPI expansion bus.
CTYPE int DLL SE_SetPIDconstants(int pidID, int constantId, int constantBase, int constantDivider, int usbDevice)
Set some intrinsic PID constants.
CTYPE long DLL SE_ReadDataNumber(const char *command, int rxed, int usbDevice)
Send a command and get it's relative answer as long.
CTYPE int DLL SE_Open(char sestilioId, int usbDevice)
Open the connection with SESTILIO.
CTYPE int DLL SE_FastReadAnalog(int source, int trigger, unsigned period, int samples, int usbDevice)
Start a buffered sampling with one or two A/D converters. Sampled data is stored into RAM 0.
CTYPE int DLL SE_ReadPort(int portAddress, int usbDevice)
Allow to read of the selected port.
CTYPE unsigned int DLL SE_ReadTemperature(int adSource, int muxChan, int average, int usbDevice)
This command enables the realization of an accurate thermometer employing a AD590 sensor to that end.
CTYPE int DLL SE_GetSampleDoubleDataSplit(int source, int address, int num, double *outBuffer0, double *outBuffer1, int usbDevice)
RAM0 and RAM1 are used for sampling data, this command allow to read these devices.
CTYPE int DLL SE_SetPortDirection(int port, int bit7, int bit6, int bit5, int bit4, int bit3, int bit2, int bit1, int bit0, int usbDevice)
Allow to set direction (Input or Output) of the selected port.
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.
CTYPE int DLL SE_EspiBusInit(int speed, int usbDevice)
Init the SPI expansion bus.
CTYPE int DLL SE_WatchDog(int timeout, int usbDevice)
Set watchdog.
CTYPE int DLL SE_ClrPortBit(int portAddress, int bit, int usbDevice)
Allow to clear a bit on the selected port.
CTYPE int DLL SE_ReadDataBinaryExt(const char *command, char *outBuf, int rxed, int usbDevice)
Send a command and get it's relative answer to store in a buffer specified as parameter.
CTYPE int DLL SE_SetPID(int pidID, int controlOutput, int adChannels, int measureUnit, int targetValue, int controlMaxValue, int behavior, int usbDevice)
Enable SESTILIO as a temperature controller. Four simultaneous temperature controls are performed at ...
CTYPE int DLL SE_CheckAck(int usbDevice)
Check if an ACK is received from SESTILIO.
CTYPE int DLL SE_SetMotorSpeed(int axis, int startDelay, int endDelay, int usbDevice)
This command effects the speed setting of the motor on the selected axis. The setting adopts an accel...
CTYPE int DLL SE_SetMotorSlope(int axis, int slopeIndex, int slope, int usbDevice)
If the number of steps is sufficient, the setting command realizes an accelerating and decelerating r...
CTYPE int DLL SE_Status(int usbDevice)
Return the status of the last execute operation.
CTYPE int DLL SE_WriteRAM(int source, int address, int num, const char *buffer, int usbDevice)
RAM0 and RAM1 are used for sampling or signal generation, this command allow to write these devices.
CTYPE int DLL SE_EspiRlSet(int board, int relay, int ena, int usbDevice)
Turn on or off a relay on the ESPI-RL board.
CTYPE int DLL SE_FlowReadAnalog(int source, unsigned int num, unsigned short int *outBuffer, int usbDevice)
Maximum speed for A/D sample read. Is a procedure that sample the A/D converter at the maximum speed ...
CTYPE int DLL SE_TransientResponse(int da, int daValue, unsigned period, int samples, int usbDevice)
Perform transient response analysis. Sampling of data is performed with AD0 and AD1,...
CTYPE int DLL SE_AuxMotorPositCalib(int id, int dir, int steps, int delay, int fcLevel, int usbDevice)
Executes a positioning on specified axes in the direction of and by a maximum number of steps to find...
CTYPE long DLL SE_ReadMotorCount(int axis, int usbDevice)
After having launched a setting, it may be necessary to know how much time is needed to complete the ...
CTYPE const char DLL_P SE_ReadData(const char *command, int rxed, int usbDevice)
Send a command and get it's relative answer as character string.
CTYPE int DLL SE_PortPulse(int port, int initialValue, int finalValue, int pulseWidth, int timeBase, int usbDevice)
Generate a pulse on the specified port.
CTYPE unsigned DLL SE_Counts(int usbDevice)
Some procedures are long task, with this command is possible to check a countdown to the end of task.
CTYPE int DLL SE_PutSampleData(int source, int address, int num, unsigned short int *outBuffer, int usbDevice)
RAM0 and RAM1 are used for signal generation, this command allow to write these devices.
CTYPE const char DLL_P SE_ReadDataBinary(const char *command, int rxed, int usbDevice)
Send a command and get it's relative answer as a buffer of bytes.
CTYPE int DLL SE_EspiOpWrite(int board, int value, int usbDevice)
Write a value on the ESPI-OP board.
CTYPE const char DLL_P SE_ReadEEPROM(int address, int num, int usbDevice)
SESTILIO have an EEPROM of 128Kbyte for user data, this command allow to read this devices.
CTYPE int DLL SE_WriteEEPROM(int address, int num, const char *buffer, int usbDevice)
SESTILIO have an EEPROM of 128Kbyte for user data, this command allow to write this devices.
CTYPE int DLL SE_EspiOpOutRead(int board, int usbDevice)
Read the status of the opto-coupled output port from the ESPI-OP board.
CTYPE int DLL SE_PwmOptoCoupledPowerPort(int bitSelect, int enable, int lowWidth, int highWidth, int usbDevice)
Start (or stop) a PWM the optically decoupled power port.
CTYPE int DLL SE_WritePort(int portAddress, int portValue, int usbDevice)
Allow to write on the selected port.
CTYPE int DLL SE_SetMux(int chan, int usbDevice)
Select a multiplexer channel.
CTYPE int DLL SE_CPUtemperature(int usbDevice)
Read Sestilio CPU temperature.
CTYPE int DLL SE_LinearScanner(int dir, long rows, unsigned short int *outBuffer, int usbDevice)
With the optional module LINCAM-1 SESTILIO can be used to implement an image scanner....
CTYPE unsigned short int DLL SE_ReadAnalog(int source, int average, int usbDevice)
Start a sampling with a selected A/D converters.
CTYPE int DLL SE_GetSampleData(int source, int address, int num, unsigned short int *outBuffer, int usbDevice)
RAM0 and RAM1 are used for sampling data, this command allow to read these devices.
CTYPE int DLL SE_EspiRlInit(int board, int usbDevice)
Init ESPI-RL board connected on SPI expansion bus.
CTYPE int DLL SE_SetPortBit(int portAddress, int bit, int usbDevice)
Allow to set a bit on the selected port.
CTYPE int DLL SE_ClrCounts(int usbDevice)
Clear the countdown.
CTYPE unsigned int DLL SE_ReadCurrent(int adSource, int highVoltChan, int lowVoltChan, int range, double refResistence, int average, int usbDevice)
This command enables the realization of an accurate ammeter using an external resistance and two A/D ...
CTYPE int DLL SE_AuxPower(int pwrCtrl, int usbDevice)
Turn on/off the power on Y4.16, maximum allowed current is 50mA.
CTYPE int DLL SE_Command(const char *command, int usbDevice)
Send a specified command without any parameters.
CTYPE int DLL SE_SetGain(int chan, int gain, int usbDevice)
Select a gain for specified channel. Gain control is available for group of channels 0-7 and 8-15.
CTYPE int DLL SE_Close(int usbDevice)
Close the connection with SESTILIO. This procedure must be execute at the end of your program.
CTYPE int DLL SE_CheckSPI(int address, int slaveAddress, int usbDevice)
Return the logic level of the MISO line.
CTYPE int DLL SE_SetMotorEnable(int axis, int enable, int usbDevice)
Turn on/off the motor. After a positioning the motor is always on, this can be useful for a great hol...
CTYPE int DLL SE_WriteKPortConfig(int regAdd, int regValue, int usbDevice)
Allow to write a register of the Port Expander (MCP23S17) used for PORT A and B.
CTYPE int DLL SE_SetPIDtimeBase(int timeBaseMultiplier, int usbDevice)
The PID is a preset value and runs a cycle every 100 mS.This command enables modification of before m...
CTYPE int DLL SE_EspiOpSet(int board, int opto, int ena, int usbDevice)
Turn on or off an opto-coupled power output on the ESPI-OP board.
CTYPE int DLL SE_WriteAnalogDual(int val0, int val1, int usbDevice)
Set all DACs to a requested value at the same time.
CTYPE unsigned short int DLL SE_PIDdata(int channel, int usbDevice)
Read the PID data value.
CTYPE int DLL SE_EspiRlRead(int board, int usbDevice)
Read the set relay from the ESPI-RL board.
CTYPE int DLL SE_FastWriteAnalog(int source, int trigger, unsigned period, int samples, int usbDevice)
Is a function generator on one or two DACs at the same time.
CTYPE int DLL SE_ReadKPortConfig(int regAdd, int usbDevice)
Allow to read a register of the Port Expander (MCP23S17) used for PORT A and B.
CTYPE int DLL SE_CheckPortBit(int port, int bit, int usbDevice)
Check a bit of the opto-coupled port.
CTYPE int DLL SE_EspiOpRead(int board, int usbDevice)
Read the opto-coupled input from the ESPI-OP board.
CTYPE int DLL SE_WriteDataBinary(const char *command, const char *buffer, unsigned length, int usbDevice)
Send a specified command and it's buffer of parameters.
CTYPE int DLL SE_EspiRlWrite(int board, int value, int usbDevice)
Write a value on the ESPI-RL board.
CTYPE void DLL SE_CommandDeaf(const char *command, int usbDevice)
Send a specified command without any parameters and without wait ACK from SESTILIO.
CTYPE int DLL SE_GetSampleDoubleData(int source, int address, int num, double *outBuffer, int usbDevice)
RAM0 and RAM1 are used for sampling data, this command allow to read these devices.
CTYPE const char DLL_P SE_ReadSPI(int address, int slaveAddress, int num, int usbDevice)
Read a stream of data from the SPI expansion bus.
CTYPE int DLL SE_AuxMotorPositioning(int id, int dir, int steps, int delay, int usbDevice)
Executes a positioning on specified axes in the direction of and by the specified number of steps....
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.
CTYPE int DLL SE_SetID(char sestilioId, int usbDevice)
Set a new ID for connected SESTILIO. As factory setting the ID is set to '0'.
CTYPE void DLL SE_MotorCalibrate(int dir0, long steps0, int dir1, long steps1, int bitAxis0, int bitAxis1, int usbDevice)
Command allowing calibration of one or more axes at a time. Executes a maximum number of steps until ...
CTYPE double DLL SE_LsrDrvGet(int board, int usbDevice)
Measure the current set on LSR-PWR1 board on ESPI bus.
CTYPE int DLL SE_WriteSPI(int address, int slaveAddress, int num, const char *buffer, int usbDevice)
Write a stream of data on SPI expansion bus.
CTYPE int DLL SE_LsrDrvSet(int board, double current, int usbDevice)
Set the current for LSR-PWR1 board on ESPI bus.
CTYPE unsigned DLL SE_NumOfDevices()
How many SESTILIO are connected?.
CTYPE int DLL SE_EspiOpInit(int board, int usbDevice)
Init ESPI-OP board connected on SPI expansion bus.
CTYPE int DLL SE_WriteAnalog(int chan, int value, int usbDevice)
Set a specified DAC to a requested value.
CTYPE int DLL SE_SetClockSPI(int speed, int mode, int usbDevice)
Set the SPI clock.
CTYPE const char DLL_P SE_ReadRAM(int source, int address, int num, int usbDevice)
RAM0 and RAM1 are used for sampling or signal generation, this command allow to read these devices.
CTYPE int DLL SE_MotorPositioning(int dir0, long steps0, int dir1, long steps1, int usbDevice)
Executes a positioning on two axes in the direction of and by the specified number of steps.