<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to change &amp;quot;ASRL2:... &amp;quot; to &amp;quot;COM1&amp;quot;? in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454138#M220401</link>
    <description>&lt;DIV&gt;Oh, I just remembered one other thing. That cluster that my VI outputs can be wired directly to the Strings and Values[] property of a combo box. Then you really dont have to worry about anything. The user sees the string and when you read the combo box, you get the value which is the VISA address. That's why I made it like that.&lt;/DIV&gt;</description>
    <pubDate>Thu, 14 Dec 2006 15:23:02 GMT</pubDate>
    <dc:creator>Marc_A</dc:creator>
    <dc:date>2006-12-14T15:23:02Z</dc:date>
    <item>
      <title>How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453255#M220045</link>
      <description>&lt;DIV&gt;Dear All,&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have used com port in my vi. And When I run it in edit mode,&amp;nbsp;the selection of com displays "COM1,COM2,LTP1".&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But when I build it, and run it in another PC, it displays "ASRL2:...".&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; How can I modify my vi to make it display COM1... in another PC?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; And If I only want to display all serial port such as COM1,COM2... ,and not display LTP1.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I don't know how to modify it. Please give me some suggestion.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you very much!&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Dec 2006 00:32:46 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453255#M220045</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-13T00:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453328#M220072</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;You need to assign&amp;nbsp;the Alias of COM1&amp;nbsp;to "ASRL2..." and you can do this in MAX.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2006 07:18:09 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453328#M220072</guid>
      <dc:creator>RayFarmer</dc:creator>
      <dc:date>2006-12-13T07:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453413#M220111</link>
      <description>&lt;DIV&gt;Thank you for your reply.&lt;/DIV&gt;
&lt;DIV&gt;I want to run my program in a PC which has not installed LabVIEW. Surely MAX is also not installed in that PC.&lt;/DIV&gt;
&lt;DIV&gt;So, Is there any other good method?&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Dec 2006 12:14:34 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453413#M220111</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-13T12:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453419#M220113</link>
      <description>MAX settings are written to c:\VXIPNP\WinNT\NIVisa\visaconf.ini. You can make changes to this file manually, taking the corresponding file on the development PC as an example.&lt;BR /&gt;See also &lt;A href="http://" target="_blank"&gt;http://digital.ni.com/public.nsf/websearch/BF528312C9A5423A862565BC00731EC0?OpenDocument&lt;/A&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Dec 2006 12:31:40 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/453419#M220113</guid>
      <dc:creator>pincpanter</dc:creator>
      <dc:date>2006-12-13T12:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454049#M220361</link>
      <description>&lt;DIV&gt;Thank you.&lt;/DIV&gt;
&lt;DIV&gt;I have checked the file "visaconf.ini", it is different in my PC and in another PC that I have installed my program.&lt;/DIV&gt;
&lt;DIV&gt;But how can I to build my vi to let it copy "visaconf.ini" from my PC to the destination PC automatically?&lt;/DIV&gt;
&lt;DIV&gt;And how to delete the LPT port in order to display serial port only?&lt;/DIV&gt;
&lt;DIV&gt;Thanks.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Hugo&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2006 12:58:15 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454049#M220361</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-14T12:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454058#M220367</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Its a text file, use a text editor such as notepad.&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2006 13:18:59 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454058#M220367</guid>
      <dc:creator>RayFarmer</dc:creator>
      <dc:date>2006-12-14T13:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454070#M220370</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Nothing anymore. &lt;SPAN&gt;&lt;img id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://forums.ni.com/i/smilies/16x16_smiley-very-happy.gif" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Message Edited by Nallez on &lt;SPAN class="date_text"&gt;12-14-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;07:58 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2006 13:57:50 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454070#M220370</guid>
      <dc:creator>Nallez</dc:creator>
      <dc:date>2006-12-14T13:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454076#M220373</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Here's a VI I use to do what you want. I don't even worry about aliases in MAX, I do them myself. This VI will only find serial ports, though. You would have to change it to find parallel ports or GPIB ports. It returns an array of clusters, each containing an alias and the actual VISA address. This way you can display the alias to the user and pass the actual address around in the program and you won't have to worry if aliases are set in MAX.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://forums.ni.com/attachments/ni/170/220373/1/COM_search.PNG" /&gt;&lt;/P&gt;&lt;P&gt;Message Edited by Marc A on &lt;SPAN class="date_text"&gt;12-14-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:14 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2006 14:14:25 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454076#M220373</guid>
      <dc:creator>Marc_A</dc:creator>
      <dc:date>2006-12-14T14:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454087#M220378</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Hi Marc A,&lt;/P&gt;
