02-23-2024 05:06 AM
Hello!
I am a bit confused on how to work with array of DAQmx channels.
I just want to replace the "Dev5" of my DO channels with whatever name come from the for loop.
How can I do that?
The reason is that the user can connect different testbox to the PC, so it would always be a USB-6341 or USB-6210 but with a different name in NI max (Such as Dev2 Dev3 Dev4 etc...). So I want to detect what is connected and change the DAQmx channels names accordingly.
Best regards,
Ludovic
Solved! Go to Solution.
02-23-2024 05:49 AM
02-23-2024 06:42 AM
Had a couple free minutes here to illustrate one way to accomplish what GerdW was referring to...
-Kevin P
02-23-2024 06:59 AM
Your solution looks cleaner than what I have just done:
Thank you both for your time!