#include <NiDaqIO.h>
Inheritance diagram for OSCAR::NiDaqIO:

Public Methods | |
| NiDaqIO (int deviceNumber) | |
| virtual | ~NiDaqIO () |
| bool | SetAIGain (int gain) |
| void | ClearAI () |
| bool | ReadAI (int channel, double &volt) |
| bool | ReadAI (int *channels, double *volts, unsigned int noOfChannels) |
| bool | WriteAO (int channel, double &value) |
| bool | WriteAO (int *channels, double *values, unsigned int noOfChannels) |
| bool | ReadDI (int channel, bool &state) |
| bool | ReadDI (int *channels, bool *states, unsigned int noOfChannels) |
Protected Attributes | |
| int | deviceNumber |
| int | gain |
| int | port |
|
|
First Constructor for NiDaqIO Use this to create a NiDaqIO object for analog and digito IO using NI DAQ boards.
|
|
|
Destructor for NiDaqIO.
|
|
|
Clear the analog input circuitry and empty the memory. Use this method to clear the analog input circuitry and empty the memory.
|
|
||||||||||||||||
|
Read analog inputs. Use this method to read analog inputs from an array of channels.
|
|
||||||||||||
|
Read analog input. Use this method to read an analog input from the DAQ board.
|
|
||||||||||||||||
|
Read digital inputs. Use this method to read digital inputs from the DAQ board.
|
|
||||||||||||
|
Read digital input. Use this method to read a digital input from the DAQ board.
|
|
|
Set gain for analog input reading. Use this method to set the gain for analog input reading.
|
|
||||||||||||||||
|
Write analog outputs. Use this method to write analog outputs to the DAQ board.
|
|
||||||||||||
|
Write analog output. Use this method to write an analog output to the DAQ board.
|
|
|
|
|
|
|
|
|
|
| RRG Homepage | OSCAR Overview | OSCAR Tutorials | Simulations |