&lt;P&gt;Cant see you VI at present (no LabVIEW available on PC) but I guess you are using the ASRL resource name to send to the VISA open and using the Alias in&amp;nbsp;some&amp;nbsp;control the user can select?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Ray Farmer&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2006 14:26:27 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454087#M220378</guid>
      <dc:creator>RayFarmer</dc:creator>
      <dc:date>2006-12-14T14:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454095#M220384</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Exactly. Then the user sees what you want them to, and you don't have to worry about VISA aliases in MAX.&lt;/DIV&gt;&lt;P&gt;Message Edited by Marc A on &lt;SPAN class="date_text"&gt;12-14-2006&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:32 AM&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2006 14:32:25 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454095#M220384</guid>
      <dc:creator>Marc_A</dc:creator>
      <dc:date>2006-12-14T14:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454138#M220401</link>
      <description>&lt;DIV&gt;Oh, I just remembered one other thing. That cluster that my VI outputs can be wired directly to the Strings and Values[] property of a combo box. Then you really dont have to worry about anything. The user sees the string and when you read the combo box, you get the value which is the VISA address. That's why I made it like that.&lt;/DIV&gt;</description>
      <pubDate>Thu, 14 Dec 2006 15:23:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454138#M220401</guid>
      <dc:creator>Marc_A</dc:creator>
      <dc:date>2006-12-14T15:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454484#M220551</link>
      <description>&lt;DIV&gt;Hi,&lt;/DIV&gt;
&lt;DIV&gt;Thank you for your reply.&lt;/DIV&gt;
&lt;DIV&gt;I am sorry to say that I haven't understood exactly and your vi attached can't be opened for my&amp;nbsp;version is 7.1.&lt;/DIV&gt;
&lt;DIV&gt;Could you help me to convert it?&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Thank you.&lt;/DIV&gt;</description>
      <pubDate>Fri, 15 Dec 2006 00:34:38 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454484#M220551</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-15T00:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454695#M220621</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Ok, I've saved it for 7.1&lt;/P&gt;
&lt;P&gt;Open the VI, you will see that the combo box has no values. Now run the VI. All COM ports on your computer will be detected and added to the combo box.&lt;/P&gt;
&lt;P&gt;Now, what you see in the box is COM1, COM2, etc. However, the actual values of the combo box are ASRL1::INSTR, ASRL2::INSTR, etc. I added an indicator so you can see the value of the first element after it has been set.&lt;/P&gt;
&lt;P&gt;Using this, you can connect the combo box output to any of the VISA VI's and it will receive the actual VISA address of the COM port without you having to set up an alias in MAX.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2006 14:31:03 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/454695#M220621</guid>
      <dc:creator>Marc_A</dc:creator>
      <dc:date>2006-12-15T14:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/455020#M220763</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;Oh,Thank you very much.&lt;/P&gt;
&lt;P&gt;I have understood it exactly after read your example.&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hugo&lt;/P&gt;</description>
      <pubDate>Sat, 16 Dec 2006 01:20:06 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/455020#M220763</guid>
      <dc:creator>hugoliang</dc:creator>
      <dc:date>2006-12-16T01:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615550#M285843</link>
      <description>Hi,&lt;BR /&gt;even if this thread is rather old I hope that somebody can help me with this. I have a similiar problem like Hugo. In my program, I expect COM 1 to be ASRL1::INSTR etc. This worked fine by now for all COM ports on my machine, including a NI PCMCIA card offering 2 serial ports which were named COM 7 and 8, ASRL7::INSTR and ASRL8::INSTR respectively. &lt;BR /&gt;&lt;BR /&gt;Now, I installed an USB ISDN adapter on this computer, and after that my NI PCMCIA card did not work anymore in LabVIEW. The COM ports assigned to this card are still COM 7 and 8.&amp;nbsp; But, the VISA resource name assignments now are ASRL16 and 17, because MAX assigned ASRL7 up to 10 for the ISDN adapter! &lt;BR /&gt;So I thought, ok - I will propably have to find out programmatically which ASRL names are available on the machine and what are the aliases. Running Marcs "VISA Aliases Example.vi" I see that LabVIEW returns ASRL1 up to ASRL 8, but not 16 and 17. So I have no chance to see programmatically that the ASRL assignment has changed for the RS-232 PCMCIA card! &lt;BR /&gt;&lt;BR /&gt;I was able to solve the problem by manually modifying the visaconf.ini file and set the ASRL assignments back to how they were before. But this is no solution, as I cannot expect our customers to do that in case that they run into the same trouble. So I hope somebody can help me with this.&lt;BR /&gt;Best regards,&lt;BR /&gt;Gabs&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Nov 2007 10:53:02 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615550#M285843</guid>
      <dc:creator>GabrielaK</dc:creator>
      <dc:date>2007-11-22T10:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615581#M285854</link>
      <description>Hi Gabs,&lt;BR /&gt;I sometimes have the same problem; this frequently happens when you add/remove serial ports, either multiserial PCI cards, USB adapters, even Bluetooth or Ethernet virtual ports.&lt;BR /&gt;Unfortunately, I have no solution for this problem, although the VISA
