Ejemplo n.º 1
0
void hp83711bDevice::defineChannels()
{
	addInputChannel(0, DataDouble);
	addInputChannel(1, DataDouble);
	addOutputChannel(2, ValueNumber);
	addOutputChannel(3, ValueNumber);
}
Ejemplo n.º 2
0
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
}
Ejemplo n.º 3
0
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;
}
Ejemplo n.º 4
0
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));
	}
}
Ejemplo n.º 5
0
bool UserInputMapper::addInputChannel(Action action, const Input& input, float scale) {
    return addInputChannel(action, input, Input(), scale);
}
Ejemplo n.º 6
0
void STF_AD_FAST::STF_AD_FAST_Device::defineChannels()
{
	addInputChannel(0, DataDouble, ValueNumber);
	addInputChannel(1, DataDouble, ValueNumber);
}