Hi,
I am using DNET's I/O Communication VI for sending and recieving data from a DNET device. This VI has a while loop which is running all the time, exchanging data with the selected device. Now, I have a few controls in the front panel which should be programmed using the event structure. When I click on these switch, an event should be triggered which would then send the new data to the selected device using the I/O Communication.
Since I already have a while loop running all the time, is it possible to put the event structure inside this while loop. If yes, how should I terminate the events.
I have tried putting the event structure both inside and outside the loop. Both the time, my program stalls,
and the front panel switches dont operate.
Please let me know how to get around this problem. I have attached the main file, but not included all the subvis's..but you would have a good idea if you have a look at this vi.
Thanks.