MIES icon indicating copy to clipboard operation
MIES copied to clipboard

Support Differential for NI hardware's analog inputs as fallback

Open t-b opened this issue 4 months ago • 6 comments

Close #2484

Close #2472

t-b avatar Aug 12 '25 13:08 t-b

@timjarsky Ready to test!

t-b avatar Aug 12 '25 13:08 t-b

Zayd is testing. I gave him the installer today.

timjarsky avatar Aug 13 '25 23:08 timjarsky

@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 avatar Aug 20 '25 20:08 timjarsky

@timjarsky Thanks for testing. Should be fixed now. Please retest.

t-b avatar Aug 22 '25 11:08 t-b

@timjarsky Any update from Zayd?

t-b avatar Oct 02 '25 17:10 t-b

He continues to be unable to get his NI hardware to work with this PR (the hack did work)

timjarsky avatar Oct 02 '25 17:10 timjarsky

@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.

t-b avatar Dec 01 '25 21:12 t-b