05-09-2008 01:41 AM
Hi All,
I am using LabVIEW version 8.5.I am doing the tutorial release notes of labVIEW version 8.2.I found that some functions from 8.2 and 8.5 is is not same.I found difficulties for drawing block diagram in tutorial.so anyone can show me what difference.?the function that i can't find is as shown in pic. Thanks all for your help
Best Regards
Nyan Lin
05-09-2008 02:15 AM
05-09-2008 02:57 AM
05-09-2008 03:04 AM
Hi Nyan Lin,
you can right click on the connector of your vi and select create -> constant, control or indicator. The color of the error cluster has changed in LV8.
Hope this helps.
Mike
05-09-2008 03:31 AM
05-09-2008 03:33 AM
Hi Nyan Lin,
in the original picture is another event case, maybe with a stop event. So add this event to your event structure and connect a boolean control to it.
Mike
05-09-2008 03:38 AM
Hai,
Just right click on the event structure tunnel border and select "use default if unwired"
Hope it helps
Mathan
05-09-2008 03:44 AM
05-09-2008 07:16 AM - edited 05-09-2008 07:20 AM
mathan wrote:
Hai,
Just right click on the event structure tunnel border and select "use default if unwired"
Hope it helps
Mathan
Just and additional comment: It is a better practice to wire across each case of an event structure when it goes to a shift register. For instance the default value for a numeric is 0 while it is FALSE for a boolean. If you use the default values as sugested and that event case runs, it will reset the value in your value in the shift register. Unless that is what you want to do. If it is, then place a comment that says "this even resets the value". But as normal practice, don't use default values arbitrarily because it will affect the outcome of running your VI.
In the particular case where it is to stop the application (or loop), which is based on something like a STOP button (and other cases, such as an error), then as mentionned, it is ok to use the defaut value instead of having lots of FALSE constants (and wires).. 🙂
Just wanted to make it clear that it is ok in this case, but not for everything.. 🙂