07-18-2018 08:40 AM - edited 07-18-2018 08:43 AM
Two suspects I see:
1. Due to the inherent latency of the USB bus, I wouldn't expect *any* USB device to be able to be used as a Timing Source.
2. I don't generally use Timed Loops, but when I've dabbled it seems that the Timed Loop structure wants sole control over the resource that's used as a Timing Source. I think you might get a conflict from having ctr0 used both as a Timing Source and also in another task.
I'm not 100% sure about either thing, but those are my "educated guess" suspicions.
An alternative to the Timing Source and Timed Loop might be to setup a DAQmx Event that you can service in an event structure with a regular While loop. Again, not 100% what kind of "event" you would need so not sure it'll be a viable option.
-Kevin P
07-18-2018 08:42 AM
Do you mean where it is gone wrong when running? As follows?
07-18-2018 08:58 AM
07-18-2018 09:04 AM
Actually that is showing a different error number now.
07-19-2018 03:18 AM
I'm sorry, I don't know much about LabVIEW debugging. But, do you mean this?
07-19-2018 03:22 AM
I pressed the "continue" button and then pressed the "Pause" button, which shows the error.
07-19-2018 03:28 AM
09-12-2018 12:40 AM
Hi,
This error is occurring because:
1. USB multifunction I/O devices do not support hardware timed single point acquisition
2. Only PCI/PXI/PCIe/PXIe DAQ devices can support Hardware-Timed Single Point Sample Mode (HWTSP).
For a complete list of supported and unsupported device, please refer to our documentation:
http://www.ni.com/product-documentation/54449/en/#toc4
In HWTSP, samples are acquired or generated continuously using hardware timing without a buffer. Because samples must be continuously acquired/updated and processed on a point-by-point basis, you need to use a fast, deterministic bus. The inherent latency of the USB bus itself does not provide enough determinism to allow this output mode, therefore it is not supported.