Functional difference between VISA resource name ASRL1::INSTR and COM1

Config: LabVIEW 6.02, VISA 2.6.0
I have used a text constant for "VISA Configure Serial Port.vi" for years, and just now I have run into problems.
With my application, a text constant of ASRL2::INSTR would properly open the port, but it would not send any data, but using COM2 worked.
What is the difference?

MAX sets up serial port aliases automatically when possible. Let me try to explain.
If the alias "COMx" was not previously configured in NI-VISA, and you have a serial port really named "COMx", and that VISA resource string does not have any other user-configured alias, then MAX will bind that alias to that port, regardless of what the full VISA resource string is. That part actually makes sense and shouldn't confuse anyone. If the alias "COMx" is taken, or the user has manually configured a different alias for the serial port (such as "MyDMM", for example), then MAX does not auto-assign the alias for that port. So far so good.
The confusing part in many cases is how NI-VISA itself assigns the VISA resource string. For COM3, normall
y NI-VISA would assign ASRL3::INSTR, and so on. There is 1 conflict that usually screws everything up. Since NI-VISA on Win32 allows you to open the parallel port by default as ASRL10::INSTR (for extremely historical reasons), the conflict occurs when you really have a COM10. It's not a terrible conflict, but it is confusing. NI-VISA will match every other port that it possibly can, and then just assign a unique resource name (ASRLx::INSTR) for COM10.
I am not sure why in your case NI-VISA didn't match COM3 to ASRL3::INSTR. If you want to do some experimenting, try this. Go into MAX, delete all your VISA aliases, delete LPT1 from the tree, exit MAX, restart MAX, and refresh. See if that cleared it up.
Dan Mondrik
Senior Software Engineer, NI-VISA
National Instruments

