LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting pulses between time delays

The general answer to that question is: Wire up the error out clusters. If you do this, you can handle the errors the way you want including ignoring them or reseting the error status to False. You can also turn off automatic error handling, but then you may miss error that did not get wired.

Lynn
0 Kudos
Message 11 of 14
(926 Views)

I have every available Error In/Out connected. I've used it to control the flow of my test.

And still, this error box pops up and has two options: stop or continue. You have to keep pushing continue to force it through. What do you do when you have these types of errors?

0 Kudos
Message 12 of 14
(923 Views)
It is hard to tell without seeing the code. I looked at the VI Jaime F posted back on 11-1 and it has automatic error handling enabled in VI properties. The error out terminal from the DAQ Assistant is not wired. You might try turning the automatic error handling off and put probes on the error cluster wire in various places. If you can post the current version of your code with the data saved as default, perhaps someone can help.

Lynn
0 Kudos
Message 13 of 14
(921 Views)

Hi GradMarch

I have one suggestion; something that might help is increasing sampling rate or the number of samples you are reading in the DAQ assistant.  To bypassing the error 20308 you need to replace the error tunnels on the while loop with a “shift register”, place a case structure that will clear the error if the error receive is -20038 it gets clear out. Also make sure you follow the previous post advise.

I hope it helps



Message Edited by Jaime F on 12-17-2007 11:56 AM
Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 14 of 14
(898 Views)