-
Notifications
You must be signed in to change notification settings - Fork 76
Closed
Description
Trying to use the get_capabilities.py script to add a new NI USB-6366 we acquired and I get the following message:
found device: Dev1 USB-6366 (64 MS) (BNC)
Traceback (most recent call last):
File "get_capabilities.py", line 387, in <module>
AI_ranges = supported_AI_ranges_for_non_differential_input(name, AI_ranges)
File "get_capabilities.py", line 213, in supported_AI_ranges_for_non_differential_input
task.CreateAIVoltageChan(
File "<string>", line 3, in CreateAIVoltageChan
File "<string>", line 2, in function
File "C:\Miniconda3\envs\labscript\lib\site-packages\PyDAQmx\DAQmxFunctions.py", line 62, in mafunction
raise exception_class(errBuff.value.decode("utf-8"), f.__name__)
PyDAQmx.DAQmxFunctions.InvalidAttributeValueError: Requested value is not a supported value for this property. The property value may be invalid because it conflicts with another property.
Property: DAQmx_AI_TermCfg
Requested Value: DAQmx_Val_RSE
Possible Values: DAQmx_Val_Diff
Channel Name: Dev1/ai0
Task Name: _unnamedTask<4>
Status Code: -200077
in function DAQmxCreateAIVoltageChan
Checking with NI-MAX and the spec sheet, this device only has differential inputs (logically) where each AI+ and AI- are the center pin and shield of the BNC inputs of the breakout box. Kind-of an annoying edge case I guess but there it is.
Metadata
Metadata
Assignees
Labels
No labels