#include <otDAQ.h>
Public Types | |
| enum | DataType { DT_U8, DT_S8, DT_U16, DT_S16, DT_U32, DT_S32 } |
Public Member Functions | |
| otDAQ () | |
| bool | init (otUSB *usb) |
| void | imageCreate (otImage &image, bool wtb=false) |
| void | imageShow (otImage &image, bool dataAlign=false) |
| void | imageTimings (U32 etUs, U32 timeBase=1000) |
| void | plotOpen (const char *plotTitle, const char *leftLegend, const char *rightLegend) |
| void | plotCurve (U16 id, const char *dataName, U32 num, S16 *data) |
| void | plotUpdate (U16 id, U32 num, S16 *data) |
| void | showArray (void *data, U8 dataType, U16 columns, U16 rows=1) |
| void | saveData (const char *filePathName, const void *data, U32 num) |
| void | pause (bool wait=true) |
| void | messageBox (const char *text, bool wait=true) |
| bool | isDialogClose () |
| bool | lastProcessComplete () |
| U32 | freeUsbCommandIndex () |
|
|
|
|
|
Create the class |
|
|
This class adds commands to the USB manager, any commands that need to be added to the manager by the user must have an index starting from the value returned by this function.
|
|
||||||||||||
|
Create an image on the remote desktop
|
|
||||||||||||
|
Refresh the image on the desktop
|
|
||||||||||||
|
Specifies the image capture interval for the desktop image.
|
|
|
Init the class
|
|
|
Check if a dialog box is closed or not.
|
|
|
Check if a last process is completed or not.
|
|
||||||||||||
|
Create a custom MessageBox but has the same functionality as the "pause" method
|
|
|
It blocks the progress of the embedded program and waits for the MessageBox to be closed from the desktop
|
|
||||||||||||||||||||
|
Create a curve for the plot area
|
|
||||||||||||||||
|
Opens a PLOT area on the desktop
|
|
||||||||||||||||
|
Update the plot with the new data
|
|
||||||||||||||||
|
Saves a block of data to a specified file on the desktop
|
|
||||||||||||||||||||
|
Displays an array of data
|