Functions

SetProperties

Functions

void dataqsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.
void di194_dsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.
virtual void dsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.
void dataqsdk::ADCounter (const long int Counter)
virtual void dsdk::ADCounter (const long int Counter)
virtual void dsdk::BurstCounter (const long int BurstCounter)
void dataqsdk::BurstCounter (const long int BurstCounter)
void dataqsdk::DeviceFile (const char *const DeviceFile)
 Device file path and name used to connect to the device.
virtual void dsdk::DeviceFile (const char *const DeviceFile)
 Device file path and name used to connect to the device.
void di194_dsdk::EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.
void dataqsdk::EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.
virtual void dsdk::EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.
void dataqsdk::MaxBurstRate (const double MaxBurstRt)
 Maximum sampling rate of combined channels.
virtual void dsdk::MaxBurstRate (const double MaxBurstRt)
 Maximum sampling rate of combined channels.
void dataqsdk::ProductName (const char *const ProductName)
void dataqsdk::SampleRate (const double SampleRt)
 Requested sample rate.
void di194_dsdk::SampleRate (const double SampleRt)
 Requested sample rate.
virtual void dsdk::SampleRate (const double SampleRt)
 Requested sample rate.
void dataqsdk::TrigHysteresisIdx (const int Hidx)
virtual void dsdk::TrigHysteresisIdx (const int Hidx)
virtual void dsdk::TrigLevel (const int Level)
void dataqsdk::TrigLevel (const int Level)
void dataqsdk::TrigMode (const int Mode)
virtual void dsdk::TrigMode (const int Mode)
virtual void dsdk::TrigPostLength (const int PostLength)
void dataqsdk::TrigPostLength (const int PostLength)
virtual void dsdk::TrigPreLength (const int PreLength)
void dataqsdk::TrigPreLength (const int PreLength)
void dataqsdk::TrigScnChnIdx (const int SCidx)
virtual void dsdk::TrigScnChnIdx (const int SCidx)
void dataqsdk::TrigSlope (const int Slope)
virtual void dsdk::TrigSlope (const int Slope)

Function Documentation

void dataqsdk::ADChannelCount ( const int  ChannelCount ) [inherited]

Overall number of channels to scan.

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

Precondition:
Device dependent.
Parameters:
ChannelCountNumber of channels to scan.

Definition at line 470 of file dataqsdk.cpp.

void di194_dsdk::ADChannelCount ( const int  ChannelCount ) [virtual, inherited]

Overall number of channels to scan. All digital ports count as one channel here. The digital ports are all either acquiring or not, together. Sets default values for anything affected by changing the number of channels being scanned.

  • Lists:
    • m_ADChannelList
      Normal order.
    • m_ADMethodList
      IOS Average for analog, IOS Last Point for digital.
    • chan_order
      Normal order.
  • If all channels are requested, changes last one to digital.
  • Calls SampleRate() function with current value. Allows it to be checked.
  • Tells device what channels to scan.

Error Codes set:
EBUSY = Acquiring.
ENOLINK = Device not connected.
EBOUNDS = Parameter out of bounds.
Errors set by Dcmd().
Errors set by Ccmd().

Precondition:
Not acquiring.
Connected.
Bounds between 1 and DI194_CHANNELS
Parameters:
ChannelCountNumber of channels to scan.

Reimplemented from dsdk.

Definition at line 207 of file di194.cpp.

Here is the call graph for this function:

void dsdk::ADChannelCount ( const int  ChannelCount ) [virtual, inherited]

Reimplemented in di194_dsdk.

Definition at line 200 of file dsdk.cpp.

void dataqsdk::ADCounter ( const long int  Counter ) [inherited]

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

Parameters:
CounterNOT FINISHED

Definition at line 490 of file dataqsdk.cpp.

void dsdk::ADCounter ( const long int  Counter ) [virtual, inherited]

Definition at line 205 of file dsdk.cpp.

void dsdk::BurstCounter ( const long int  BurstCounter ) [virtual, inherited]

Definition at line 210 of file dsdk.cpp.

void dataqsdk::BurstCounter ( const long int  BurstCounter ) [inherited]

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

Parameters:
BurstCounterNOT FINISHED

Definition at line 510 of file dataqsdk.cpp.

void dataqsdk::DeviceFile ( const char *const   DeviceFile ) [inherited]

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

Parameters:
DeviceFilePointer to array containing device file path and name.

Definition at line 531 of file dataqsdk.cpp.

void dsdk::DeviceFile ( const char *const   DeviceFile ) [virtual, inherited]

Allocates memory if necessary to hold the device file. The array is limited in size by DEV_PATH. Ensures the string is NULL terminating.

Parameters:
DeviceFileDevice file path and name used to connect to the device.

Definition at line 221 of file dsdk.cpp.

