10-31-2007 03:32 PM
10-31-2007 05:23 PM
Yes, visaconf.ini appears to be no longer used. I'm not sure where the settings are kept now but I'm also not sure what you want to do. You say you have 6 ports and want to add another. I'm going to assume you are using USB-RS232 converters so are you adding a seventh and it doesn't appear in MAX? Detection of new com ports is automatic and is dependent on the driver for the converter. If it's the same make and model as your other com ports, the driver should be the same and it would be recognized. Does it show up in the Windows device manager.
As far as identifying the others, if these are USB-RS232 converters and you plugged them in all at once and don't know which is which now, unplug one at a time and refresh MAX. Take note of which one is no longer listed and then mark them.
11-01-2007 11:01 AM
11-01-2007 11:19 AM
11-01-2007 11:20 AM - edited 11-01-2007 11:20 AM
Message Edited by pankaj on 11-01-2007 11:23 AM
11-01-2007 12:29 PM
11-01-2007 12:40 PM
You made it confusing because you said you plugged in a device and expected a new com port to show up. That is not how it works with com ports. The com ports will be listed whether you have anything plugged in or not. How many physical ports do you have on your pc? You mention com2 through comN. Do you actually have those physical ports? It is rare to find a pc with more than one port these days.
You mention shorting a couple of pins on the com port. Assuming that this is com1, then the loopback proves that the port is working. If you connect to the device and can't communicate, my guess is that you have either wrong settings or the wrong type of serial cable. If you are using a null modem cable, try a straight through one and vice versa.
11-02-2007 09:01 AM
11-02-2007 09:20 AM
Com1 (or com whatever) is just an alias. The actual VISA resource name is ASRL1::INSTR. Since it's an alias, in MAX you can rename it to whatever you want. I don't understand what you mean by a device being set to another com port. An instrument connected to a com port has no idea which port it is connected to and doesn't care.
Can't help with your command problem. You've not provided much information. If you can post the manual or a link to it and the VI you have written (with actual data saved in it), that would help.