07-25-2022 09:34 AM
OK, so I've exhausted my searches and found my own horrid solution, so I won't post it.
Simplified query - I have a DAQmx channel constant and I wish to find out what physical module (product type) it points to. This is so that I can set the ADCTimingMode property node but just for specific modules, like the NI 9208.
There HAS to be a simple solution - I just wish I could find it!
Solved! Go to Solution.
07-25-2022 11:36 AM - edited 07-25-2022 11:38 AM
I don't know about "simple", but this works:
It's a bit janky with the type cast in it but it does give a result. Is this the "horrid" solution you used?
07-26-2022 02:22 AM
Kyle,
No that doesn't work for me as you have selected a 'physical channel', I should have said 'virtual channel'. In my case I won't know what physical channel the operator has selected.
My solution is to iterate around the channels in my task, setting everything and ignoring the error where the channel can't be set.
So, is there a solution to finding the 'product type' for a 'virtual channel' ???
07-26-2022 03:16 AM