Functions

EventOccurMethods

Functions

const bool dataqsdk::ControlError (long int &Code)
 Determines the last library error.
virtual const bool dsdk::ControlError (long int &Code)
 Determines the last library error.
const bool dataqsdk::NewData (long int &Count)
 Determines whether new data is available according to the event point.
virtual const bool dsdk::NewData (long int &Count)
 Determines whether new data is available according to the event point.
const bool di194_dsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.
virtual const bool dsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.
const bool dataqsdk::OverRun ()
 Determines whether the input buffer OR the device buffer overflowed.

Detailed Description

Return true when the event occurs and update their arguments with the proper value.


Function Documentation

const bool dataqsdk::ControlError ( long int &  Code ) [inherited]

Gives priority to other internal library errors over interface class errors.

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Parameters:
CodeWill be changed to the value of the last error.
Returns:
False = No error.
True = Error occurred. Check the parameter for the actual value.

Definition at line 1139 of file dataqsdk.cpp.

const bool dsdk::ControlError ( long int &  Code ) [virtual, inherited]
Parameters:
CodeWill be changed to the value of the last error.
Returns:
False = No error.
True = Error occurred. Check the parameter for the actual value.

Definition at line 372 of file dsdk.cpp.

const bool dataqsdk::NewData ( long int &  Count ) [inherited]

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Parameters:
CountNumber of new data points.
Returns:
True = There is new data available.
False = There isn't any new data available.

Definition at line 1176 of file dataqsdk.cpp.

const bool dsdk::NewData ( long int &  Count ) [virtual, inherited]
Parameters:
CountNumber of new data points.
Returns:
True = There is new data available.
False = There isn't any new data available.

Definition at line 389 of file dsdk.cpp.

Here is the call graph for this function:

const bool di194_dsdk::OverRun (  ) [virtual, inherited]

This error may be misleading if someone recompiled their kernel with different serial buffer sizes. Current size is: (DI_SERIAL_BUFFER_SIZE).

Error Codes set:
ENOLINK = Not connected.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = One of the two buffers overflowed.

Reimplemented from dsdk.

Definition at line 899 of file di194.cpp.

Here is the call graph for this function:

const bool dsdk::OverRun (  ) [virtual, inherited]

This error may be misleading if someone recompiled their kernel with different serial buffer sizes.

Error Codes set:
ENOSYS = Function not supported.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = A buffer overflowed.

Reimplemented in di194_dsdk.

Definition at line 413 of file dsdk.cpp.

const bool dataqsdk::OverRun (  ) [inherited]

This error may be misleading if someone recompiled their kernel with different serial buffer sizes.

Error Codes set:
ENODEV = No device specified.
ENOSYS = Function not supported.
Other codes are device dependent.

Precondition:
Connected.
Returns:
False = Everything is OK.
True = A buffer overflowed.

Definition at line 1201 of file dataqsdk.cpp.