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_Open (char sestilioId, int usbDevice) |
Open the connection with SESTILIO. More... | |
CTYPE int DLL | SE_Close (int usbDevice) |
Close the connection with SESTILIO. This procedure must be execute at the end of your program. More... | |
CTYPE unsigned DLL | SE_NumOfDevices () |
How many SESTILIO are connected?. More... | |
CTYPE int DLL | SE_Status (int usbDevice) |
Return the status of the last execute operation. More... | |
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'. More... | |
CTYPE int DLL | SE_FirmwareRev (int usbDevice) |
Check Sestilio firmware revision number. More... | |
CTYPE int DLL | SE_CPUtemperature (int usbDevice) |
Read Sestilio CPU temperature. More... | |
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. More... | |
CTYPE int DLL | SE_ClrCounts (int usbDevice) |
Clear the countdown. More... | |
CTYPE int DLL | SE_WatchDog (int timeout, int usbDevice) |
Set watchdog. More... | |
CTYPE long DLL | SE_DebugData (int dataId, int param0, int param1, int usbDevice) |
Collection of functions for the primary controls of the USB connection and SESTILIO initialization.
int SE_Close | ( | int | usbDevice | ) |
Close the connection with SESTILIO. This procedure must be execute at the end of your program.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 38 of file sestilio.cpp.
int SE_ClrCounts | ( | int | usbDevice | ) |
Clear the countdown.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 322 of file sestilio.cpp.
unsigned SE_Counts | ( | int | usbDevice | ) |
Some procedures are long task, with this command is possible to check a countdown to the end of task.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 317 of file sestilio.cpp.
int SE_CPUtemperature | ( | int | usbDevice | ) |
Read Sestilio CPU temperature.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 332 of file sestilio.cpp.
int SE_FirmwareRev | ( | int | usbDevice | ) |
Check Sestilio firmware revision number.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 327 of file sestilio.cpp.
unsigned SE_NumOfDevices | ( | ) |
How many SESTILIO are connected?.
Definition at line 48 of file sestilio.cpp.
int SE_Open | ( | char | sestilioId, |
int | usbDevice | ||
) |
Open the connection with SESTILIO.
sestilioId | Specify the SESTILIO identifier. This is a character used to control several SESTILIOs on the same serial port. As factory settings this value is always set to '0'. |
usbDevice | Specify a SESTILIO USB identifier. Is possible to connect up to 128 SESTILIO on the USB. If only one SESTILIO is present on the USB this parameter is set to 0. |
Definition at line 14 of file sestilio.cpp.
int SE_SetID | ( | char | sestilioId, |
int | usbDevice | ||
) |
Set a new ID for connected SESTILIO. As factory setting the ID is set to '0'.
sestilioId | Specify the SESTILIO identifier. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 194 of file sestilio.cpp.
int SE_Status | ( | int | usbDevice | ) |
Return the status of the last execute operation.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 53 of file sestilio.cpp.
int SE_WatchDog | ( | int | timeout, |
int | usbDevice | ||
) |
Set watchdog.
timeout | Loop counter. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 867 of file sestilio.cpp.