Interface Description property may help (sometimes it contains the OS
name, but it's not guaranteed).&lt;BR /&gt;
I cannot understand why VISA doesn't return the OS resource name through a dedicated property (maybe this can become or more likely was already submitted as a product enhancement suggestion). The funny thing is that visaconf.ini seems to contain the right OS name, under the SystemName# key:&lt;BR /&gt;&lt;BR /&gt;Name22 = "ASRL23::INSTR"&lt;BR /&gt;Enabled22 = 1&lt;BR /&gt;Static22 = 0&lt;BR /&gt;SystemName22 = "COM23"&lt;BR /&gt;etc.&lt;BR /&gt;&lt;BR /&gt;One possibility would be to directly read this key, but this doesn't really make much sense; the location of the ini file may change - and it actually changed in the past.&lt;BR /&gt;It seems really stupid to compel the customer to make additional steps whenever the system configuration changes, as it's evident that VISA drivers MUST know which ASRL resource is associated to which COM port.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Nov 2007 13:37:45 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615581#M285854</guid>
      <dc:creator>pincpanter</dc:creator>
      <dc:date>2007-11-22T13:37:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615584#M285856</link>
      <description>Hi Paolo, hi all,&lt;BR /&gt;hmm, so I am not the only one who struggles with this problem. Is there anybody out there who has a solution for it? Otherwise, how is a VISA based application using COM port controls supposed to work after adding other ports if these are confusing the COM&amp;lt;--&amp;gt;ASRL assignment?&lt;BR /&gt;Best regards,&lt;BR /&gt;Gabs&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 22 Nov 2007 13:49:21 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615584#M285856</guid>
      <dc:creator>GabrielaK</dc:creator>
      <dc:date>2007-11-22T13:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615783#M285948</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;
&lt;P&gt;I think that the com names and actual VISA resource names can be different is a very nice feature. The 'comx' names in VISA are just an alias. They can be anything you want. I usually name them to match the instrument I am connected to. Another nice thing is that if a program is using Com1 and the physical port dies (it's happened on several occasions for me), the old alias can be renamed (i.e. 'ComDead') and an existing or new USB-RS232 port can be called Com1. The program is back up and running in minutes.&lt;/P&gt;
&lt;P&gt;If you want to use canonical names instead of aliases, you can set the VISA Resource Name to only display that and if you want to get the actual port from the alias, you can use the VISA property called Resource Name.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2007 04:10:47 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615783#M285948</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2007-11-23T04:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615825#M285963</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;Hi Dennis,&lt;BR /&gt;I partly agree with you. Just partly, because in my opinion it doesn't make sense to confuse the ASRL settings for existing ports when new ports are installed (in that special case it was even just an ISDN modem which was added). &lt;BR /&gt;In my driver, I do not want to use the aliases as VISA Resource Name inputs as this
made trouble when switching to another machine, and is not
compatible with other operating systems. Also, I consider the fact that the VISA Find Ressource VI does not show the real settings a bug. MAX shows that COM7 is ASRL16::INSTR, but VISA Find Ressource VI returns ASRL1 to 9 only. &lt;BR /&gt;Anyway, your suggestion using the VISA property Resource Name solves my problem. It is not that easy, as my selection box offers COM1...x to the user (it is not a program but a driver VI, so I cannot run it in advance to find out which aliases are available on this machine) and I have to typecast the resulting string COMx to a VISA resource to be able to use the property. But then it works and I get ASRL16 for COM7. Thanks a lot.&lt;BR /&gt;Still, I think this behavior and particulary the fact that VISA Find Ressource does not return the correct ASRL settings is not user friendly. &lt;BR /&gt;Best regards,&lt;BR /&gt;Gabs&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Gabs on &lt;SPAN class="date_text"&gt;11-23-2007&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;09:06 AM&lt;/SPAN&gt;</description>
      <pubDate>Fri, 23 Nov 2007 08:06:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615825#M285963</guid>
      <dc:creator>GabrielaK</dc:creator>
      <dc:date>2007-11-23T08:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to change "ASRL2:... " to "COM1"?</title>
      <link>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615983#M286036</link>
      <description>&lt;DIV&gt;&lt;/DIV&gt;On the system I'm using right now, VISA find Resource returns ASRL1, ASRL2, and ASRL10. What are you using for an expression and what are you using for the search mode? And why are you typecasting the strings? You can wire a 'Com1' string or ASRL1 string directly.</description>
      <pubDate>Fri, 23 Nov 2007 15:02:32 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/How-to-change-quot-ASRL2-quot-to-quot-COM1-quot/m-p/615983#M286036</guid>
      <dc:creator>Dennis_Knutson</dc:creator>
      <dc:date>2007-11-23T15:02:32Z</dc:date>
    </item>
  </channel>
</rss>

