03-09-2017 05:12 AM
Hi,
Again I have some difficulties.
I can't find a way how to connect terminals from Case structure with the inputs of Array Index node as shown in Case structure - False case. Without inserting any element in the case.
Can anyone help?
Cheers,
Evita
03-09-2017 02:35 AM
Hi,
Again I have some difficulties.
I can't find a way how to connect terminals from Case structure with the inputs of Array Index node as shown in Case structure - False case.
Can anyone help?
Cheers,
Evita
03-09-2017 08:13 AM
I know you said "Without inserting any element in the case", but, could you put something in the case temporarily and then remove it once you've got the wires in place?
03-09-2017 08:21 AM
That is how I do my workaround, bet that is not "normal" solution since it is possible to connect these nodes by hand.
I am surprised that NI still haven't found solution for these minor-important things.
Evita
03-09-2017 08:22 AM
I'm afraid I don't understand your question, and the image just doesn't help.
What are you really trying to do? Can you manually sketch into that picture what you think you want the connections to look like?
03-09-2017 08:28 AM
I will try once more.
I want it to be as shown in Case Structure TRUE case, but all I can do is as shown in the FALSE case.
Evita
03-09-2017 08:35 AM
Every case must have something in it to tell what data to send out of the tunnel in the event that case executes. Right now, the VI is broken in that latest image because you have the "open" tunnel showing there are cases with out values. You can wire something across like you've done. You can drop a constant in there. You can go and right click on the tunnel and pick Create Constant or Create Control.
You can also right click on the tunnel and select Use Default Value for Unwired Cases which will partially fill in that open tunnel. It will tell you have you have some unwired cases, but the default value of the datatype will be sent out if those cases execute. I don't often recommend using that because that tunnel choice often gets people in trouble when they have a VI that can now execute, but they really should have wired something in there or across such as a VISA or file reference.
I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours
03-09-2017 08:43 AM
I see where you got it wrong.
I am talking about scripting. I want to generate what is shown in picture of my previous post.
Evita
03-09-2017 08:51 AM
Your subject says scripting, but nothing about your VI demonstrated that.
03-09-2017 08:54 AM
I want to have generated what I demonstrated before.