![]() |
RTXI 1.3
|
#include <analogy_device.h>
Definition at line 32 of file analogy_device.h.
| AnalogyDevice::AnalogyDevice | ( | a4l_desc_t * | d, |
| std::string | name, | ||
| IO::channel_t * | chan, | ||
| size_t | size | ||
| ) |
Definition at line 26 of file analogy_device.cpp.
| AnalogyDevice::~AnalogyDevice | ( | void | ) |
Definition at line 137 of file analogy_device.cpp.
| void AnalogyDevice::doLoad | ( | const Settings::Object::State & | s | ) | [protected, virtual] |
Reimplemented from Settings::Object.
Definition at line 513 of file analogy_device.cpp.
| void AnalogyDevice::doSave | ( | Settings::Object::State & | s | ) | const [protected, virtual] |
Reimplemented from Settings::Object.
Definition at line 544 of file analogy_device.cpp.
| double AnalogyDevice::getAnalogGain | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [virtual] |
Get the gain of the selected channel.
| type | The channel's type. |
| index | The channel's index. |
Implements DAQ::Device.
Definition at line 301 of file analogy_device.cpp.
| index_t AnalogyDevice::getAnalogOffsetUnits | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 293 of file analogy_device.cpp.
| index_t AnalogyDevice::getAnalogRange | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 269 of file analogy_device.cpp.
| size_t AnalogyDevice::getAnalogRangeCount | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 185 of file analogy_device.cpp.
| std::string AnalogyDevice::getAnalogRangeString | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | range | ||
| ) | const [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 217 of file analogy_device.cpp.
| index_t AnalogyDevice::getAnalogReference | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 277 of file analogy_device.cpp.
| size_t AnalogyDevice::getAnalogReferenceCount | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [virtual] |
Get the number of available reference for the specified channel.
| type | The channel's type. index The channel's index. |
Implements DAQ::Device.
Definition at line 201 of file analogy_device.cpp.
| std::string AnalogyDevice::getAnalogReferenceString | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | reference | ||
| ) | const [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 235 of file analogy_device.cpp.
| index_t AnalogyDevice::getAnalogUnits | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 285 of file analogy_device.cpp.
| size_t AnalogyDevice::getAnalogUnitsCount | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 209 of file analogy_device.cpp.
| std::string AnalogyDevice::getAnalogUnitsString | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | units | ||
| ) | const [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 254 of file analogy_device.cpp.
| double AnalogyDevice::getAnalogZeroOffset | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [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 309 of file analogy_device.cpp.
| bool AnalogyDevice::getChannelActive | ( | DAQ::type_t | type, |
| DAQ::index_t | index | ||
| ) | const [virtual] |
Get the channel's active state.
| type | The channel's type. |
| index | The channel's index. |
Implements DAQ::Device.
Definition at line 160 of file analogy_device.cpp.
| size_t AnalogyDevice::getChannelCount | ( | DAQ::type_t | type | ) | const [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 152 of file analogy_device.cpp.
| direction_t AnalogyDevice::getDigitalDirection | ( | DAQ::index_t | index | ) | const [virtual] |
Get the direction of the specified digital channel.
| index | The digital channel's index. |
Implements DAQ::Device.
Definition at line 388 of file analogy_device.cpp.
| void AnalogyDevice::read | ( | void | ) | [virtual] |
Function called by the realtime task at the beginning of each period.
Reimplemented from RT::Device.
Definition at line 411 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogGain | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| double | gain | ||
| ) | [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 379 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogOffsetUnits | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | units | ||
| ) | [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 361 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogRange | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | range | ||
| ) | [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 317 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogReference | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | reference | ||
| ) | [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 343 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogUnits | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| DAQ::index_t | units | ||
| ) | [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 352 of file analogy_device.cpp.
| int AnalogyDevice::setAnalogZeroOffset | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| double | offset | ||
| ) | [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 370 of file analogy_device.cpp.
| int AnalogyDevice::setChannelActive | ( | DAQ::type_t | type, |
| DAQ::index_t | index, | ||
| bool | state | ||
| ) | [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 168 of file analogy_device.cpp.
| int AnalogyDevice::setDigitalDirection | ( | DAQ::index_t | index, |
| DAQ::direction_t | direction | ||
| ) | [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 395 of file analogy_device.cpp.
| void AnalogyDevice::write | ( | void | ) | [virtual] |
Function called by the realtime task at the end of each period.
Reimplemented from RT::Device.
Definition at line 452 of file analogy_device.cpp.