02-20-2008 07:20 AM
Hello,
I’m using a ni USB 6215 with labview 8.2, the problem i have is related to counters. I’m using two counters to measure two different shaft speeds as well as 3 analogue inputs. The problem i found was when the shaft is not turning or turning very slow that the vi does not take any readings.
It basically freezes until the shaft start running.
If I do not wire a time out value to the DAQ this error occures.
Fehler -200284 ist bei DAQmx Read (Counter 1D DBL 1Chan NSamp).vi:1 aufgetreten
How can i runn the vi constantly even when the safts are not turning
Can somebody help me with this problem?
Thank you for your help in advance
Regards
Fred
02-21-2008 08:05 AM
02-21-2008 08:37 AM
Hello Johannes,
I was told to use multithreading to cope with this problem but this does not work ether.
Thanks for your help in advance
Regards,
Philipp
02-21-2008 09:32 AM
02-22-2008 07:02 AM
Hello Johannes,
Thank you this part works now. Since I’m using Multithreading I have now two saved files that have sections of the data, is there a way that I can use one clock to be able to put the data sets together in the way they occurred and also fill the gaps when the shaft does not turn with zeros. Or is it possible to write the data into a matrix and after the acquisition to save them in one file so that they match in the way they occurred and fill the gaps with zeros.
Does it make more sense to use a producer and a consumer setup to take and advantage of the dual core processor in my laptop I’m using?
Thanks for your help.
Regards,
Fred