11-21-2007 10:45 AM
11-21-2007 11:21 AM
11-22-2007 09:19 AM
Hi! Dennis
Thanks for your reply.
How to send commands to each port and what kind of reponse i will get so I know that which port is connected where? How to define aliases to all Ports. I have found all three com ports which is connected to microcontroller and UUT. But I don't know which port is connected where.
reply me as soon as possible
11-22-2007 09:49 AM
You send commands with a VISA Write and get responses with a VISA Read. I have no idea what commands to send. It's your micro and UUT. I would imagine you would know how to communicate with them and what commands they accept and what responses they will return.
You assign aliases in MAX. Expand Devices and Interfaces>Serial & Parallel. Click on the port and on the right side of the screen, the general window will have a box labeled VISA Alias on My System. Enter the name you want and then click on the Save at the top.
I take note of which port was what when I build a system. The built-in ports of a pc are usually labeled but when I add a USB-RS232 converter, I add one at a time and note how it is then designated in MAX. I label the device and then add the next converter and repeat. Since, apparently, you did not do this, you will have to open a communication session with each com port in turn and send some commands to see what repsonses you get back as noted above. With USB-RS-232 converters, you could also disconnect one at a time, refresh MAX and see which resource disappears. Label the converter with that name.