Functions | |
long | AddBufferValue (__int3264 lHandle, long *lpvValue, long lPosition) |
Inserts a value to a buffer of the Draw Graph Control. The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control. More... | |
long | AddBufferValueVB (__int3264 lHandle, VARIANT Value, long lPosition) |
Inserts a value to a buffer of the Draw Graph Control. The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control. More... | |
long | AddDataBuffer (__int3264 *lHandle, __int3264 lDataBuffer, long lDataBufferEntries, long lDataBufferEntrySize, OLE_COLOR OCColor) |
Adds a data buffer to the tool. More... | |
long | AddDataBufferVBDouble (__int3264 *lHandle, double *dDataBuffer, long lDataBufferEntries, long lDataBufferEntrySize, OLE_COLOR OCColor) |
Adds a data buffer of Double values to the tool. More... | |
long | AddDataBufferVBLong (__int3264 *lHandle, long *lDataBuffer, long lDataBufferEntries, long lDataBufferEntrySize, OLE_COLOR OCColor) |
Adds a data buffer of Long values to the tool. More... | |
long | AddFIFOValue (__int3264 lHandle, long *lpvValue) |
Inserts a value to a FIFO style buffer of the Draw Graph Control. The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control. More... | |
long | AddFIFOValueVB (__int3264 lHandle, VARIANT Value) |
Inserts a value to a FIFO style buffer of the Draw Graph Control. The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control. More... | |
long | ConnectDGSList (__int3264 lHandle) |
This function connects a DGSList from another DrawGraph object or LightMeter object to the control. More... | |
long | CreateDataBuffer (__int3264 *lHandle, __int3264 *lDataBuffer, long lDataBufferEntries, long lDataBufferEntrySize, OLE_COLOR OCColor) |
Creates a data buffer which is allocated from the Draw Graph Control. More... | |
long | DeleteAllDataBuffers () |
Remove all data buffers from the control. This function removes only buffers which are attached with any of the AddDataBuffer* methods. A connected DGSList is not influenced. More... | |
long | DeleteDataBuffer (__int3264 *lHandle) |
Deletes a data buffer attached to the control. The method gets the handle which was returned from any of the AddDataBuffer* functions to disconnect the data buffer. More... | |
long | DisconnectDGSList (__int3264 lDGSList) |
Disconnects a formerly connected DGSList from the control. More... | |
long | GetFIFOPosition (__int3264 lHandle, long *lPosition) |
Get the current position in the FIFO ring buffer. More... | |
long | GetGraphColor (__int3264 lHandle, OLE_COLOR *OCColor) |
Returns the draw color of a specific data buffer. More... | |
long | GetProcessFlag (__int3264 lHandle, boolean *boProcessFlag) |
Returns the process flag of a specific data buffer. More... | |
double | GetStopWatch (long lIndex) |
Measures the time between two calls of the function with the same Index value. A call to this function returns the time when the function with the same index was called last. More than one stopwatch can be used at the same time to measure time interval. The index specifies which stopwatch to use. The first call to a stopwatch returns a undefined value. More... | |
void | Refresh () |
Executes the DrawGraph Control and refreshes the display. This initiates a painting of all data buffers attached. More... | |
long | SetAllFIFOPositions (long lPosition) |
Set the current position of all available the FIFO ring buffers. This function is useful to reset all buffers to a value e.g. 0. More... | |
long | SetFIFOPosition (__int3264 lHandle, long lPosition) |
Set the current position in the FIFO ring buffer. More... | |
long | SetGraphColor (__int3264 lHandle, OLE_COLOR OCColor) |
Sets the draw color of a specific data buffer. This initiates a painting of all data buffers attached. More... | |
long | SetProcessFlag (__int3264 lHandle, boolean boProcessFlag) |
Sets the process flag of a specific data buffer. This flag is used to enable or disable the drawing of a specific data buffer included in the control. More... | |
long AddBufferValue | ( | __int3264 | lHandle, |
long * | lpvValue, | ||
long | lPosition | ||
) |
Inserts a value to a buffer of the Draw Graph Control.
The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control.
[in] | lHandle | Handle to the buffer in the DrawGraph Control. |
[in] | lpvValue | Pointer to the value to insert. |
[in] | lPosition | Position in the data buffer array where the value is inserted. |
0
if succeeded. long AddBufferValueVB | ( | __int3264 | lHandle, |
VARIANT | Value, | ||
long | lPosition | ||
) |
Inserts a value to a buffer of the Draw Graph Control. The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control.
[in] | lHandle | Handle to the buffer in the DrawGraph Control. |
[in] | Value | Value to insert as Variant. |
[in] | lPosition | Position in the data buffer array where the value is inserted. |
0
if succeeded. long AddDataBuffer | ( | __int3264 * | lHandle, |
__int3264 | lDataBuffer, | ||
long | lDataBufferEntries, | ||
long | lDataBufferEntrySize, | ||
OLE_COLOR | OCColor | ||
) |
Adds a data buffer to the tool.
[out] | lHandle | Handle returned to access the buffer in the DrawGraph Control. |
[in] | lDataBuffer | Pointer to the first element of the data buffer. |
[in] | lDataBufferEntries | Number of entries in the data buffer. |
[in] | lDataBufferEntrySize | Size of a single entry in the data buffer in byte. |
[in] | OCColor | Color of the graph as RGB(x,x,x). |
0
if succeeded. long AddDataBufferVBDouble | ( | __int3264 * | lHandle, |
double * | dDataBuffer, | ||
long | lDataBufferEntries, | ||
long | lDataBufferEntrySize, | ||
OLE_COLOR | OCColor | ||
) |
Adds a data buffer of Double
values to the tool.
[out] | lHandle | Handle returned to access the buffer in the DrawGraph Control. |
[in] | dDataBuffer | Pointer to the first element of the data buffer. |
[in] | lDataBufferEntries | Number of entries in the data buffer. |
[in] | lDataBufferEntrySize | Size of a single entry in the data buffer in byte. |
[in] | OCColor | Color of the graph as RGB(x,x,x). |
0
if succeeded. long AddDataBufferVBLong | ( | __int3264 * | lHandle, |
long * | lDataBuffer, | ||
long | lDataBufferEntries, | ||
long | lDataBufferEntrySize, | ||
OLE_COLOR | OCColor | ||
) |
Adds a data buffer of Long
values to the tool.
[out] | lHandle | Handle returned to access the buffer in the DrawGraph Control. |
[in] | lDataBuffer | Pointer to the first element of the data buffer. |
[in] | lDataBufferEntries | Number of entries in the data buffer. |
[in] | lDataBufferEntrySize | Size of a single entry in the data buffer in byte. |
[in] | OCColor | Color of the graph as RGB(x,x,x). |
0
if succeeded. long AddFIFOValue | ( | __int3264 | lHandle, |
long * | lpvValue | ||
) |
Inserts a value to a FIFO style buffer of the Draw Graph Control.
The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control.
[in] | lHandle | Handle to the buffer in the DrawGraph Control. |
[in] | lpvValue | Pointer to the value to insert. |
0
if succeeded. long AddFIFOValueVB | ( | __int3264 | lHandle, |
VARIANT | Value | ||
) |
Inserts a value to a FIFO style buffer of the Draw Graph Control.
The buffer can be allocated externally and added to the Draw Graph Control with the AddDataBuffer method or can be created with the CreateDataBuffer method where the buffer is allocated from the Draw Graph Control.
[in] | lHandle | Handle to the buffer in the DrawGraph Control. |
[in] | Value | Value to insert as Variant. |
0
if succeeded. long ConnectDGSList | ( | __int3264 | lHandle | ) |
long CreateDataBuffer | ( | __int3264 * | lHandle, |
__int3264 * | lDataBuffer, | ||
long | lDataBufferEntries, | ||
long | lDataBufferEntrySize, | ||
OLE_COLOR | OCColor | ||
) |
Creates a data buffer which is allocated from the Draw Graph Control.
Some functions described later in this chapter are used to do this in Visual Basic.
[out] | lHandle | Handle returned to access the buffer in the DrawGraph Control. |
[in] | lDataBuffer | Pointer to the first element of the data buffer. |
[in] | lDataBufferEntries | Number of entries in the data buffer. |
[in] | lDataBufferEntrySize | Size of a single entry in the data buffer in byte. |
[in] | OCColor | Color of the graph as RGB(x,x,x). |
0
if succeeded. long DeleteAllDataBuffers | ( | ) |
Remove all data buffers from the control. This function removes only buffers which are attached with any of the AddDataBuffer* methods. A connected DGSList is not influenced.
0
if succeeded. long DeleteDataBuffer | ( | __int3264 * | lHandle | ) |
Deletes a data buffer attached to the control. The method gets the handle which was returned from any of the AddDataBuffer* functions to disconnect the data buffer.
[in] | lHandle | Handle to the data buffer object. |
0
if succeeded. long DisconnectDGSList | ( | __int3264 | lDGSList | ) |
long GetFIFOPosition | ( | __int3264 | lHandle, |
long * | lPosition | ||
) |
Get the current position in the FIFO ring buffer.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[out] | lPosition | Position of the current FIFO ring buffer. |
0
if succeeded. long GetGraphColor | ( | __int3264 | lHandle, |
OLE_COLOR * | OCColor | ||
) |
Returns the draw color of a specific data buffer.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[out] | OCColor | Draw color as RGB(x,x,x). |
0
if succeeded. long GetProcessFlag | ( | __int3264 | lHandle, |
boolean * | boProcessFlag | ||
) |
Returns the process flag of a specific data buffer.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[out] | boProcessFlag | Process Flag. |
0
if succeeded. double GetStopWatch | ( | long | lIndex | ) |
Measures the time between two calls of the function with the same Index value. A call to this function returns the time when the function with the same index was called last. More than one stopwatch can be used at the same time to measure time interval. The index specifies which stopwatch to use. The first call to a stopwatch returns a undefined value.
[in] | lIndex | Index of the stopwatch to read (0 - 49). |
void Refresh | ( | ) |
long SetAllFIFOPositions | ( | long | lPosition | ) |
Set the current position of all available the FIFO ring buffers. This function is useful to reset all buffers to a value e.g. 0.
[in] | lPosition | Position of the current FIFO ring buffer. |
0
if succeeded. long SetFIFOPosition | ( | __int3264 | lHandle, |
long | lPosition | ||
) |
Set the current position in the FIFO ring buffer.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[in] | lPosition | Position of the current FIFO ring buffer. |
0
if succeeded. long SetGraphColor | ( | __int3264 | lHandle, |
OLE_COLOR | OCColor | ||
) |
Sets the draw color of a specific data buffer. This initiates a painting of all data buffers attached.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[in] | OCColor | Draw color as RGB(x,x,x). |
0
if succeeded. long SetProcessFlag | ( | __int3264 | lHandle, |
boolean | boProcessFlag | ||
) |
Sets the process flag of a specific data buffer. This flag is used to enable or disable the drawing of a specific data buffer included in the control.
[in] | lHandle | Handle to a buffer in the DrawGraph Control. |
[in] | boProcessFlag | Process Flag. |
0
if succeeded.