07-13-2009 01:17 AM
Solved! Go to Solution.
07-13-2009 01:33 AM
Hi Havelld,
you can use an event structure to wait for the selection.
Mike
07-13-2009 02:25 AM
Had the same problem. I used to select the highest com port number available. When I ported the hardware the com port number used to get incremented.
You can use a while loop like this
07-13-2009 02:32 AM
Hi muks,
how should someone change/select the com port if you use a constant in a running vi?
Mike
07-13-2009 02:47 AM
Mike,
It is just to show the com port number which has gone to 23 in the picture. Obviously one has to change it to a control.
07-13-2009 08:52 AM
07-13-2009 08:56 AM
Mike,
Yes, I have tried that but I am afraid I don't understand event structures well enought to make it work. Maybe I wasn't properly placing the event structure; i'm not sure if it should be a separate loop or somehow incorporated in, or around, the main loop.
Do you have a good example or tutorial I can start with?
Thanks,
07-13-2009 09:00 AM
Hi Havelld,
the attached picture shows the simplest solution. If you already use an event structure in your vi, then you should integrate this function into the existing structure. I don't recommend to use more than one event structure per vi.
Mike
07-13-2009 09:48 AM
07-17-2009 07:03 AM
Hello all,
is it possible to have your file in Labview8.0, please ?