LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using bundle and unbundle to carry data

how about changing everything and allowing the screen to go LEFT TO RIGHT
rather than LEFT RIGHT,
DOWN
LEFT TO RIGHT
DOWN
LEFT TO RIGHT?

Best regards,
Krispiekream
0 Kudos
Message 21 of 29
(1,335 Views)
If you dont want to use a statemachine then it is probably best to keep the left to right data flow.  Eliminating any vertical data flow is a good thing to do.  It will be easier for you to follow (if you have to come back to this a few months from now) and it will be easier for others who look at it after you.
Message 22 of 29
(1,333 Views)
ok. what about this case.
i want to remove the input echo local variables and replace it with the bundle and unbundle. i dont know how to go about doing this on this part. can you help
thanks

Best regards,
Krispiekream
0 Kudos
Message 23 of 29
(1,302 Views)
I see that you already have "Input Echo" in your cluster outside the while loop.  Run a wire from the Unbundle By Name "Input Echo" outside the while loop into the while loop and up to replace the Input Echo Local Variable Control.  You can then run the boolean wire from within the case structure back down to the cluster and use a bundle by name function to re-insert it.  This will get rid of both of those local variables.  Let me know if this is unclear.
Message 24 of 29
(1,293 Views)
In the image you posted, on the upper left it looks like there is a bundle by name function (mostly cutoff on the edge of the image).  It looks like you wired into the bundle by name but did not wire the bundle by name output back into the cluster wire.  I am not sure if that is the case or not as the output wire may have been shifted left to avoid a bend in the wire.  I just wanted to bring it to your attention in case it is a problem.  The cluster will not be updated like you think if you forget to wire the output of the bundle by name function.
Message 25 of 29
(1,291 Views)
did you mean like this?
when i run it. i run into an error.
i guess input echo is false 1st and then in the case loop, it makes it true. but since it is false on the outside, it makes writing into a file false.
do you see it?
Best regards,
Krispiekream
0 Kudos
Message 26 of 29
(1,269 Views)
Take a look at the attached image.  You had your cluster wired so that it would not update like you want it to.  Let me know if you have any more questions.  Forget about that, I didnt notice that your error cluster was custom (?), I thought the pink wire was the cluster wire, but on closer look it appears to be your custom error cluster.  Anyhow, how are you looking at the end result of your cluster, do you have an indicator for it somewhere?  If so you need to run your cluster wire out of the case structure and to that indicator, otherwise I have no idea what it will be showing you.


Message Edited by jmcbee on 07-21-2008 03:09 PM

Message Edited by jmcbee on 07-21-2008 03:11 PM

Message Edited by jmcbee on 07-21-2008 03:12 PM
Message 27 of 29
(1,266 Views)
ok. how about this?
is that correct?
do i have have to input in and out of the error out?
p.s. the error out is not custom. its built in by labview?
Best regards,
Krispiekream
0 Kudos
Message 28 of 29
(1,246 Views)
is this over doing it?




Message Edited by krispiekream on 07-21-2008 06:57 PM
Best regards,
Krispiekream
0 Kudos
Message 29 of 29
(1,237 Views)