04-22-2008 07:34 AM
JeffOverton wrote:
that's not so weird Ray. If you forget a couple characters in C or VB your comments execute inline
04-22-2008 07:56 AM
04-22-2008 08:09 AM - edited 04-22-2008 08:11 AM
I always use error clusters for data flow instead of sequence structures.
If the sub VI still needs to be executed though an error occured, I just pass the error in to error out without having an error case or handling it... ![]()
04-22-2008 10:29 AM - edited 04-22-2008 10:34 AM
If the sub VI still needs to be executed though an error occured, I just pass the error in to error out without having an error case or handling it...
That's actually the standard way that NI is doing things as well. Just check for example the 'Release Queue' or 'DAQmx Clear Task' vi. They also run normally, even if an error occured. Basicly, that holds true to all vi's that clean up stuff after use. Makes sense, because you typically do want to run these vi's to properly close an application after an error.
It's even true for the 'time delay' express vi. That was a bit surpising for me, because that's rather nasty when you use it with long time delays (minutes or even hours....)
04-23-2008 12:10 PM
Where does this program start? You can't tell if the wires run up, down, left, or right!
http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=318446#M318446
04-23-2008 12:21 PM - edited 04-23-2008 12:22 PM
The problem is that he wired the Error In from the image property node to the VISA reference input of the unknown vi.. 😉
EDITED: now let's not get into the potential race conditions...
04-23-2008 05:25 PM
Well, now it's totally clear!
@JoeLabView wrote:
The problem is that he wired the Error In from the image property node to the VISA reference input of the unknown vi.. 😉
04-30-2008 10:51 AM
If People start programming LabVIEW without any previous experience and without doing even simple tutorials or inspecting the examples, there could be interesting mental blocks, leading to some convoluted results.
Here's an interesting example where the programmer was under the false inpression that:
it is absolutely illegal for wires to cross structure boundaries!!!. 😄

(From http://forums.ni.com/ni/board/message?board.id=170&view=by_date_ascending&message.id=320058)
04-30-2008 10:54 AM
04-30-2008 11:49 AM