Main Page | Modules | Class Hierarchy | Class List | File List | Class Members

SetProperties


Functions

void dataqsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.

void dataqsdk::ADCounter (const long int Counter)
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.

void dataqsdk::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.

void dataqsdk::ProductName (const char *const ProductName)
void dataqsdk::SampleRate (const double SampleRt)
 Requested sample rate.

void dataqsdk::TrigHysteresisIdx (const int Hidx)
void dataqsdk::TrigLevel (const int Level)
void dataqsdk::TrigMode (const int Mode)
void dataqsdk::TrigScnChnIdx (const int SCidx)
void dataqsdk::TrigSlope (const int Slope)
void dataqsdk::TrigPostLength (const int PostLength)
void dataqsdk::TrigPreLength (const int PreLength)
void di194_dsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.

void di194_dsdk::EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.

void di194_dsdk::SampleRate (const double SampleRt)
 Requested sample rate.

virtual void dsdk::ADChannelCount (const int ChannelCount)
 Number of channels to scan.

virtual void ADCounter (const long int Counter)
virtual void BurstCounter (const long int BurstCounter)
virtual void dsdk::DeviceFile (const char *const DeviceFile)
 Device file path and name used to connect to the device.

virtual void dsdk::EventPoint (const long int EventPnt)
 Number of data points required before NewData() fires.

virtual void dsdk::MaxBurstRate (const double MaxBurstRt)
 Maximum sampling rate of combined channels.

virtual void dsdk::SampleRate (const double SampleRt)
 Requested sample rate.

virtual void TrigHysteresisIdx (const int Hidx)
virtual void TrigLevel (const int Level)
virtual void TrigMode (const int Mode)
virtual void TrigScnChnIdx (const int SCidx)
virtual void TrigSlope (const int Slope)
virtual void TrigPostLength (const int PostLength)
virtual void TrigPreLength (const int PreLength)

Function Documentation

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

Number of channels to scan.

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:
ChannelCount Number of channels to scan.

Definition at line 470 of file dataqsdk.cpp.

References dsdk::ADChannelCount(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

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:
Counter NOT FINISHED

Definition at line 490 of file dataqsdk.cpp.

References dsdk::ADCounter(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

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:
BurstCounter NOT FINISHED

Definition at line 510 of file dataqsdk.cpp.

References dsdk::BurstCounter(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

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

Device file path and name used to connect to the device.

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

Parameters:
DeviceFile Pointer to array containing device file path and name.

Definition at line 531 of file dataqsdk.cpp.

References dsdk::DeviceFile(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

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

Number of data points required before NewData() fires.

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

Parameters:
EventPnt Number 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.

References dsdk::EventPoint(), dataqsdk::m_classID, and dataqsdk::m_last_error.

Here is the call graph for this function:

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

Maximum sampling rate of combined channels.

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

Parameters:
MaxBurstRt NOT FINISHED

Definition at line 578 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::MaxBurstRate().

Here is the call graph for this function:

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:
ProductName Pointer to array containing unique name of product.

Definition at line 599 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dataqsdk::m_ProductName.

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

Requested sample rate.

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:
SampleRt Requested sample rate.
Remarks:
Bounds depend on the number of analog channels being scanned and the device.

Definition at line 656 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::SampleRate().

Here is the call graph for this function:

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

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

Parameters:
Hidx NOT FINISHED

Definition at line 676 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigHysteresisIdx().

Here is the call graph for this function:

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

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

Parameters:
Level NOT FINISHED

Definition at line 696 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigLevel().

Here is the call graph for this function:

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

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

Parameters:
Mode NOT FINISHED

Definition at line 716 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigMode().

Here is the call graph for this function:

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

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

Parameters:
SCidx NOT FINISHED

Definition at line 736 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigScnChnIdx().

Here is the call graph for this function:

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

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

Parameters:
Slope NOT FINISHED

Definition at line 756 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigSlope().

Here is the call graph for this function:

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

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

Parameters:
PostLength NOT FINISHED

Definition at line 776 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigPostLength().

Here is the call graph for this function:

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

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

Parameters:
PreLength NOT FINISHED

Definition at line 796 of file dataqsdk.cpp.

References dataqsdk::m_classID, dataqsdk::m_last_error, and dsdk::TrigPreLength().

Here is the call graph for this function:

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

Number of channels to scan.

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:
ChannelCount Number of channels to scan.

Reimplemented from dsdk.

Definition at line 202 of file di194.cpp.

References Ccmd(), di194_dsdk::chan_order, Dcmd(), di194_dsdk::digital_chan, EBOUNDS, di_serial_io::is_comm_open(), di194_dsdk::m_connection, and di194_dsdk::SampleRate().

Here is the call graph for this function:

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

Number of data points required before NewData() fires.

Parameters:
EventPnt Number 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 314 of file di194.cpp.

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

Requested sample rate.

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:
SampleRt Requested sample rate.
Remarks:
Bounds depend on the number of analog channels being scanned.

Reimplemented from dsdk.

Definition at line 337 of file di194.cpp.

References di194_dsdk::digital_chan.

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

Device file path and name used to connect to the device.

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:
DeviceFile Device file path and name used to connect to the device.

Definition at line 221 of file dsdk.cpp.

References dsdk::DeviceConnect(), dsdk::DeviceDisconnect(), and dsdk::m_device_file.

Here is the call graph for this function:


Generated on Mon Aug 2 09:45:15 2004 for DataqSDK by doxygen 1.3.6