|
UniSet
1.4.0
|
#include <ComediInterface.h>
Открытые типы | |
| enum | ChannelType { DI = INSN_CONFIG_DIO_INPUT, DO = INSN_CONFIG_DIO_OUTPUT, AI = 100, AO = 101, DI = INSN_CONFIG_DIO_INPUT, DO = INSN_CONFIG_DIO_OUTPUT, AI = 100, AO = 101 } |
| enum | SubdevType { Unknown = 0, TBI24_0 = 1, TBI0_24 = 2, TBI16_8 = 3, GRAYHILL = 4, Unknown = 0, TBI24_0 = 1, TBI0_24 = 2, TBI16_8 = 3, GRAYHILL = 4 } |
| enum | ChannelType { DI = INSN_CONFIG_DIO_INPUT, DO = INSN_CONFIG_DIO_OUTPUT, AI = 100, AO = 101, DI = INSN_CONFIG_DIO_INPUT, DO = INSN_CONFIG_DIO_OUTPUT, AI = 100, AO = 101 } |
| enum | SubdevType { Unknown = 0, TBI24_0 = 1, TBI0_24 = 2, TBI16_8 = 3, GRAYHILL = 4, Unknown = 0, TBI24_0 = 1, TBI0_24 = 2, TBI16_8 = 3, GRAYHILL = 4 } |
Открытые члены | |
| ComediInterface (const std::string dev) | |
| int | getAnalogChannel (int subdev, int channel, int range=0, int aref=AREF_GROUND) throw (UniSetTypes::Exception) |
| void | setAnalogChannel (int subdev, int channel, int data, int range=0, int aref=AREF_GROUND) throw (UniSetTypes::Exception) |
| bool | getDigitalChannel (int subdev, int channel) throw (UniSetTypes::Exception) |
| void | setDigitalChannel (int subdev, int channel, bool bit) throw (UniSetTypes::Exception) |
| void | configureSubdev (int subdev, SubdevType type) throw (UniSetTypes::Exception) |
| void | configureChannel (int subdev, int channel, ChannelType type, int range=0, int aref=0) throw (UniSetTypes::Exception) |
| const std::string | devname () |
| ComediInterface (const std::string dev) | |
| int | getAnalogChannel (int subdev, int channel, int range=0, int aref=AREF_GROUND) throw (UniSetTypes::Exception) |
| void | setAnalogChannel (int subdev, int channel, int data, int range=0, int aref=AREF_GROUND) throw (UniSetTypes::Exception) |
| bool | getDigitalChannel (int subdev, int channel) throw (UniSetTypes::Exception) |
| void | setDigitalChannel (int subdev, int channel, bool bit) throw (UniSetTypes::Exception) |
| void | configureSubdev (int subdev, SubdevType type) throw (UniSetTypes::Exception) |
| void | configureChannel (int subdev, int channel, ChannelType type, int range=0, int aref=0) throw (UniSetTypes::Exception) |
| const std::string | devname () |
Открытые статические члены | |
| static std::string | type2str (SubdevType t) |
| static SubdevType | str2type (const std::string s) |
| static std::string | type2str (SubdevType t) |
| static SubdevType | str2type (const std::string s) |
Защищенные данные | |
| comedi_t * | card |
| std::string | dname |
Интерфейс для работы с в/в
comedi_t * ComediInterface::card [protected] |
интерфейс для работы с картами в/в
1.7.6.1