03-05-2009 09:44 AM
Hi, I would want to send data continously with a radiomodem that is connected via RS232 with an adapter RS232/USB in a laptop. Using the VISA commands there's no way I can do it cause in the pin of resource name it dpesn't recognice any device, although I connect the radiomodem to the laptot. How can I send data via RS232 without specifiying the divice I'm using?
Thanks
03-05-2009 10:01 AM
I'm sorry, but your message is a little confusing.
What is a "pin" of resource name?
What do you mean by a transparent device?
RS-232/USB adapters generally create a Virtual Com port with their driver that will show up in Windows System Manager, and thus MAX such as a Com6 (usually a number higher than any real serial ports you have, modems, and some lof the extra wireless/bluetooth stuff a laptop may have). You would be able to use the resource name.
03-05-2009 10:10 AM - edited 03-05-2009 10:12 AM
03-05-2009 10:39 AM
"Pin" isn't the usual terminology. It would usually be connector pane.
What is the device you are trying to communicate with? Do you have another radio modem on the other end that takes it from wireless back to an RS-232 connection on this device?
In your VISA resource name, you would put the Com6 or whatever is the virtual serial port number assigned to your USB adapter. LabVIEW and MAX have no idea about the name of the device you are connecting to. They just know that ComX exists.
03-05-2009 10:57 AM
03-05-2009 11:05 AM
Correct. Select whatever com port is shown in that VISA name control based on how your USB device shows up in Windows. If the USB adapter shows up as Com1, then select Com1. Windows will then know to send your VISA writes and Reads in and out through the USB adapter. It will handle the conversion to RS-232. The radio modem will handle the conversion from RS-232 to the wireless radio. The other wireless radio will convet it back again to RS-232 plugged into your PC104.
03-05-2009 11:52 AM
03-05-2009 12:04 PM
Does the Com port show up in Windows system manager?
Do you see it in MAX? Is the USB adapter currently plugged in?
03-05-2009 12:11 PM
03-05-2009 12:18 PM
MAX is Measurement and Automation Explorer. It gets installed when you install the device drivers such as NI-VISA.
Have you installed the device driver CD or DVD after your latest installation of LabVIEW?