Commit 780c8f54 authored by Markus Mueller-Trapet's avatar Markus Mueller-Trapet

bugfix of copy and paste error

parent c2d465e1
......@@ -299,9 +299,9 @@ classdef itaMSTFni < itaMSTF
for iChannel = 1:numel(outputChannels.name)
if outputChannels.isActive(iChannel)
iDevice = outputChannels.mapping{iChannel}(1);
iDeviceChannel = inputChannels.mapping{iChannel}(2);
iDeviceChannel = outputChannels.mapping{iChannel}(2);
niSession.addAnalogOutputChannel(get(niDevices(iDevice),'ID'),iDeviceChannel-1,outputChannels.type{iChannel});
niSession.Channels(end).Name = inputChannels.name{iChannel};
niSession.Channels(end).Name = outputChannels.name{iChannel};
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment