code to change the address from one serial device to another. I have to devices that I need to poll one at a time. One is addressed 0 the other1. I need to write a function that will send the serial command to the device through labview. How do I do this?Without details on the wireless device, it's hard to give an exact answer. Basically, what you will need to do is use a VISA Write with Com2 as the VISA Resource Name. Determine the correct command to change address from the device's documentation. That command (properly terminated) is what you use for the VISA Write's write buffer input. By properly terminated I mean that most serial instruments require a termination character at the end of each command string you send. This tells the instrument to start processing the command. Typical characters are a carriage return or a line feed. The device's documentation should tell you what to use.
Using VISA Write to change the address and probably another write command to tell the device to download, then
use a VISA read to get the actual data.
There are a couple of shipping examples of serial communication that should help get you started and application notes and additional examples can be found
here. I would also recomend debugging the cable and verifying the commands first with a program like Hyperterminal.