RTXI 2.4 The Real-Time eXperiment Interface Documentation |
#include <analogy_device.h>
Protected Member Functions | |
virtual void | doLoad (const Settings::Object::State &) |
virtual void | doSave (Settings::Object::State &) const |
![]() | |
double & | output (size_t index) |
![]() | |
virtual void | doDeferred (const State &) |
Additional Inherited Members | |
![]() | |
typedef unsigned long | ID |
![]() | |
const static ID | INVALID = 0 |
Definition at line 30 of file analogy_device.h.
AnalogyDevice::AnalogyDevice | ( | a4l_desc_t * | d, |
std::string | name, | ||
IO::channel_t * | chan, | ||
size_t | size | ||
) |
AnalogyDevice::~AnalogyDevice | ( | void | ) |
Definition at line 170 of file analogy_device.cpp.
| protectedvirtual |
Reimplemented from Settings::Object.
Definition at line 651 of file analogy_device.cpp.
| protectedvirtual |
Reimplemented from Settings::Object.
Definition at line 692 of file analogy_device.cpp.
| inlinevirtual |
Get the channel's active state of using its calibration.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 67 of file analogy_device.h.
| inlinevirtual |
Get the channel's state of calibration.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 68 of file analogy_device.h.
| virtual |
Get the calibration of the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 441 of file analogy_device.cpp.
| virtual |
Implements DAQ::Device.
Definition at line 252 of file analogy_device.cpp.
| virtual |
Get the gain of the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 346 of file analogy_device.cpp.
| virtual |
Get the index of the units for the selected channel zero offset.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 338 of file analogy_device.cpp.
| virtual |
Get the index of the range for the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 314 of file analogy_device.cpp.
| virtual |
Get the number of available ranges for the specified channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 220 of file analogy_device.cpp.
| virtual |
Get a string representation of the specified range.
type | The channel's type. |
index | The channel's index. |
range | The index of the channel's range. |
Implements DAQ::Device.
Definition at line 260 of file analogy_device.cpp.
| virtual |
Get the index of the reference for the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 322 of file analogy_device.cpp.
| virtual |
Get the number of available reference for the specified channel.
type | The channel's type. \patam index The channel's index. |
Implements DAQ::Device.
Definition at line 236 of file analogy_device.cpp.
| virtual |
Get a string representation of the specified reference.
type | The channel's type. |
index | The channel's index. |
reference | The index of the channel's reference. |
Implements DAQ::Device.
Definition at line 278 of file analogy_device.cpp.
| virtual |
Get the index of the units for the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 330 of file analogy_device.cpp.
| virtual |
Get the number of available units for the channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 244 of file analogy_device.cpp.
| virtual |
Get a string representation of the specifed units.
type | The channel's type. |
index | The channel's index. |
units | The index of the channel's units. |
Implements DAQ::Device.
Definition at line 298 of file analogy_device.cpp.
| virtual |
Get the offset of the selected channel that makes the signal zero
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 354 of file analogy_device.cpp.
| virtual |
Get the channel's active state.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 195 of file analogy_device.cpp.
| virtual |
Get the number of channels of the specified type.
type | The type of the channels to be counted. |
Implements DAQ::Device.
Definition at line 187 of file analogy_device.cpp.
| virtual |
Get the direction of the specified digital channel.
index | The digital channel's index. |
Implements DAQ::Device.
Definition at line 468 of file analogy_device.cpp.
| virtual |
Function called by the realtime task at the beginning of each period.
Reimplemented from RT::Device.
Definition at line 493 of file analogy_device.cpp.
| inlinevirtual |
Set the calibration active state of the selected channel.
type | The channel's type. |
index | The channel's index. |
Implements DAQ::Device.
Definition at line 66 of file analogy_device.h.
| virtual |
Set the calibration of the selected channel.
type | The channel's type. |
index | The channel's index. |
value | The calibration value. |
Implements DAQ::Device.
Definition at line 433 of file analogy_device.cpp.
| inline |
Definition at line 62 of file analogy_device.h.
| virtual |
Implements DAQ::Device.
Definition at line 458 of file analogy_device.cpp.
| virtual |
Implements DAQ::Device.
Definition at line 449 of file analogy_device.cpp.
| virtual |
Set the gain of the selected channel.
type | The channel's type. |
index | The channel's index. |
gain | The channel's new gain. |
Implements DAQ::Device.
Definition at line 424 of file analogy_device.cpp.
| virtual |
Set the offset units of the selected channel.
type | The channel's type. |
index | The channel's index. |
units | The channel's new offset units index. |
Implements DAQ::Device.
Definition at line 406 of file analogy_device.cpp.
| virtual |
Set the range of the selected channel.
type | The channel's type. |
index | The channel's index. |
range | The channel's new range index. |
Implements DAQ::Device.
Definition at line 362 of file analogy_device.cpp.
| virtual |
Set the reference of the selected channel.
type | The channel's type. |
index | The channel's index. |
reference | The channel's new reference index. |
Implements DAQ::Device.
Definition at line 388 of file analogy_device.cpp.
| virtual |
Set the units of the selected channel.
type | The channel's type. |
index | The channel's index. |
units | The channel's new units index. |
Implements DAQ::Device.
Definition at line 397 of file analogy_device.cpp.
| virtual |
Set the zero offset of the selected channel.
type | The channel's type. |
index | The channel's index. |
offset | The channel's new zero offset index. |
Implements DAQ::Device.
Definition at line 415 of file analogy_device.cpp.
| virtual |
Set the channel's active state.
type | The channel's type. |
index | The channel's index. |
state | The channel's new state. |
Implements DAQ::Device.
Definition at line 203 of file analogy_device.cpp.
| virtual |
Set the direction of the specified digital channel.
index | The digital channel's index. |
direction | The digital channel's new direction. |
Implements DAQ::Device.
Definition at line 477 of file analogy_device.cpp.
| virtual |
Function called by the realtime task at the end of each period.
Reimplemented from RT::Device.
Definition at line 577 of file analogy_device.cpp.