12-06-2012 03:49 AM
Hello all,
I have built up a VI for communication with zigbee ( wireless protocol) through RS 232. The VI can be described as follows-
1. This is a VI in which I first send a handshaking command "+++" (to enter in AT command mode) to zigbee module and receive a response "OK" from zigbee.
2. after receiving "ok" from zigbee; VI sends "ATCN" command (to exit from AT command mode) where zigbee again sends me an "OK" response.
serial VISA read and write VIs has been used for this protocol
3. After receiving this 2nd "ok" response a call to a SubVI is given. This subvi is to write 3 digits to zigbee through COM port which will wirelessly transmit this data to zigbee receiver and in turn to microcontroller where this zigbee receiver is connected.
This VI works fine and the result is achieved. But when I create .exe of this VI I can't write to my COM port i.e.when VI calls SubVI; front panel of subvi opens (pops up); but when I enter data to be written and click on button to send it is not working; i.e I can't see data on hyperterminal of other PC where zigbee receiver is connected.
So is there anything that I am missing while buliding an .exe?....as otherwise my VI normally works fine and transmits data wirelessly. Any help in this regard would be highly appreciated. I am attaching snapshot of my [1] VI and [2] SubVI herewith.
Best Regards
12-06-2012 05:20 PM
12-06-2012 10:46 PM
Hello,
I have installed VISA runtime engine and labview runtime engine 2011 on the PC where I want to run my .exe....and if that was a problem my first handshaking code wouldn't have run....is there any other option of including VISA in .exe while building application from application builder?
best regards
12-10-2012 03:58 PM