Here is the call graph for this function:

void di194_dsdk::EventPoint ( const long int  EventPnt ) [virtual, inherited]
Parameters:
EventPntNumber of data points required before NewData() fires.
Remarks:
Bounds between 0 and 32767. Set to extremes if out of bounds.

Reimplemented from dsdk.

Definition at line 319 of file di194.cpp.

void dataqsdk::EventPoint ( const long int  EventPnt ) [inherited]

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

Parameters:
EventPntNumber of data points required before NewData() fires.
Remarks:
Bounds between 0 and 32767. Set to extremes if out of bounds.

Definition at line 558 of file dataqsdk.cpp.

void dsdk::EventPoint ( const long int  EventPnt ) [virtual, inherited]

Reimplemented in di194_dsdk.

Definition at line 237 of file dsdk.cpp.

void dataqsdk::MaxBurstRate ( const double  MaxBurstRt ) [inherited]

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

Parameters:
MaxBurstRtNOT FINISHED

Definition at line 578 of file dataqsdk.cpp.

void dsdk::MaxBurstRate ( const double  MaxBurstRt ) [virtual, inherited]

Definition at line 242 of file dsdk.cpp.

void dataqsdk::ProductName ( const char *const   ProductName ) [inherited]

Used to determine the device: properties, abilities, etc.

Error Codes set:
EINVAL = Bad parameter pointer.
ENODEV = Requested device is not yet supported.

Parameters:
ProductNamePointer to array containing unique name of product.

Definition at line 599 of file dataqsdk.cpp.

void dataqsdk::SampleRate ( const double  SampleRt ) [inherited]

Automatically sets the sample rate to min or max if requested value is out of bounds.

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

Precondition:
Device dependent.
Parameters:
SampleRtRequested sample rate.
Remarks:
Bounds depend on the number of analog channels being scanned and the device.

Definition at line 656 of file dataqsdk.cpp.

void di194_dsdk::SampleRate ( const double  SampleRt ) [virtual, inherited]

Automatically sets the sample rate to min or max if requested value is out of bounds.

Error Codes set:
EBUSY = Acquiring.

Precondition:
Not acquiring.
Parameters:
SampleRtRequested sample rate.
Remarks:
Bounds depend on the number of analog channels being scanned.

Reimplemented from dsdk.

Definition at line 342 of file di194.cpp.

void dsdk::SampleRate ( const double  SampleRt ) [virtual, inherited]

Reimplemented in di194_dsdk.

Definition at line 247 of file dsdk.cpp.

void dataqsdk::TrigHysteresisIdx ( const int  Hidx ) [inherited]

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

Parameters:
HidxNOT FINISHED

Definition at line 676 of file dataqsdk.cpp.

void dsdk::TrigHysteresisIdx ( const int  Hidx ) [virtual, inherited]

Definition at line 252 of file dsdk.cpp.

void dsdk::TrigLevel ( const int  Level ) [virtual, inherited]

Definition at line 257 of file dsdk.cpp.

void dataqsdk::TrigLevel ( const int  Level ) [inherited]

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

Parameters:
LevelNOT FINISHED

Definition at line 696 of file dataqsdk.cpp.

void dataqsdk::TrigMode ( const int  Mode ) [inherited]

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

Parameters:
ModeNOT FINISHED

Definition at line 716 of file dataqsdk.cpp.

void dsdk::TrigMode ( const int  Mode ) [virtual, inherited]

Definition at line 262 of file dsdk.cpp.

void dsdk::TrigPostLength ( const int  PostLength ) [virtual, inherited]

Definition at line 277 of file dsdk.cpp.

void dataqsdk::TrigPostLength ( const int  PostLength ) [inherited]

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

Parameters:
PostLengthNOT FINISHED

Definition at line 776 of file dataqsdk.cpp.

void dsdk::TrigPreLength ( const int  PreLength ) [virtual, inherited]

Definition at line 282 of file dsdk.cpp.

void dataqsdk::TrigPreLength ( const int  PreLength ) [inherited]

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

Parameters:
PreLengthNOT FINISHED

Definition at line 796 of file dataqsdk.cpp.

void dataqsdk::TrigScnChnIdx ( const int  SCidx ) [inherited]

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

Parameters:
SCidxNOT FINISHED

Definition at line 736 of file dataqsdk.cpp.

void dsdk::TrigScnChnIdx ( const int  SCidx ) [virtual, inherited]

Definition at line 267 of file dsdk.cpp.

void dataqsdk::TrigSlope ( const int  Slope ) [inherited]

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

Parameters:
SlopeNOT FINISHED

Definition at line 756 of file dataqsdk.cpp.

void dsdk::TrigSlope ( const int  Slope ) [virtual, inherited]

Definition at line 272 of file dsdk.cpp.