02-17-2020 05:43 AM
Hello everyone,
I want to create a task with 4 signals on 4 different channels. Simply wiring the singalarray to the the write.vi for N-Channels_N_Samples assigns the signals to random channels.
Every time I start the VI the signals are applied to a different channel and not as they are positioned in the array.
Is there a way to assign channel1 to signal1?
Solved! Go to Solution.
02-17-2020 05:48 AM
They should be in the order that you added your channels to the task. Could you share some code so we can see if we can find your issue?
02-17-2020 05:48 AM
Hi sh,
@s.h._tech wrote:
Is there a way to assign channel1 to signal1?
The signals are assigned to the channels in the very same order as the channels are defined within the DAQmx task.
All you need to do is to define the DAQmx task with your channels in the correct order…
02-17-2020 06:00 AM
When selecting multiple channels (AO1:3) in the control they correspond in this order?
02-17-2020 06:37 AM
@s.h._tech wrote:
When selecting multiple channels (AO1:3) in the control they correspond in this order?
- AO1 - Signal1 (position 0 in the array)
- AO2 - Signal2 (pos 1 in array)
- ...
That is correct.