SESTILIO  3.0.2
C Library for SESTILIO a smart A/D and D/A interface on USB 2.0
Memory controls

Functions

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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 

Detailed Description

Basic functions used to read or write user memory.

Function Documentation

◆ SE_GetSampleData()

int 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM. RAM Selection
addressRAM starting address to begin the read.
numNumber of words (16 bit) to read from the RAM.
outBufferWhere read data will be stored.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_PutSampleData, SE_GetSampleDoubleData.
Returns
Operation status. Operation Status

Definition at line 286 of file sestilio.cpp.

◆ SE_GetSampleDoubleData()

int 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM. RAM Selection
addressRAM starting address to begin the read.
numNumber of words (16 bit) to read from the RAM.
outBufferWhere read data will be stored.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_PutSampleData, SE_GetSampleData.
Returns
Operation status. Operation Status

Definition at line 292 of file sestilio.cpp.

◆ SE_GetSampleDoubleDataSplit()

int 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM. RAM Selection
addressRAM starting address to begin the read.
numNumber of words (16 bit) to read from the RAM.
outBuffer0Where read data will be stored.
outBuffer1Where read data will be stored.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_PutSampleData, SE_GetSampleData.
Returns
Operation status. Operation Status

Definition at line 303 of file sestilio.cpp.

◆ SE_PutSampleData()

int 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM. RAM Selection
addressRAM starting address to begin the write.
numNumber of words (16 bit) to write into the RAM.
outBufferData buffer for writing.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_GetSampleData, SE_GetSampleDoubleData.
Returns
Operation status. Operation Status

Definition at line 281 of file sestilio.cpp.

◆ SE_ReadEEPROM()

const char * SE_ReadEEPROM ( int  address,
int  num,
int  usbDevice 
)

SESTILIO have an EEPROM of 128Kbyte for user data, this command allow to read this devices.

Parameters
addressEEPROM starting address to begin the read.
numNumber of bytes to read from the EEPROM. Intrinsic EEPROM hardware allow a maximum of 256 byte read at the same time. Higher value are performed with multiple operations of read.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_WriteEEPROM.
Returns
The buffer of EEPROM data.

Definition at line 417 of file sestilio.cpp.

◆ SE_ReadRAM()

const char * 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM.
addressRAM starting address to begin the read.
numNumber of bytes to read from the RAM.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_WriteRAM.
Returns
The buffer of RAM data.

Definition at line 267 of file sestilio.cpp.

◆ SE_WriteEEPROM()

int 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.

Parameters
addressEEPROM starting address to begin the write.
numNumber of bytes to write into the EEPROM. Intrinsic EEPROM hardware allow a maximum of 256 byte write at the same time. Higher value are performed with multiple operations of write.
bufferData buffer for writing.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_ReadEEPROM.
Returns
Operation status. Operation Status

Definition at line 441 of file sestilio.cpp.

◆ SE_WriteRAM()

int 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.

Parameters
sourceRAM selection. 0 = RAM0, 1 = RAM. RAM Selection
addressRAM starting address to begin the write.
numNumber of bytes to write into the RAM.
bufferData buffer for writing.
usbDeviceSpecify a SESTILIO USB identifier.
See also
SE_ReadRAM.
Returns
Operation status. Operation Status

Definition at line 274 of file sestilio.cpp.