05-22-2009 08:10 AM
ok here is my problem my VI runs perfectly when I am under the highlight Execution, but when I take it out of the highlight mode it fails
here is my VI:
Solved! Go to Solution.
05-22-2009 08:41 AM
Hi Harold,
If it works in highlight execution mode this is most likely because the execution speed is much much slower.
Try adding delays in between your DAQ Assistance VI's like in the image below. This should give time for your relays to switch before moving to the next step
Kind Regards,
Steve
05-22-2009 08:43 AM - edited 05-22-2009 08:43 AM
Try putting a delay between those god-awful DAQ Assistant VI's. Maybe you're not allowing enough time. It is usually obvious that if something works with Highlight on, but not off, it's a timing issue.
You don't need the sequences. Just wire the error in/outs to get flow.
oops, Steve beat me while I was typing!
05-22-2009 08:52 AM
SteveBale wrote:.... This should give time for your relays to switch before moving to the next step
Steve,
How can you tell that there are Relays present by looking at a DAQ Assistant?
05-22-2009 08:56 AM
yes i know the daq assistant is god awful
but thank you guys:)
05-22-2009 08:58 AM
05-22-2009 11:57 AM
SteveBale wrote:
... I saw the VI's name was testing relays ...
OH, ok, I was wondering if there's something I was missing.
Using D.O. to control relays is neat, but one thing I like about the NI-Switch stuff is the Wait for Debounce, which may fix this issue he had with timing. There might be a way to do that within DAQmx (or Express VI's), but I don't know what it would be. The NI-Switch stuff of course carries the extra burden of IVI.