No visa resource found - cRIO

Hello,
I have a cRIO chassis with 3 NI-9862, 1 NI-9205 and 4 NI-9401. But in MAX, there is a warning saying that 'No VISA resources found'. And the CAN, analog and digitla IO cards are missing. 
Does anyone know how to resolve this issue?
Thanks.

Hi nyc,
I did reboot the computer after the installation of 488.2 on the host. And the target booted as well automatically after the installation.
Right now, the good news is that the 3 CAN cards are available. But the analog and digital cards are still missing.
Thanks a lot for your help.
Jian

Similar Messages

  • MAX and VISA Resources

    I have MAX version 4.6.1 installed from NI-VISA 4.6.2.  Recently I upgraded from LabView version 8.5 to 8.6 after which I have lost all previously used VISA resources.  When I launch MAX it indicates there aren't any VISA resources found.  I have tried adding VISA resource and I am able to validate the connection and verify connectivity using the VISA test panel.  However, after I refresh VISA resources in MAX it loses the newly added (and saved) VISA resource.  MAX returns the following error code:
    0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
    Additionally, I have tried the following without success:
    Removing MAX and reinstalling using NI-VISA without success. 
    Importing a colleagues configuration data.
    Has anyone experienced this issue and know how to fix it?

    Hello, did you reinstall drivers after upgrading LabVIEW? You will need to run the VISA installer again. As well as any other drivers you want to use in LabVIEW
    National Instruments

  • VISA resource name control: want to refresh list of COM ports programatically

    When the app is running, and you first click this control, it takes 2-5 seconds to respond and populate the list for the first time.
    Therefore, I want to auto populate the first time the application is loaded. Can I do this?
    Solved!
    Go to Solution.

    Hi,
    I'm joining in here since the thread addresses delay problems when using VISA resources.
    I would like to share my experience when using VISA on real-time targets.
    The hardware I use is a cRIO NI-9074 with two NI-9870 (4 x RS232 each) and one NI-9871 (4 x RS485). These modules are used in scan mode to avoid excessive port programming in FPGA.
    My first problem was that the twelve COM ports of the NI-9870/9871 modules did not show up in the list of available VISA resources when placing a VISA resource control on the front panel or a VISA resource constant on the block diagram. However, the workaround using "VISA Find Resources" seemed to work fine. When starting the real-time program from the development machine, the list was populated and by indexing the list I was able to use the port.
    BUT: When building an RT executable from this VI, deploying it to the RT target and setting it as startup, nothing happened. It took me some time to find out, that there has to be a significant delay (in my case about 10 s) before calling the VISA Find Resources function. Otherwise it will not give the correct output. By some reasons, the ports do not seem to be available when the RT startup application begins to run. I tried to play with the delay and found out that the resource list would be empty when calling the VISA Find Resources function almost immediately on startup, after a few seconds it would return the ports of the first NI-9870, after seven seconds the ports of two modules, and after about ten seconds all ports would be available.
    I would appreciate if somebody could tell me what happens since it was quite a pain in the ass to solve this issue.
    Best regards,
    Karsten

  • 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!

  • Using VISA Resource control with Windows 7 64-bit

    Hi.
    My company recently upgraded our laptops, and I'm now working on Windows 7 64-bit rather than Windows XP 32-bit.  I reinstalled LabVIEW 2009 Base Package, trusting that the Windows 7 64-bit OS would be able to handle LabVIEW 2009 32-bit without problems.  But when trying to run our test system, the VISA Resource control doesn't work.
    We use it to get a list of the available COM (RS232) ports on the computer.  But now the list comes up blank.  The only option that comes up in the list, is the text "Refresh".  But nothing happens when I press it.  Is this a bug in LabVIEW?  I've installed the latest patch I found, so now I'm running LabVIEW v9.0f3 (32-bit).
    Thanks alot for any and all assistance!
    Solved!
    Go to Solution.

    Sorry for not replying to you earlier.  I've been busy on other projects.
    I'm not sure what you refer to with MAX, but I'm able to access the com ports using other tools/loggers.  So it's not an issue with Windows 7 itself.  But it seems logical that the problem would have something to do with running 32-bit drivers on a 64-bit OS.  Referring to this list from NI (http://digital.ni.com/public.nsf/allkb/71E9408E6DEAD76C8625760B006B6F98), I'm downloading the 64-bit installer now.
    But if I understand it correctly, you cannot run applications from a 64-bit Application Builder on a 32-bit OS.  So basically you need the Application Builder installed on both a 32-bit and 64-bit OS to have all bases covered.  But in the FAQ, it's asked if it's possible to have both 32-bit and 64-bit LabVIEW 2009 installed on the same 64-bit OS.  Why would this be wanted?  If you cannot use the 32-bit Application Builder, and you cannot trust that the 32-bit LabVIEW runs successfully (i.e. driver issues etc.), why would you want to have a 32-bit installation on a 64-bit OS?

  • Visa Resource Name in cluster passed to Network Stream writer causes error 42.

    If I try and pass this "motor data" cluster with an embedded VISA resource name:
    to a Network Stream Writer in this manner:
    Then I get this error from the "Write Single Element to Stream" VI
    If I change the motor data cluster TypDef so that a string control is used instead of the VISA reference, the error disappears and the data passes over the Network Stream without problem.
    Is this expected behavior? 
    I thought that the "data in" (type = "POLY"?) like the one found on the "Write Single Element to Stream" VI was supposed to accept pretty much anything...
    Solved!
    Go to Solution.

    Doug
    I would consider this a bug, as the memory location (more precisely the VISA refnum or session) of a VISA resource means nothing on a potentially remote system. Also I was under the impression that most streaming methods like binary file IO, but also the network streams would use the LabVIEW flattened format for data clusters and for that the VISA resource name would be the only logical choice instead of the underlaying VISA refnum, but I might be wrong in this specific case and the default behaviour for flattening VISA resources might always have been to the VISA refnum.
    Considering that the VISA control can resurect the VISA session from a VISA resource name if it is already opened, flattening to the VISA resource name instead would be more logical, but using a string control in the cluster type definition is a reasonable work around of course.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Missing TCP/IP Socket from VISA Resource Property

    My Labview "VISA Resource Property" is not showing "TCP/IP Socket".  According to this website, it should:
    http://zone.ni.com/reference/en-XX/help/371361D-01/lvvisaprop/visa_object/
    I/O Session
    FireWire Instr
    GPIB BoardInterface
    GPIB Instr
    Instr
    PXI Backplane
    PXI Instr
    PXI MemAcc
    Serial Instr
    TCP/IP Instr
    TCP/IP Socket  RIGHT HERE
    USB Instr
    USB Raw
    VXI Servant
    VXI/GPIB-VXI Backplane
    VXI/GPIB-VXI MBD Instr
    VXI/GPIB-VXI/VME MemAcc
    VXI/GPIB-VXI/VME RBD Instr
    I'm using Labview 8.6.1 along with MAX 4.6.x  I'm able to see & utilize VISA TCP/IP Socket in MAX so I'm wondering how come I don't see it in Labview?  Is there a way to enable this?

    nevermind, I found a workaround.  I just type cast "TCP/IP Socket" from a "instr" VISA control

  • Find VISA resource

    I am having trouble finding VISA resources properly. I have no problem detecting instruments that are connected on the GPIB but after they've been detected once LabVIEW is convinced that they're there for ever more, even if I unplug and disconnect the instrument! The only way the list of connected instruments is reset is by completely exiting LabVIEW and rebooting it. Why is this?
    I am using LabVIEW 6.1 (though that may not make a difference) and I have attached a VI with two different ways of detecting whether any of four possible instruments are connected. The SubVI is used to give a command to one of the instrument and this is capable of returning an error if the instrument is not connected, whatever the situation. How can this detect the instrument as expected, but the other methods not?
    In this VI, I need to detect how many, if any, and which out of four possible instruments are connected. Simple, yet surprisingly difficult!
    Any help please?
    James
    Never say "Oops." Always say "Ah, interesting!"
    Solved!
    Go to Solution.
    Attachments:
    Check Visa Connections.llb ‏45 KB

    My bad! Here it is again.
    Basically, I have an application which can/will conduct different tests which each use different instruments (each instrument has its own GPIB address). Before each new section or test is started i want to detect which instruments are connected and switched on, and if any of the ones needed for the particular test are not detected then an error (pop-up window) will flag up.
    The problem I am having has also been verified on other machines (and applications) where we are trying to implement a similar function.
    I find that after an instrument (any instrument) has been detected on an address, LabVIEW will not then be able to tell if it has been disconnected (which is a likely scenario). It appears that in both the attempts I made, I get the same result. For example...
    Using the VISA Find Resource function, I run the VI with 4 instruments connected. It finds all 4 and identifies which addresses they're on. If I then disconnect any/all of the instruments and run it again, it still says that they're all there. The only way I can make it 'forget' that the instruments had been found before is to completely restart LabVIEW.
    The same problem occurs if I search every address to see if any instruments are present. Once found, they won't go away.
    However, the subVI controls one of the instruments and if the instrument isn't present then it fails.
    Any suggestions?
    Never say "Oops." Always say "Ah, interesting!"
    Attachments:
    Check Visa Connections.llb ‏74 KB

  • Check for empty visa resource?

    When I am developing the VI at my desk and not a the test station PC, the VISA resource name is empty.
    Once the VI is moved to the test station PC, the user can select a VXI board.
    How do I make sure the user has selected a VISA resource before continuing?
    I can wire a Comparision to check for Empty String, and that works. But is there any method that I should use?
    Solved!
    Go to Solution.

    Additionally, you can limit the selectable items by interface type. Right-click VISA Resource Name Control and select I/O Name Filtering.
    National Instruments
    Product Support Engineer

  • How do I get the VISA resource drop down menu to be auto populated in my stand alone application (exe file)?

    Hi all,
    Here's a hopefully simple question.
    I am building an application (i.e. an exe file) from a simple program which use VISA to read and write to a RS-232 com port. When I run it before building the application everything works fine and the VISA resource control, which is a drop down menu, is automatically populated with available com ports. When I run the application on a computer without LabVIEW installed nothing appears in this window. I have made an installer which includes NI LabVIEW Rutime Engine 8.5, NI Measurement & Automation Explorer 4.3 and NI-DAQmx 8.6.1. Is there anything else I need to include? Any specific settings I need to do when I build the exe-file?
    I use LabVIEW 8.5.
    Thank you.
    Solved!
    Go to Solution.

    DAQmx is only for NI DAQ cards so I'm not sure why you installed that. The driver for VISA applications is NI-VISA (surprise!)
    Add the NI-VISA run-time to your installer.

  • NO PBT RESOURCE FOUND

    HI,
        i am working in bw 3.5. when i am trying to execute datasource 0CRM_SALES_ACT_1 through RSA3 , it is giving ABAP run time error. NO PBT RESOURCE FOUND .Error occured in SPBT_INITIALIZE function module. Please guide me how to solve this problem.
    I have pasted error description here.
    Regards
    deepon
    The current application triggered a termination with a short dump.
    What happened?
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
    What can you do?
    Print out the error message (using the "Print" function)
    and make a note of the actions and input that caused the
    error.
    To resolve the problem, contact your SAP system administrator.
    You can use transaction ST22 (ABAP Dump Analysis) to view and administer
    termination messages, especially those beyond their normal deletion
    date.
    is especially useful if you want to keep a particular message.
    Error analysis
    Short text of error message:
    No PBT resources available in system
    Technical information about the message:
    Diagnosis
         The system tried to initialize the environment for processing      parallel RFCs using the function module SPBT_INITIALIZE. Here the      system established that there are no resources in the system. This
         is a configuration problem. Only those application servers with at      least three dialog work processes can be used to process parallel      RFCs.
    System response
    Procedure
         1.  If no specific server group name is specified for processing   parallel RFCs:
             All application servers in your system have less than three    dialog work processes. If you want to process parallel RFCs, at   least one application server must have at least three dialog   work processes.
         2.  If a server group name was specified using Transaction RZ12 for  processing parallel RFCs:
             All application servers in the server group have less than   three dialog work processes. If you want to process parallel    RFCs, then at least one application server in the server group must have at least three dialog work processes.
    Message classe...... "BT"
    Number.............. 834
    How to correct the error
    Probably the only way to eliminate the error is to correct the program.
    You may able to find an interim solution to the problem
    in the SAP note system. If you have access to the note system yourself,
    use the following search criteria:
    "MESSAGE_TYPE_X" C
    "SAPLSPBT" or "LSPBTU01"
    "SPBT_INITIALIZE"
    If you cannot solve the problem yourself, please send the following documents to SAP:
    1. A hard copy print describing the problem.
       To obtain this, select the "Print" function on the current screen.
    2. A suitable hardcopy prinout of the system log.
       To obtain this, call the system log with Transaction SM21
       and select the "Print" function to print out the relevant
       part.
    Edited by: DEEPON KUMAR on Mar 22, 2008 8:11 PM

    Hi,
    problem is caused by the following reasons:
    1. The aRFC quotas for the application servers were not configured correctly in transaction RZ12.
    2. You have used a server group for the parallel RFC that does not exist in transaction RZ12. Example of a call for parallel RFCs:
    CALL FUNCTION <func> STARTING NEW TASK <taskname>
                        DESTINATION IN GROUP <group> ...
    3. You have entered an invalid server group name in transaction SMQS or transaction SMQR.
    4. The dynamic settings of the profile parameters do not take effect. Therefore, the new settings in transaction RZ11 or RZ12 do not correct the resource bottlenecks.
    Solution
    1. Check the settings of the aRFC quotas in transaction RZ12 (as described in the F1 help for each field) and refer to the documentation attached in note #74141 for information on the relevant profile parameters.
    Information: You can use transaction SARFC to check the configurations set in transaction RZ12.
    2. In the short dump, you can use the "GROUP_NAME" variable to determine the server group that was used for the parallel RFC. Compare the value with the names of the active server groups in transaction RZ12.
    Information: The default server group is "SPACE".
    3. As of a qRFC version higher than 45 with supplement 11, you are already made aware of the error that occurs when you enter an invalid server group. Before this supplement, however, you must correct the error as described in solution 2 above.
    Check SAP NOTE 727709 - MESSAGE_TYPE_X short dump and SPBT_INITIALIZE
    Regards
    Andreas

  • 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

  • No VISA Resources in Labview but all present in MAX

    Hi,
    I am unable to find any VISA resources from LabVIEW, however, all NI hardware is available and working in MAX. I have just installed a PCI-8433/2 as well as a NI PCI-8512 CAN/HS Card. As part of the installation I believe MAX was upgraded to version 4.6.2. I will attach the max configuration report for those who are interested. I am working with LabView 8.2. I also uninstalled an agilent GPIB card and as a result the NI-GPIB card is the sole controller and is GPIB0... instead of the agilent card.
    I have had a similar problem before that was a result of a corrupted database, but I was unable to find this problem on the forums this time and I am not getting any errors. Just an empty VISA Resource control.
    Any suggestions would be greatly appreciated.
    Nate
    MAX Configuration Report
    12/27/2010 1:35:05 PM
    MAX Summary
    My System
    Data Neighborhood
    CAN Channels
    NI-DAQmx Tasks
    V1P1V2P2
    V3P3
    Devices and Interfaces
    GPIB0 (PCI-GPIB)
    Instrument0
    Instrument1
    Instrument2
    Instrument3
    Instrument4
    Instrument5
    Miscellaneous VISA Resources
    GPIB0::INTFC
    GPIB0::16::INSTR
    GPIB0::2::INSTR
    GPIB0::22::INSTR
    GPIB0::7::INSTR
    GPIB0::10::INSTR
    GPIB0::27::INSTR
    GPIB0::3::INSTR
    Network Devices
    NI-DAQmx Devices
    NI USB-9481: "Dev2"
    NI USB-9481: "Dev1"
    NI-XNET Devices
    NI PCI-8512 CAN/HS
    CAN1
    CAN2
    PCI-8433/2
    Port1
    Port2
    PXI System (Unidentified)
    Serial & Parallel
    COM1
    COM6
    COM9
    LPT1
    Scales
    Software
    IVI Compliance Package 3.3
    LabVIEW 8.2
    LabVIEW Run-Time 7.1
    LabVIEW Run-Time 8.0.1
    LabVIEW Run-Time 8.2.1
    LabVIEW Run-Time 8.5.1
    LabVIEW Run-Time 8.6.1
    LabWindows/CVI Run-Time 9.0
    Measurement & Automation Explorer 4.6.2
    Measurement Studio for VS2005
    DotNET
    Common
    NI LabVIEW SignalExpress 3.0
    NI Spy 2.7.1
    NI-488.2 2.46
    NI-CAN 2.7
    NI-DAQmx 8.7.2
    NI-PAL 2.5.3
    NI-Serial 3.6
    NI-USI 1.0.2
    NI-VISA 4.6.2
    NiVisaServer.exe
    NIvisaic.exe
    NI-VISA Runtime 4.6.2
    NI-XNET 1.1
    IVI Drivers
    Advanced
    Instrument Driver Software Modules
    Simulation Driver Software Modules
    Simulation Driver Sessions
    Driver Sessions
    Logical Names
    -Nate
    Solved!
    Go to Solution.

    Now that IS odd.
    Can you show a couple screen shots from MAX?
    First expand the software tab and post a png of the screenshot (I'm not yet convinced you do not have SOME driver issue)
    Next select MAX>TOOLS>NI VISA>VISA Options- Wait for the new screen then expand Mysystem General settings and select Aliases.
    You could also try "Clear all aliases" from there and reboot.
    Jeff

  • 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

  • How to get GPIB address from VISA resource

    Hi All,
    Is there a way (CVI API) to get the GPIB address of a GPIB instrument from an alias or a VISA resource name defined in MAX?
    Thanks,
    Rick.

    Thanks mkossmann, I was actually looking for an api that would get the gpib address from the visa resource name defined in MAX which has already scanned in the gpib instruments.
    I guess it may not be good that way even if there's such an api because instrument gpib address might get changed and if MAX has not been asked to rescan then the address will be out of sync.

Maybe you are looking for