Alright, gang, let me darken your doors again with a DAQmx problem. I have a cDAQ 9174 chassis with a 9263 AO card, and a 9205 AI. Running LabVIEW 2019 and DAQmx 19-something. I'm using 2 different tasks, one uses cDAQ1Mod2/ai0 for finite samples, differential. The other task is on cDAQ1Mod2/ai1, also finite samples, differential. I'm jumpering the (only one) analog voltage to be measured together for AI0 and AI1. Why? I use AI0 for repetitive measurements, and use AI1 strictly to detect voltage crossing thresholds to trigger an event. In DAQmx Create Virtual Channel, I gave them the names AnalogIn and AnalogInTrigger. I've verified using NI-MAX that both channels are measuring my voltage input properly.
In my application, I 1st run the vi that 'arms' the analog trigger (using AI1), and it works properly without error. This means that now it's just sitting, waiting for a trigger. Then I attempt to read the (same) voltage on AI0. I am outputting voltages on cDAQMod1/ao0, but 'infrequently' - no waveform generation, synchronization or anything fancy.
THE PROBLEM: The very 1st time I attempt to read from AI0 (requesting # samples = 20), I get a -50103 "specified resource is reserved" error. Any ideas of why DAQmx thinks I have a resource conflict? Appreciate any insight, paul