08-20-2007 04:18 PM
OK, here's the tidy test case, AfterPulseRevisited.vi. This is a rework of AfterPulse.vi which was part of the opening post of this thread. What's changed includes using PFI and internal timebase to eliminate physical wiring, using a channel node, running error lines everyplace, explicitly setting the buffer control digital output line low, and commenting the constants on the left edge with the ends of the strings they must contain after anybody alters this code to use their own DAQ. What's the same includes the basic intent & principle and the flat sequence and timing that dictates execution orders where it should matter. This vi is meant to run on DAQ hardware that has NO PHYSICAL WIRES connected to it. AfterPulseRevisited.vi is the neat embodiment of all the ground we've covered, or at least I hope so.
On my development DAQ system, Laplace, which uses the USB, this vi generates timeouts. Iterations that run before the timeout generate huge values of "Diff".
On my full-up DAQ system, Multi, which uses PXI, this vi ran dozens of iterations without any timeout and give "Diff = 0" or occasionally +/-1, which is what I want to see. I could also merge the last two frames of the flat sequence and maintain expected behavior, which is consistent with dataflow principles but unlike some earlier posted vi's behaviors on Laplace.
I wonder why AfterPulseRevisited.vi fails on one of my systems, and how many other systems it runs or fails on?
08-21-2007 08:26 AM
08-21-2007 10:08 AM
08-22-2007 07:32 AM
08-22-2007 08:29 AM
08-22-2007 09:12 AM
David, thanks, he's reading the thread.
Actually, I didn't speak very precisely. My post might be misleading, though I didn't intend it. Nobody at NI is saying anything is wrong with any hardware. All the engineer actually said was that running a related VI he got a timeout on some hardware and not on other hardware.
I'm the only one to whom it appears hardware may be at fault, or at least the only one saying so.
It is hard to resist thinking that, when I think I've understood the instructions and things still don't go right.
08-24-2007 08:51 PM - edited 08-24-2007 08:51 PM
Message Edited by Erik J on 08-24-2007 08:58 PM
08-27-2007 07:15 AM