SESTILIO
3.0.2
C Library for SESTILIO a smart A/D and D/A interface on USB 2.0
|
Functions | |
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. More... | |
CTYPE long DLL | SE_ReadDataNumber (const char *command, int rxed, int usbDevice) |
Send a command and get it's relative answer as long. More... | |
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. More... | |
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. More... | |
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. More... | |
CTYPE int DLL | SE_Command (const char *command, int usbDevice) |
Send a specified command without any parameters. More... | |
CTYPE void DLL | SE_CommandDeaf (const char *command, int usbDevice) |
Send a specified command without any parameters and without wait ACK from SESTILIO. More... | |
CTYPE int DLL | SE_CheckAck (int usbDevice) |
Check if an ACK is received from SESTILIO. More... | |
Functions used by library itself for send and receive data to/from SESTILIO.
int SE_CheckAck | ( | int | usbDevice | ) |
Check if an ACK is received from SESTILIO.
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 178 of file sestilio.cpp.
int SE_Command | ( | const char * | command, |
int | usbDevice | ||
) |
Send a specified command without any parameters.
command | Command to send. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 153 of file sestilio.cpp.
void SE_CommandDeaf | ( | const char * | command, |
int | usbDevice | ||
) |
Send a specified command without any parameters and without wait ACK from SESTILIO.
command | Command to send. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 169 of file sestilio.cpp.
const char * SE_ReadData | ( | const char * | command, |
int | rxed, | ||
int | usbDevice | ||
) |
Send a command and get it's relative answer as character string.
command | Command to send. |
rxed | Number of character to receive from the command. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 58 of file sestilio.cpp.
const char * SE_ReadDataBinary | ( | const char * | command, |
int | rxed, | ||
int | usbDevice | ||
) |
Send a command and get it's relative answer as a buffer of bytes.
command | Command to send. |
rxed | Number of bytes to receive from the command. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 90 of file sestilio.cpp.
int 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.
command | Command to send. |
outBuf | Output buffer. |
rxed | Number of bytes to receive from the command. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 115 of file sestilio.cpp.
long SE_ReadDataNumber | ( | const char * | command, |
int | rxed, | ||
int | usbDevice | ||
) |
Send a command and get it's relative answer as long.
command | Command to send. |
rxed | Number of digits to receive from the command. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 145 of file sestilio.cpp.
int SE_WriteDataBinary | ( | const char * | command, |
const char * | buffer, | ||
unsigned | length, | ||
int | usbDevice | ||
) |
Send a specified command and it's buffer of parameters.
command | Command to send. |
buffer | Parameters buffer. |
length | Number of parameters to send. |
usbDevice | Specify a SESTILIO USB identifier. |
Definition at line 130 of file sestilio.cpp.