Find allowable values in matlab data acquisition toolbox

3 views (last 30 days)
I am trying to set up an NI9237 module. I would like to obtain (through matlab) the allowable values for (internal) excitation voltage, nominal bridge resistance, bridge mode etc. I would also like a generic approach to this so that I can plug any type of hardware module in and it spits out the allowable values for any user-changeable setting.
I know they are in there somewhere because if I try to specify a value that is not allowed, the error message lists the allowable values.
Is this possible?
Thanks
  3 Comments
CM
CM on 26 Mar 2025
Hi Walter, thanks for the tip. That almost works. Unfortunately the answer I get is blank:
x=set(ch{iChannelDevice}, 'ExcitationVoltage')
x =
'{}'
This got all the available details. Two of the three that I want have empty answers:
x=set(ch{iChannelDevice})
BridgeMode: [ Unknown | Full | Half | Quarter ]
ExcitationSource: [ Internal | External | None | Unknown ]
ExcitationVoltage: {}
NominalBridgeResistance: {}
Range: -0.025 to +0.025 VoltsPerVolt
Name: {}
ADCTimingMode: {}
Walter Roberson
Walter Roberson on 26 Mar 2025
I am not at all sure, but I suspect that is a reflection of the fact that ExcitationVoltage is only set in some modes.

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!