Similar Messages

  • Key functional differences between SAP ECC Version 6.0 and SAP Version 4.6

    Hi Forum,
    As we are currently updgqrading to SAP ECC Version 6.0 from SAP Version 4.6, could someone please identify what are the new functionalities are being offred in SAP ECC 6.0.
    Please let me know or guide me in a right direction - my email address is [email protected] or simply reply to the forum.
    Thank you
    Yogesh

    Dear Yogesh,
    Please go through Upgrade info @ service.sap.com.
    http://help.sap.com/saphelp_erp2005vp/helpdata/en/43/6880cbb88f297ee10000000a422035/frameset.htm
    http://solutionbrowser.erp.sap.fmpmedia.com/
    Major difference is ECC6 is netwear product having WASJAVA+ABAP
    secondly support unicode apart from this we have other diff. you can get fom master guide from service.sap.com/instguides
    For installing ECC 6.0 you required a solution manager key.With out solutionmanager key you cannot install ECC6.0.
    For ECC 6.0 is called netweaver component here you have ABAP+JAVA stack.
    ECC6.0 supports UNCODE.
    For installing 4.6 you don't required solution manager key.It only having ABAP stack.
    4.6C supports NONUNICODE.
    Hope this would add some more info.
    Regards,
    Naveen.

  • Functional differences between e-recruiting in 32 bits and 64 bits

    Hi all,
    I need to know what the functional impact if e-recruiting is installed on a server to 64 bits or 32 bits, if it exists? or just performance?
    thank's to all.

    The underlying database is the same so long as the LR version is the same. So the key is to make sure you are running LR x.x on the 32bit machine and LR x.x on the 64bit machine. If one is LR x.x and the other is LR y.y then you will have an issue. This is true even across OS platforms. I regularly open the same catalogue under Windows and OS X.

  • Difference between attachment display name in Outlook and FileAttachment.Name in EWS Managed API

    Hello.
    Does anybody know why a plain-text attachment would appear to have one name when viewed in Outlook and saved from there to my computer, but have a different name when I load the attachment from the message using the EWS Managed Api - specifically using the
    EmailMessage and FileAttachment classes from Microsoft.Exchange.WebServices.Data?
    I am connecting to on-premises MS Exchange 2010 with SP3 and using v2 of the EWS libraries.
    Many thanks in advanced for any help you can offer.

    Outlook stopped using DisplayName (PR_DISPLAY_NAME) for attachments back in the Outlook 2002 days to prevent malicious code from displaying MyEvil.exe as ReadMe.txt.
    Dmitry Streblechenko (MVP)
    http://www.dimastr.com/redemption
    Redemption - what the Outlook
    Object Model should have been
    Version 5.5 is now available!

  • VISA Find function to VISA Resource Name

    Hi,
    Can anyone help me with this VISA question. I'm kind of new to
    instrument control, but have been using LV for quite a long time. I'm
    using version 6.02. I discovered the VISA Find Resource function, and
    thought it would be really neat to find the instruments that are sitting
    on my GPIB bus, and then make sure they are the ones I need for my
    testing. The Find resource works great, and returns an array of strings
    that are the resource names of the instruments. i.e. GPIB0::5::INSTR.
    However, the VISA Open (and all the other VISA functions) require a VISA
    resource name control (One of those pruple doohickies with I/O in it).
    I haven't been able to figure out how to get that string from the find
    function into the VISA resou
    rce name control (It looks like a pulldown
    on the front panel) so that I can do a *IDN? query to find out what
    instrument is actually at this address. I've tried property nodes, even
    looked at the invoke node, but to no avail. By the way, the property
    node DID have the VISA resource name, but it was read only.
    Thanks in advance for any help you folks might be able to provide.
    David Dupont
    Airvana Inc. http://www.airvananet.com

    Hello, David!
    I'll do my best to answer your question.
    In LabVIEW 6, you have to assign VISA aliases in Measurement and Automation Explorer. You can assign meaningful VISA Aliases to your instruments that you control using VISA in the Devices and Interfaces section in Measurement & Automation Explorer. The aliases can be used in your LabVIEW application development to refer to your instrument.
    Once you have assigned aliases in MAX, you simply place a VISA Resource Name Constant in your block diagram. Type the alias name into the resource name constant and wire the name constant to the VISA Resuorce Name input of the VISA Write and VISA Read functions to control your instrument.
    I hope this helps.
    Mark Ridgley

  • How I can saving visa resource name in windows registery and load it again?

    I use visa functions in my program for serial communication , I want to save selected resource name in windows registery and next time that i run my program, i want to read it from registery and assign it to my visa resource name control.
    example:         My visa resource name control value = COM2
                            I close my program with this value (how i can easily save COM2 to windows registry key ?)
                            I open my program again (how i can load COM2 in my resource name control from registry Key?)
                            How i can access to visa resource name list? example: COM1     COM2      LPT1     COM56     COM255
    Thanks.
    Solved!
    Go to Solution.

    I guess I don't understand your problem. All you have to do is ready the key containing the desired resource name and wire the resulting value to the appropriate terminal on the open VI. That's as hard as it gets...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Old visa open, error code 1073807343, using VISA with a GPIB device, and VISA resource names

    Hi everyone,
    I'm trying to get a SRS model SR720 LCR meter (manual on this page) working with LabView, connecting it to my PC with an Agilent 82357A GPIB/USB interface (manual on this page). I'm running MAX version 14.0, and NI-VISA version 14.0. I'm running LabView version 13.0f2, 32 bit.
    I followed the directions on this page, and I'm pretty confident I can communicate with my LCR meter, because I can go to NI MAX->GPIB0::17::INSTR under "devices and interfaces", then go to the VISA test panel, go to the I/O tab, and I can enter a few commands from the SR720 manual, like changing the frequency, and I see the light on the LCR meter change to what I just told it to do. Here is a picture, just to illustrate it:
    Also, if I do the *IDN? command, it returns "
    9: Write Operation (*IDN?)
    Return Count: 5 bytes
    10: Read Operation
    Return Count: 41 bytes
    StanfordResearchSystems,SR720,08087,1.03\n
     So, that's good too. I also made the alias of this device "MyLCRmeter", but that shouldn't matter for now.
    Now I'm trying to get it to work in a more usable way. The SR7xx drivers that LabView found for me came with a couple sample programs, one called "Getting Started.vi". I tried to just simply see if it worked, changing the "instrument descriptor" field to "GPIB0::17::INSTR", since that's the one that seemed to be the right device in MAX. Here is a picture of the front panel of "Getting Started.vi":
    Trying to run it like this gave me this error (code -1073807343):
    Old VISA Open in SR715/720 Initialize.vi->SR715/720 Getting Started.vi
    Doing a bit of searching on these forums, I found these few threads (1 2 3), which seem to tell me that, since this program was written, the way you open VISA has changed. In the 2nd of those links, one guy said:
    You just have to replace the Old VISA Open function with the VISA Open that is on the Instrument I/O>VISA>VISA Advanced palette. When you do that, the wire to the string that was used for the resource name will be broken. Delete the string and make the actual VISA Resource Name visible on the front panel. Wire the VISA Resource Name control to the connector pane where the string control was (upper left connection).
    So, I went into the sub-VI Initialize.vi, and did that. Here is a picture of what the front panel and block diagram of the sub-VI Initialize2.vi (I changed the name in case I screwed things up, but I'm pretty sure the new one is the one being called by Getting Started.vi) looked like before I changed anything (you can see the Old VISA Open):
    and here it is after replacing that with the regular VISA Open, deleting the instrument descriptor string and replacing it with a VISA resource, and connecting that to the VISA Open:
    However, as you can see in the image above, and it seems like someone else had this problem in the 2nd thread linked above, I don't see my device listed in the drop-down menu (even if I refresh), only "LPT1" (I don't even know what that is):
    No, I wasnt able to select the visa resource from the pull down menu. somehow it seems disabled or something.
     If I just enter the VISA resource name from MAX manually, GPIB0::17::INSTR, and save and try running that, I get the error(code -1073807346):
    VISA Open in SR715/720 Initialize2.vi->SR715/720 Getting Started.vi
    So I'm not sure where to go from there, or why it's not in the drop down menu to begin with. I'm sorry if I've missed something but I've searched about as far as I can go. If I had to guess, maybe one thing could be that in MAX, under Tools->NI-VISA->VISA Options->My System->Conflict manager, I have both Agilent VISA and NI VISA enabled; I know sometimes problems arise from conflicts between different software fighting over the same hardware. Is this okay, or do I need to change it?
    Thank you and please let me know if there is any other code/screenshots I could provide that could help!

    Hi, I did indeed enable NiVisaTulip.dll under MAX->Tools->NI-VISA->VISA Options->My system->Passports->List of passports. Sorry, I should have mentioned that explicitly.
    By install as primary, do you just mean as it is here, where it is selected as the "Preferred VISA"?
    Or somewhere else? I installed NI-VISA first I believe, and then the Agilent one, and during the installation of the Agilent one, I'm pretty sure I made it not the primary. Here's what I have in the Agilent (it's called Keysight now) Connection Expert software:
    I also have this under the "Keysight 488 options" tab:
    Should that be checked? I don't actually know the role of VISA vs 488 here...
    What could I try?
    Thank you!

  • How to convert a string to visa resource name

    I have a string , like "visa://192.168.123.212/RIO0::INSTR", how can I convert it to a Labview visa resource name? The resource name is going to be used for "Open VI reference" control.
    Also, a related question is , is there a special vi control for ip address input?  How do I check whether the input ip address is in valid format or not? 

    Just wire it up. A string will coerce to a resource name.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Is it Possible to change the Name ' ASRL3::INS​TR' to COM3 instead, in a' VISA resource name' Control ?

    Hi all.
    Is it Possible to change the Name ' ASRL3::INSTR' to COM3 instead, in a' VISA resource name' Control.
    see attached  pic.  is there a control  propertie that can change this View eks.  "ASL3::INSTR"  To "COM3"?
     HFZ
    HFZ
    Attachments:
    VISA INSTR.JPG ‏12 KB

     With Measurement&Automation explorer you should be able to modify the serial port ALIAS to "COM3"
    see jpg
    CLD - Labview Certified Developer

  • How do I convert visa resource name into string?

    Could please anybody help? I have an ergent need. How do I convert visa resource name into string?
    Thank you in advance.

    Most times you do not need to convert it. Just wire it stright into what ever string input.
    See "Format Into Srting" or "Type Cast" functions
    Omar

  • How to convert a VISA Resource Name to String?

    I would like to convert a VISA Resource Name (invalid reference) to string so I can open a session to a GPIB instrument.

    You can typcast the VISA Resource Name, but I usually just treat it like a string. You can connect it directly to string indicators or to any VI that takes a string input. You can even search, concatenate and split it like a string. You can also feed strings into the VISA Resource Name inputs of the VISA functions.
    Rob

  • A "VISA Resource Name" control

    In LabVIEW there is a"VISA Resource Name" control which lists all the VISA resources, is automatically updated when devices are plugged or un-plugged, and has a Browse functionality.
    With CVI you can use NIDAQmx_NewDeviceCtrl( ) on a string control, but this lists only the DAQmx resources.
    Is there another function I can use to have all the VISA resources listed?
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded
    Solved!
    Go to Solution.

    there is the function viFindRsrc which you can use to programmatically find all available resources.
    I didn't write in my post, but I've already looked at this function.
    The problem is that I have to write code to update the VISA resource list, periodically calling this function.
    I prefer an automatic function.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Using Visa "resource name" control with GPIB example

    good morning
    I have in my pc two resources of GPIB (Ni-Enet and HP-HPIB card) each one has differet VISA name (ie:GPIB0,GPIB1)
    means Ni-Enet is GPIB0 and HP-HPIB card is GPIB1.
    I tries to use the example Labview<>GPIB to communicate with GPIB1 but it failes
    because the address given (string), to the gpib write object is a string and it recognized only the GPIB0 addresses
    i tried to use the "visa resource name" control (used in the example Labview<>Serial)
    in the Labview<>GPIB example but it failed. ("visa resource name" shows all resources includes GPIB0 nad GPIB1)
    tell me pleae how to use the Labview<>GPIB example to communicate with the equipment addresses used in GPIB1
    a bit long , but hope the issue is clear enough..
    thanks in advance
    Happy new year.
    Simon

    You can't use that example with an Agilent GPIB board. The GPIB functions are only for NI boards and the NI-GPIB driver. You should be able to convert it to VISA but you'll have to replace the GPIB Writwe/Read with VISA Write/Read as well as changing the GPIB Address String to a VISA Resource Name.

  • LE/WM functionality difference between 4.6c and ECC 6.0

    Hi,
         I am looking for functionality differences between 4.6c and ECC 6.0 for LE and WM in particular. I have already checked the sites related to overall differences. I am particularly looking for differences between 4.6c and ECC 6.0 in Warehouse Management and Logistics Execution. Helpful answers will be rewarded.
    cheers,
    Sarvesh

    This is what I have gathered from this thread.
    R 4.7 New Functionality in WM:
    •     Cross Docking
    •     Value Added Services
    •     Task and Resource Management
    •     Dynamic Cycle Counting
    •     Yard Management
    Effect of ECC 5.0 on WM:
    Archiving Data has been improved
    ECC 6.0 Version comparison link
    http://solutionbrowser.erp.sap.fmpmedia.com/
    •     Picking Consolidation for many deliveries
    •     RFID integration
    •     Enhanced Cross Docking
    •     Enhanced Task and Resource Management

  • How use USB with VISA resource name?

    Hi, 
    I'm new at LabVIEW and I'm working on a code that has to acquire data from a measurement device.This device only has a USB output so I have to work with it. As far as know the block that is used to refer a external port is VISA resource name. I have installed a driver that recognizes the serial ports, and they appear in the list of VISA resource file at front panel. So I figured that installing the product's USB driver so the USB's ports would appear. I installed and nothing of USB ports. I don't know it is that simple or working with USB ports is a little bit harder. I've tried a lot of things and nothing worked so here I am.
    PS: I have noticed that the driver's version is 64 bits (my pc is 64 bits)  and my LabVIEW version is 32 bits, so could that be the problem?
    The device by the way is Digital Analyzer WT500, Yokogawa.
    Thank you.
    Solved!
    Go to Solution.

    Victor,
    the suggestion of Instrument Driver is to make more easy using the instrument. 
    Normally, you should install a windows drive from manufacturer (if it isn't installed, the instrument will appear like a pendrive in device manager) and the NI VISA. But for some instruments, the manufacturers have API's that uses NI VISA to communicate with your equipments.
    So check if your instrument appear correctly in device manager (as indicated by Yokogawa). If not, check if Yokogawa has an appropriated driver for this instrument and install it. 
    Is it clear?
    If you prefer, contact NI Brazil Support by website or by phone (11)3149-3149 Ext 3.
    Ricardo Ramos
    Engenheiro de Vendas - Sul
    National Instruments Brasil

Maybe you are looking for

  • Using jdbc StoredProcedure to return from a function an array of objects

    I am trying to call a stored procedure(function) using jdbcTemplates with no inputs which returns a list of objects. I previously used the same function returning a cursor and used the following example: http://www.saarathi.com/wiki/Processing_JDBC_R

  • Time machine on a network drive

    The situation: We have a Mac Pro with a Time Machine volume on an external drive that is  attached to a networked Mac. I don't think this is a very common scenario, but it works just fine over a gigabit network. We do not automount any drives on the

  • G5 vs MacBook

    hi. i have a dual G5 (the actual 2 processor ones, not dual core), and want to replace it with the macbook. do you think the speed would be comparable, i have the stock video card in the powermac (radeon 9600)

  • Yoga 13 Firefox slow as hell.

    Is it just me or is Firefox slow as hell on this thing? I'm talking about page rendering and scrolling speed. Heck, even as I'm typing this, I'm experiencing lag with the characters appearing on the screen. Chrome behaves better but still lags behind

  • CO43 ISSUE

    Dear friends, kindly suggest me for the below mentioned issue. I am in great problem & not getting any solution for the same. in my client : there are two company codes as 1000 & 3000. the same two are used as plants also. they have some inter compan