01-06-2010 08:50 AM
I want to create case structure like the ones in "containerkraan van A3.vi." My attempt can be seen in "opdracht 5 Ronald.vi."
How can I edit my case structures to have them the same as in my example file? I have a broken error now.
01-06-2010 08:57 AM
You need to provide outputs for both the FALSE and TRUE cases. Either create constants in the empty cases and wire to the output tunnels or if you are happy with 0 values right click the output tunnels and select "use default values if unwired"
Hope this helps
01-06-2010 08:59 AM
If you have a tunnel coming out of the case structure, then each case must generate a value for that tunnel. This is by design, and is explained in the LabVIEW documentation. The original code had the tunnels set to "use default if unwired", which means they will generate the default value for whatever datatype is being used. In this case it would be 0.
What is the purpose of this code? It seems ... quite "heavy" to me.