Support Differential for NI hardware's analog inputs as fallback
Close #2484
Close #2472
@timjarsky Ready to test!
Zayd is testing. I gave him the installer today.
@t-b , from Zayd:
If available we will fallback to Differential (Diff), see also https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019QRZSA2.
!!! Threadsafe assertion FAILED !!!
Message: "Start acquisition of NI device Dev1 failed with code: 65552
DAQmx_Scan;Expected channel type keyword: 'DIFF', 'NRSE', or 'RSE'.
While executing DAQmx_Scan:NIDAQ Tools error for device Dev1:10016: Expected channel type keyword: 'DIFF', 'NRSE', or 'RSE'."
Please provide the following information if you contact the MIES developers:
################################
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Stacktrace:
DAP_ButtonProc_TPDAQ(...)#L3947 [MIES_DAEphys.ipf]
TPM_StartTestPulseMultiDevice(...)#L68 [MIES_TestPulse_Multi.ipf]
TPM_StartTPMultiDeviceLow(...)#L42 [MIES_TestPulse_Multi.ipf]
TPM_BkrdTPMD(...)#L87 [MIES_TestPulse_Multi.ipf]
HW_StartAcq(...)#L668 [MIES_DAC-Hardware.ipf]
HW_NI_StartAcq(...)#L2322 [MIES_DAC-Hardware.ipf]
FATAL_ERROR(...)#L336 [MIES_Utilities_ProgramFlow.ipf]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Time: 2025-08-20T16:38:25-04:00
Experiment: Untitled ()
Igor Pro version: 9.0.6.1 (56565)
################################
@timjarsky Thanks for testing. Should be fixed now. Please retest.
@timjarsky Any update from Zayd?
He continues to be unable to get his NI hardware to work with this PR (the hack did work)
@timjarsky Ready again for testing. If Zayd does not have any time testing, we can also merge now once CI passes and fix any other issues later on.