LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Discover module that a channel uses

Solved!
Go to solution

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!

0 Kudos
Message 1 of 4
(1,316 Views)

I don't know about "simple", but this works:

 

Kyle97330_1-1658766803320.png

 

It's a bit janky with the type cast in it but it does give a result.  Is this the "horrid" solution you used?

0 Kudos
Message 2 of 4
(1,288 Views)

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.

Mr_Eee_0-1658819919648.png

So, is there a solution to finding the 'product type' for a 'virtual channel' ???

0 Kudos
Message 3 of 4
(1,258 Views)
Solution
Accepted by topic author Mr_Eee

Hi Eee,

 

using a propertynode you can get the physical channel from a virtual channel...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 4
(1,249 Views)