11-28-2007 04:44 PM
11-29-2007 01:52 PM
Hello Neophytus
specialiensis,
The reason you are receiving that error is because your USB
device does not support that functionality. I believe that this is
because of the bus type (USB v PCI) and the difficulty passing clocks in real
time across the USB bus. What led me to this conclusion was that I tried
running the VI on my computer with a PCI M Series card, and I did not receive
any errors. I simulated your USB device, and received the same error you
did.
It would make sense that the other methods you try did work
since both the DAQ Assistant and the example program you ran do not use the
timed loop nor the Create Timing Source VI. This behavior does not depend
on the versions of software you use, it is hardware specific.
You are correct that many of the VIs written by National
Instruments are locked. This is because there is something there we do
not want the user to see for some reason. However, I assure you that the
DAQmx driver has been thoroughly tested, so there shouldn't be a need to see
this code. You should be very careful changing these VIs as well since
they are used extensively in many programs.
I am not familiar with your application, but I would recommend
looking at the function of the program to see if it is necessary to use that
timed loop or maybe there is another source you could use for it. The rest of
the DAQ programming in your VI should work with your device; it is just that
one VI.
11-29-2007 09:54 PM
11-30-2007 01:10 PM