void hp83711bDevice::defineChannels() { addInputChannel(0, DataDouble); addInputChannel(1, DataDouble); addOutputChannel(2, ValueNumber); addOutputChannel(3, ValueNumber); }
void Novatech409B::defineChannels() { //one output channel per frequency channel addOutputChannel(0, ValueVector); addOutputChannel(1, ValueVector); addOutputChannel(2, ValueVector); addOutputChannel(3, ValueVector); addInputChannel(10, STI::Types::DataVector); //for reading settings addInputChannel(11, STI::Types::DataVector); //for reading settings addInputChannel(12, STI::Types::DataVector); //for reading settings addInputChannel(13, STI::Types::DataVector); //for reading settings }
int UserInputMapper::addInputChannels(const InputChannels& channels) { int nbAdded = 0; for (auto& channel : channels) { nbAdded += addInputChannel(channel._action, channel._input, channel._modifier, channel._scale); } return nbAdded; }
void MccUSBDAQDevice::defineChannels() { //Analog Input Channels for (int i = 0; i < numADChans; i++) { addInputChannel(i, DataDouble); analogInChannels.insert(pair<int,int>(i, i)); } for (int i = 0; i < numDAChans; i++) { addOutputChannel(i + 10, ValueNumber); analogOutChannels.insert(pair<int,int>(i, i + 10)); } }
bool UserInputMapper::addInputChannel(Action action, const Input& input, float scale) { return addInputChannel(action, input, Input(), scale); }
void STF_AD_FAST::STF_AD_FAST_Device::defineChannels() { addInputChannel(0, DataDouble, ValueNumber); addInputChannel(1, DataDouble, ValueNumber); }