Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

AISupportedMeasurementTypes reporting too many choices

I'm running into an issue where the AISupportedMeasurementTypes function (of NationalInstruments.DaqMX.Device) is returning way more options than seem reasonable.  For example, when I request this from a NI 9239 module, I get 10 options, including Thermocouple, VoltageCustomwithExcitation, and Current.  I do not believe that any of these options are valid.  I see this with some other modules as well, including NI 9218.  I am currently using the library with a version of 15.5.45.109, which I believe is the latest (or it was a month or two ago).

 

Has anyone else seen this behavior, and if so, is there a "workaround"?  I want to limit the user's choices to only valid selections, but this seems to be a major issue!  Any ideas would be very welcome!

0 Kudos
Message 1 of 6
(3,528 Views)

The NI 9239 is capable of acquiring those signal types as well as the NI 9218.

 

Are you wanting to limit the selection beyond what the device is capable of? 

0 Kudos
Message 2 of 6
(3,462 Views)

Ok, well this board does not provide an excitation signal, and only reads in a +/- 10V signal.  I'm not sure how that's compatible with the signal types I mentioned without additional hardware.  It seems I am missing something here.

0 Kudos
Message 3 of 6
(3,444 Views)

Using thermocouples and measuring current don’t require External Excitation.

 

http://www.ni.com/white-paper/4218/en/

0 Kudos
Message 4 of 6
(3,431 Views)

Ok ... I've never seen a thermocouple attached to a high-level voltage AI, and why would you try to read a current signal on a voltage board?  Finally, when there's no excitation, why is the VoltageCustomwithExcitation a valid option?  I guess to me these are not "normal" choices for this board ... even if it's technically possible for some of them.  I'm certainly not trying to start an argument, so I'll stop here, but to me these options make no sense.  Are there any other opinions on this out there?

0 Kudos
Message 5 of 6
(3,428 Views)

I’d have to agree that these are not the normal use cases for these devices.

0 Kudos
Message 6 of 6
(3,420 Views)