MAX 4.5.0 loses VISA resource

I couldn't find a Board to post on measurement and Automation Explorer, so if there is a better place to post this question let me know...

I order a power supply through VISA.  I created a new VISA, assigned an alias and saved resource.  When I stopped MAX (version 4.5.0f0) everything is fine with this resource, but when I restart my computer it is lost.  I had no such problem with the previous version of MAX, I was wondering if it is a bug or if somewhere along the way, I changed my procedure.

So, it looks like you had full VISA 4.3 installed on your machine and put at just 4.4 VISA execution level. What you see is a bug introduced by a small incompatibilities between the niLxiDiscovery.exe component (installed by NI-VISA 4.4 runtime) and the niVISAe.mxe (v4.3). At this point, you have two options:

(1) add an entry of the Static0 = 1 in the [TCPIP-RSRCS] section in your visaconf.ini. I made this change in the file you attached attached below. Basically, for each resource that you add manually, if his name in visaconf.ini is nameX, then in this section, you will need an entry StaticX = 1, where X is the input number.

(2) upgrade to version full of the latest NI-VISA (v 4.4.1) which should automatically have this entry for all manually created TCPIP resources.

Let me know if you have any other questions or if none of these steps solve the problem.

Pankaj

Tags: NI Software

Similar Questions

  • visa resource can't find ports

    Hi all

    I'm having some problems with access to my COM-Ports: they are not only apperar in the drop down "Resource Visa..."

    There should be a USB adapter to series, which has been installed correctly (appears in devices and printers as COM4) and has so far worked correctly with labview on other computers.  Also, I added just a Dev series, but also who is not recognized...

    I've just updated my computer from windows xp to 7 and labview 2011 to 2012 if it is of no relevance.

    Before updating the series on the same computer USB adapter worked very well... (The card series however was not recognized backthen either..)

    I am very grateful for any idea you may have!

    Thank you very much in advance,

    Keksbold

    In MAX, under 'Software '. NI-VISA would be on your hardware driver DVD you got with the distribution of LabVIEW. Or download it (click on the help link at the top of the page).

  • visa resources Finder will find PXI-4070

    Hello

    I use LV 2015, 32-bit on windows 7 x 64.  I have an SMU-1065 OR connected to the PCI computer bus.  I have several instruments in the PXI chassis included some switch cards, a scope and a PXI-4070 DMM.

    When I run the VISA resource finder, the result will show me all PXI cards in the chassis (as well as the serial port of the computer), but it won't find the PXI-4070 module.

    MAX shows the map I can run self test and open the interactive panels in MAX I saved (no alias) NAME of the PXI-4070 as "PXI-4070.

    I can also use the DMM OR-DMM pilots very well.

    the PXI - 4070 Max address is: PXI24::15:INSTR

    I must be able to detect programmatically PXI/SMU cards are in my frame so that I can put them up as system in the configuration it is in.  can someone help me understand why the finder resources VISA see the PXI-4070 module and report?

    Hey Reece,

    Have you tried to use the Configuration API of the system NOR? It allows you to programmatically query the hardware on your system. Here is some additional information on the API:

    http://zone.NI.com/reference/en-XX/help/373107J-01/nisyscfg/introduction

    https://decibel.NI.com/content/docs/doc-13216

    https://decibel.NI.com/content/docs/doc-29606

  • How a cRIO can access remote systems VISA resources?

    I have a NI 9871 RS485 module on an ethernet 9148 RIO.

    I have also a laptop and a cRIO 9073.

    I can access each of the 9871 serial ports on the computer but not the 9073.

    When you try to access it from the cRIO, I get error:-1073807192, VISA: (Hex 0xBFFF00A8) is denied access to the resource or to the remote machine. This is due to the lack of sufficient privileges for the current user or the machine.

    How the cRIO can access the serial ports of the module 9871 on the ethernetRIO?

    Or how a remote access cRIO visa resources?

    Or how a cRIO can have sufficient privileges to access remote resources from visa?

    Thank you for your help.

    LabVIEW 2010 & VISA 5.1 on pc

    NOR-RIO 4.0 and 5.1 VISA & NI 9871 SERIES scan engine support on cRIO and eRIO

    Hi Woss,

    It is possible that your RIO Ethernet has some parameters of active access which is to prohibit the connection to serial ports.  You can change these settings in a position and Automation Explorer (MAX) for your device by going to the device under remote systems, expanding the category of software under it and choosing NI-VISA.  There will be a tab in the right pane of MAX called Options of VISA.  In this tab, select Server VISA > security to access these settings.

    From there, you should be able to add the IP address of the RIO device that needs to access the VISA on the RIO Ethernet server.  Once you have changed these settings, just click on register at the top of the window and allow the unit to restart.  Let me know if that helps!

  • Find VISA resources

    I have trouble finding VISA resources properly. I have no problem detection instruments that are connected on the GPIB, but after that they have detected once LabVIEW is convinced that they are there for ever more, even if I unplug and disconnect the device! The only way that the list of the connected instruments is reset completely out LabVIEW and restart it. Why is this?

    I'm using LabVIEW 6.1 (but who can not make a difference) and I attach a VI with two ways to detect if one of the four possible instruments are connected. The Subvi is used to give a command to one of the instrument, and it is able to return an error if the instrument is not connected, regardless of the situation. How can it detect the instrument as expected, but the other methods not?

    In this VI, I need detect how much, if any, and that out of four possible instruments are connected. Simple, but amazingly difficult!

    Any help please?

    James

    Well, now that you say is starting to make a little more sense. I misunderstood what you were asking before.

    Jeff Bohrer wrote: what is the selection if you look at "tools > Options > various... > automatically close VISA sessions?

    Help: "automatically close your left VISA open sessions by the application when the first level VI becomes idle. This check box is cleared by default. "This was added at some point (don't remember when), and the default value is True. It caused a lot of sorrow and complaining from users (I was a), so NEITHER changed the default value false.

    As Dennis has pointed out, there is a distinction between the resource and the instrument. When you perform an initial analysis resources will be created. There is no mechanism that automatically detects that an instrument is no longer there. In fact, when you scan for instruments of MAX, she sends * IDN? queries to find instruments. So, you must check for the presence of an instrument by actually trying to talk to her.

  • How to create names for VISA resources

    Create a VI to interface with a Tektronix Oscilloscope. Tek drivers all use and transmit handles instrument VISA Resource Name to the format.

    Yesterday, I simply plugged a text string with the characters of text on the Tek pilot and it's happy. String = "GPIB::12:INSTR".

    Today, LabVIEW dislikes this incompatibility of format, and I get an error of the pilot.

    My format of the string looks OK, but I have to do something wrong. None of the tools VISA simplty interrogate the device for his VISA resource name. How to do it?

    Thank you.


  • VISA resources between the loops with the queue

    Hi all

    I am just be familiar with the queues and the producer/consumer model, and I am facing difficulties to pass data between the loops using queues, including data of the type "VISA Resource Name.

    Indeed, it seems impossible to cable "VISA Resource Name" as an entry of the item in the queue, as an output of the Dequeue item.

    These screws can I always try to convert something of this type can accept? Or should I take a different approach and that one?

    Thank you very much for your help.

    Florian


  • VISA resource name strings

    Hello

    I have a control "VISA Resource Name" on my front, according to the guidelines of the attached screenshot, which should automatically fill with the names of all the VISA resources that the PC can see.

    Is it possible to get a picture of these names as strings (via a property node, or other) programmatically?

    Thank you very much

    Dan

    In the schema click Instrument of e/s > VISA > VISA advanced > VISA find resources. This VI returns an array of strings. You can type cast the string in a resource VISA type.

  • visa resource name function

    Hi good day to everyone!

    I am a beginner to LabVIEW, and currently I'm testing on a single project.

    Store device data in Server series of STS (which has 16 com ports).

    But I need to use 7 series STS server com ports. I need to read that data 7 com ports and save in a file.

    Each com port has a different function (for example the reading of data or display).

    My question is,

    (1) VISA resource name operation function for 7 com ports at the same time to a VI?

    (2) how can I choose different com ports to different functions?

    Kind regards

    Control of resources of e/s of VISA will show you all the com ports you have on your computer.

    So you just need to make 7 copies of that control and the value of each of them to another com port and use for each VISA entry and read the series of functions that you do.  (Have you looked in the example Finder to get examples of serial port?)

  • A control "VISA Resource Name.

    In LabVIEW, there is a control "VISA Resource Name" which lists all the VISA resources, is automatically updated when devices are plugged or not plugged in and has a navigation feature.

    With CVI, you can use NIDAQmx_NewDeviceCtrl () on a control of the chain, but it lists only the DAQmx resources.

    There is another function that I can use to have all resources VISA listed?

    Hey Vix,

    It seems to be the only solution. Here you will also find an example.

    I hope that helps!

    Bye,.

    Licia

  • GPIB-USB-HS is not correctly recognized NI Max and impossible to find NI VISA resources

    Hello

    I use a laptop Lenovo T400 with Windows XP SP3 and NEITHER 488.2 14.0 installed top. I plugged the laptop GPIB-USB-HS. It can be found in Device Manager normally but may not be properly recognized OR max. In addition, it is not found in resource NI VISA either. Please see attached picture. I reinstalled OR 488.2 and NI VISA. The problem is still there. Advice please? Thank you very much.

    Sincerely,

    James

    OR GPIB enumeration Service is not started. The problem disappeared after the service started. Thank you.

    rqg0717 wrote:

    Hello

    I use a laptop Lenovo T400 with Windows XP SP3 and NEITHER 488.2 14.0 installed top. I plugged the laptop GPIB-USB-HS. It can be found in Device Manager normally but may not be properly recognized OR max. In addition, it is not found in resource NI VISA either. Please see attached picture. I reinstalled OR 488.2 and NI VISA. The problem is still there. Advice please? Thank you very much.

    Sincerely,

    James

  • VISA RS232 read gel-> LV stuck on "reset vi"-> VISA resource inaccessi

    I have a simple vi (attached) that reads from a serial port (in fact, a USB to Serial converter) in a timed loop (in case you're wondering why the vi is written the way it is, the instrument that I'm reading sends status messages every 20 ms, but I want only to read an every 2 econds or more) (, so I can safely ignore the rest).

    The vi starts fine, but after a number of randmom reads as follows (can be dozens, hundreds or even thousands), it freezes, and nor the button 'stop' programmed in the vi or "leave" button can be terminated. However, LabView is always sensitive to this point, and I can close the VI, which translates into a message "reset VI: [name of vi]" being displayied by LV indefinitely. The only alternative is to force close LV using the Task Manager. Unfortunately, when I then try to access the resource VISA help LV or NI MAX, I get an error message:

    Error opening resource:
    ASRL3::INSTR

    VISA: (Hex 0xBFFF0072) the resource is valid, but the VISA cannot currently access.

    The only way to access the resource again is to restart the system completely (even to disconnect and reconnect the adapter USB seems to have no effect).

    I found a number of similar positions in the forums, but none contained a solution. I tried to implement some suggestions which is there found (like turning off the power on the USB controller and inserting a delay between subsequent read operations) unsuccessfully (although since I inserted the delay, the problem seems to appear after a longer time).

    I also captured a trace of the VISA communication, that I join you. You can see at line 138 that the read operation has not returned. This is the point where the vi freezes. The following messages are the result of me close the vi, force closure LV and then try to access the resource again.

    Any idea?

    Thank you

    Giacomo

    Hi Giacomociani,

    You can be a problem is the uncertainty in bytes contained in the read buffer when you decide to read. If the buffer is empty, it can always expect the playback function, resulting in your "hanging" program. Something you can try is a business structure that reads only if a certain number of bytes is in the buffer. That give it a try and see if you still experience the problem.

  • VISA resource error

    Hi, I'm getting "the resource is valid, but the VISA cannot currently access" error. " I use a 4 x serial usb adapter.

    Is it because I use modbus I get this error of visa. All of my com ports work correctly when it is connected to my other devices. Multimeter, power supply etc..

    In the interactive control of VISA my devices are labeled under

    It's the ony com port connected right now. I made a loopback test in labview using Scripture series and read vi and also to the MAX I can write/request to the device but there is no answer or a timeout error. I connect the RS232 to RS-485 to connect to a device of ADAM. All reviews are very helpful.

    Thank you

    Damien

    Hi Damien

    I confirm that you are experiencing an error of 1073807246 code?  It is possible that you did not close the reference to the VISA session in a previous program and as such are not allowed to communicate with him in another.

    The following links explain this more in detail and show that the VISA close function required to close the references you can do during the execution of your code.  Don't forget to close the reference every time you want another program to take control of the serial port, as labVIEW does not release from default serial ports.

    Error-1073807246

    Errors with VISAS screws

  • Control of VISA resource name: to refresh the list of COM ports programmatically

    When the application runs, and you first click this control, it takes 2 to 5 seconds to respond and complete the list for the first time.

    I would like to auto fill in the first time that the application is busy. Can I do this?

    Before allowing the user to click & Select resource VISA name, first use the 'VISA find resource' in your program to do the same thing & then allow or prompt the user to select resources.

    Given that loading EXE, it will execute the FIND VI-first & Labview will inform the resources available.

  • Missing VISA resources in 64-bit LV2014 for Mac OsX

    I'm under LV2014 64-bit on Mac OsX (10.9.5) with VISA 5.4.0.  The 'find Resources.vi VISA"returns an empty array, and the 1073807343 error in 64-bit Labview. In 32-bit Labview, I see my three devices.  Anyone running similar to installation - with success?

    Thank you

    Kevin

    The latest version is 14.0.2 - http://www.ni.com/download/ni-visa-14.0.2/5075/en/

Maybe you are looking for

  • HP t510 and t5565z black screen

    Hello I have several HP t510 and t5565z thin using HP Smart Client OS we use for VMware View customers. Thin clients for very well most of the time. However occasionally they will get black screens and no longer respond. I would say that this probabl

  • Can't download the driver XP for Satellite L40 package

    I have a PSL48 L40. I want to downgrade from Vista to XP. I went to the download page for the softpak,the download button is turned on, I press the button, then asks a user and a passwordso I got home my user and pass... .and did not accept.Why? Any

  • The Xperia Z1c Lollipop 5.1 software update

    Hello I have the latest update on my Z1 Compact Lollipop 5.1 everything is wonderful, except that when I disable the Internet I call icon missed out on the tap water is this normal?

  • XP on vista external drive

    I'm running vista I have a xp CD. I want to install xp on an external hard drive. I changed the bios boot order and booted up but vista boots all the time. (I have the bios phoinex). I run the cd via the Explorer of windows vista and the installation

  • something wrong with the pc cannot find answer

    PC crashes may be hard to do with the digital music download wrong speed of walkman or bad I pressed the button