05-11-2024 04:28 AM
Hi,
I prepared a LabVIEW code for the NI-6255 Mass Termination where I am using multichannel (RSE) samples and an analog retrigger signal. Initially, I faced a runtime issue: with each 100 Hz trigger signal, only one sample per channel was entered into the data acquisition. To improve this, I introduced a for-loop, which initially took 10 seconds to complete. After implementing a control task with DAQ commit state, the runtime decreased significantly, now taking around 2 seconds to finish. Profiling showed that starting and stopping the DAQ within the loop takes about 15 ms per loop, totaling around 2.2 seconds due to the DAQ operations.
Would switching from an analog trigger signal to a digital trigger signal be beneficial in reducing the total runtime further?
Kind regards
Hasham
Solved! Go to Solution.
05-11-2024 08:00 AM
Please refrain from creating a new post for the same question. This post is duplicated with Re: Stucked in Retrigger option NI-6255 Mass termination device
USB-6255 is a M Series DAQ. Retriggerable task is only supported in X Series DAQ. Reference: Retriggerable Tasks in NI-DAQmx
As I have mentioned earlier, please refer to Retriggerable Data Acquisition with NI DAQ Devices for a shipping example of M Series USB DAQ device.