issue of vifindrsrc

status = viOpenDefaultRM (& updateSession);
status = viFindRsrc (updateSession, "GPIB0? * INSTR "(, & FListe, & numInstrs, desc);"
If (status<>
{
viClose (updateSession);
}
{while (numInstrs)-}
viOpen (updateSession, desc, 0, VI_NULL, & updateName);
viClose (updateName);
viFindNext (FListe, desc);
    
}
viClose (fList);
viClose (updateSession);
updateSession = VI_NULL;

The above program is the 'OK' button callback function in .uir. First of all, I turn on a single instrument, click on 'OK', it gets an address ("desc"); Secondly, I turn it back on another instrument, click on 'OK', he gets two addresses. Finally, I turn off the first instrument, click 'OK', but it gets even two addresses.  There is no error in this process. Anyone can answer this question?

I tried MAX, this is the same problem.

I have two instruments GPIB, Agilent DC Power Supply and digital multimeter Agilent.

I start to MAX--> view--> Refresh, it shows there are two GPIB instruments, even if I already have an order.

When I click on "Open the VISA Test Panel" for the disconnected instrument, it returns "failed to open session...". »

So I thought if it is the problem of compatibility between NC and Agilent. Is there any other command which behaves like viFindRsrc without problem?

Thank you.

Tags: NI Software

Similar Questions

  • nimxs.exe automatically processes the call VISA::viFindRsrc.

    The process nimxs.exe running in the background automatically call VISA::viFindRsrc whenever the device I tested is connected to my computer. The device is connected as a network card. This process is finding various devices on the network and with up to 15 seconds to complete each time. Meanwhile, it tends to lock the resource, I'm trying to send commands to with Labview and causes the following error.

    VISA: (HEX 0xBFFF000F) specified type of lock cannot be obtained, or specified operation cannot be performed because the resource is already locked.

    This problem started when I updated NI-VISA of 4.1 to 5.1.1. Is there a way to disable this automatic search for network equipment? The only time I want to pick up equipment is when I opened NOR-MAX.

    Hey Ryan,

    Is this a problem for you to have the service disabled? You should not need unless you want to be able to automatically detect the LXI network devices.

    We will continue to investigate the issue and rated fixes for future versions.

  • GPIB - issue VISA (LV2014 and Keysight IO libraries)

    Hello together!

    I have tried for two days to meet the LV2014 - Keysight IOLib - Agilent DSO6014L...
    And I need help.

    What I want to do

    I have a LabView VI for the osziloskop control and obtain values of. I created the VI with LV8.5.1 and it worked very well with Agilent Io Lib 14 and Windows XP. Unfortunately, I had to change to a new computer...

    And the problems started, I do not get the components together (at least, not without error messages in MAX):

    I connected an Agilent DSO6014L by a GPIB 82357 A Agilent to a Windows 7 Enterprise edition - 64-bit.

    I already posted my problem in German LabView Forum ( http://www.labviewforum.de/Thread-LV-2014-und-Keysight-IO-Libraries-Suite-17-1 )

    GerdW already replied and proposed to connect via LAN or switch to a NI GPIB.

    But maybe there's a way to solve my problem, keeping the "old" material.

    Currently, I can run my VI because I use aliasnames which I attributed to the IOLib and MAX (below I've listed the steps I did).

    But Max I still got the error "0xBFFF003A (VI_ERROR_INV_SETUP)" of viFindRsrc.

    -> More funny. If I say / activate the tulip Passport - save parameters - and restart MAX. I don't have any errors and I see my GPIB instruments... uuuuntil I refresh the view!

    Steps to make it work:

    • Installed Labview 2014 - not reboot!
    • Keysight IO libraries Suite installation (default) 17.0.19313.5, automatically as secondary VISA
    • Under Keysight connection compatible Expert maps GPIB for 488 program and set options of PXI (Resource Manager active and responsible trigger by default) of National Instruments
    • Connected the GPIB 82357 A Agilent and install the driver (windows driver update speed search to jump to the top)
    • Install the driver for the oscilloscope (in my case ag6000 for DSO6014L for LabView 2014 32) and 64-bit support
    • Restart
    • Turn on the oscilloscope
    • He searches the IOLib - here everything works fine no problem to control the oscilloscope
    • In turn MAX on NiVisaTulip.dll under passports (MAX restart, get the 0xBFFF003A error)
    • Restart

    Now, there are some steps that I could possibly do before restarting:

    • In Keysight IOLib I updated the GPIB ID 1 (VISA Interface ID and ID of Interface of CLCL) - there was a note that the Tulip Passport uses the GPIB0 and this causes connection issues
    • Max under VISA conflict Manager, I enabled Agilent VISA under implementations installed VISA
    • Max under general settings - Interfaces PXI/PCI - active option to display all devices accessible to the VISA
    • In MAX under passports disabled NiVi488.dll and NiViGpvx.dll

    Now it is running once, and I put the same alias under IOLib and MAX name for my oscilloscope.

    In addition:

    • Installed drivers IVI Keysight IOLib RPF
    • Reinstalled NIVISA1401Full with support 32 and 64 bit
    • Did all the updates of NOR

    Hello

    Thanks for your posts.

    Yes I also use Agilent GPIBs for other screws so I need a solution running.

    I found this post:
    Passport (GPIB) max

    "Agilent IO libraries Suite v 16.2.15823.0 ' works very well with all my gear in IOLib, MAX and LabView 2014.

    I also tried the ' Agilent IO libraries Suite v 16.3.17914.4 ', which also works perfectly with all.

    For my solution, I give a brief summary of my installation (GPIB Agilent GPIB 82357 A, Agilent DSO6014L):

    • Windows 7 Enterprise Edition SP1
    • LabView2014 SP1
    • MAX 14.5.0F0
    • Driver for LabView ag6000 (support 32 and 64 bit)
    • NIVISA1401Full (support 32 and 64 bit)
    • Agilent IO libraries Suite v 16.3.17914.4 (driver for Oscilloscopes 6XXX 1.3.24.0 IVI)

    and parameters:

    • Agilent IOLib - installed as secondary during custom installation VISA, I can not set the 488 (box all the time is reset), but it works fine without. And I did not change GPIB or ID of CLCL. I gave an alias to my instrument.
    • MAX - all passports are activated. I checked the show box any device accessible to VISA. I gave the same alias to my instrument, as in Agielnt IOLib. Under conflict Manager Agilent Simulation VISA is selected and Agilent VISA is disabled, all chosen VISAs are the Canadian standard.

    Best regards

    André

  • Appeal iPhone issues 7 more

    I recently bought the new iPhone 7 more.  Not only am I having problems with the LTE service, bounce back between 3 G and no service I am now having problems with call connectivity.  When you try to make an outgoing call, I get an automatic response from my carrier (Verizon) "it's Verizon, we are unable to complete your call at this time, please turn off your phone and back and try again."

    It is a known issue with the iPhone 7 and Verizon. Supposed to be Apple and Verizon are seeking him. It has been a problem since the phone was released. Do a Google search or search here on the forums for a temporary solution but not a cure.  But basically to stop the LTE oice and data into data only in the settings.

  • iPhone 6 more hang freeze issues

    My iPhone 6 more guard suspended (gel) for the past 6 months, I have to reset the whole phone sometimes up to 2 times just to get it to work again. Been a loyal (including my entire family) custome since gen 1 iPhone, iPad, mac book. Am really disappointed with the quality now. Did not bring to the service center since the first day of the problem because I thought that was just a few bugs & was sure that apple will fix it, but after many update of iOS so far, the pesisit still problem.

    iPhone is more quality I've known, hope apple can fix this problem before finally losing the most loyal customers

    Hello BennyFoo,

    Thank you for bringing your iPhone freeze questions here for Apple Support communities. I understand how it is important to have a reliable phone. I'm happy to check this with you.

    The first thing we want to make sure that all of your data on your device is safe. You can perform a backup in iCloud or iTunes using this article: backing up your iPhone, iPad, and iPod touch.

    Once your data is safe, try to turn off your device, then again on the March. Sometimes, that's all that is needed for connections reset and everything working properly again. This article help from Apple will help you to do: restart your iPad, iPhone or iPod touch. If you are still having issues, try force reset then. It is designed to be used when the iPhone does not respond, and it looks to be the exact symptoms that you are experiencing right now.

    If you still experience the same problems after reboot, please try to restore your device from a backup by using this article help: restore your iPhone, iPad or iPod touch from a backup. If you don't have a current backup, please try this help article: If you can not update or restore your iPhone, iPad, or iPod touch. Please pay close attention when you get to step 4 who said "when you see the option restore or put to update, choose update. iTunes will try to reinstall iOS without erasing your data. "to get your iOS reinstalled. Test if the issue is still ongoing.

    Thanks again and have a great rest of your day.

  • Pages on issues of formatting to iCloud

    Hey everybody,

    I created a document Pages using the Pages application on my macbook pro I downloaded then to iCloud Pages so that I can access it from any computer. The issue I'm having is that I formatted some of the text to have a black background and the text to yellow color. For the life of me I can't understand how to change the background color of text on the Pages of iCloud. I beginning to think that changing the background color of text just is not possible on the platform of iCloud, but wanted to put this out there just to make sure.

    I appreciate any help or clarification on this issue.

    Thank you!

    Background (highlight) text color controls are absent in the Pages for iCloud, because it is a subset of Pages for Mac.

    This has been discussed in a previous post here, not so long ago.

  • External hard drive mounting issues on MacOS Sierra

    After upgrading to OS Sierra, I found that my USB3 drives, directly connected to my iMac end of 2012, turn off at startup. USB 2 disks are unaffected and connect properly. The only way to access my USB3 disks is to disconnect and reconnect every time I start the computer, then they are ok. I tried to reset the NVRAM, but it did not work. I found Os El Capitan until this issue is resolved.

    Do not mount or actually turns out always the system start? It was not clear in your subject line and content later, what was going on.

    Are they NTFS formatted drives? See the solutions frequently asked and answered forum if they are.

  • TVos 10 - Apple TV 4 (Wifi issues)

    My apple TV was working until it was upgraded to the new update 10 TVos great. I reset my router and modem, reset the apple tv itself and it has restarted several times, all with the same mistake of not being able to connect to the wifi network. My iPhone and computer are connected properly, get about 40mbps is normal, and the router is in the same room. Everyone knows these issues? No luck, anyone know a fix?

    have you tried to restore the appletv? Restore your Apple TV via iTunes - Apple Support

  • I can't reach some websites with any browser. I get the message ERR_CONNECTION_REFUSED. If I boot in safe mode I don't have the issue. I tried the reset and repair of everything. Help, please

    I can't reach some websites with any browser. I get the message ERR_CONNECTION_REFUSED. If I boot in safe mode I don't have the issue. I tried the reset and repair of everything. Help, please

    Try to run this program in your usual account, then copy and paste the result in a response. The program was created by Etresoft, a regular contributor.  Use please copy and paste the screenshots can be difficult to read. On the screen with the Options, please open Options and tick the boxes in the bottom 2 before the race. Click on the button "Report share" in the toolbar, select "Copy to Clipboard" and then paste into a response. This will show what is running on your computer. No personal information is shown.

    Etrecheck - Information System

  • connectivity issues mobile iPhone 7

    I have a new iPhone 7 jet black, so far I'm in love. But yesterday, I noticed an annoying problem. The phone loses the network connection (cell to the & t) and he no reconnect, it will remain just it saying no service. I have to go in airplane mode and outside to force it to look for the network connection.

    everyone knows this? and everybody understand what it could be?

    I already missed messages and a phone call. This could worsen as boring to become a problem. If anyone has any idea what this could be please give me a heads up!

    OH! Another thing I noticed, when the iPhone is connected my signal strength went from-102 to my 6 sec to-86 on my 7! Then when I am connected I am connected!

    Hello jpgraphx,

    Thank you for using communities Support from Apple. I know have a cell connection issue on your new iPhone, it's not what you expect. The good news are the following steps will help to solve your problem with loss of cellular data and see no Service and get your new iPhone works properly again.

    If you cannot connect to a cellular network or cellular data

    See you soon!

  • Backup issues after upgrade to iOS10

    Dear users of Apple,

    I updated my iphone 6 more yesterday with iOS 10. Phone works quite well. But I have my phone backup problems. I usually back up my phone with my iTunes Macbook (Via cable and sometimes on wifi). But after the update to iOS 10 it seems that I can't back up my phone more. I don't know the real cause of this problem.

    1. I am not able to save my iPhone via wifi data in iTunes. (Previously it was not the case).

    2. I tried to back up my phone using the cable also. Also, I pressed "Trust" this computer, but I get this error message. Please see below.

    Also, I allowed my computer by disconnecting iTunes and logging back there. And yet I have the same issues.

    "iTunes could not connect to the iPhone because an invalid response was received from the device."

    Does anyone know what this answer is invalid can be?

    Do I have to change the settings in my phone or iTunes?

    Help please!

    Thank you very much

    Deven

    Did install you the latest iTunes? iOS 10 requires iTunes 12.5.1.

    Get the latest version of iTunes - Apple Support

  • A 2 month old iPod Touch 5th generation began to lose its charge the battery overnight.  East - the developer of a battery issue?

    A "renovated" old 2 months iPod Touch 5th generation just recently started losing its charge the battery during the night.  East - the developer of a battery issue?

    Perhaps. Where did you buy this device?

  • Huawei P9 - I have many issues with getting my pictures from the phone to my Imac

    Huawei P9 - I have many issues with getting my pictures from the phone to iphoto on my Mac.

    Before the summer I bought a Huawei P9 phone, I can easily see the photos on the phone - I can't just them on my mac.  When I connect via a USB cable, it refuses my permissions.

    I try to use my Google account to view on the Mac and move the iPhoto - I can't work either! I can see them, I can't move them!

    I'm pulling my hair out and I have enough to do with! Help, please...

    Jim Hosking

    You need the phone provider support - there is a problem with the way their phone works and how to use it and has nothing to do with the Photos or iPhoto - if pictures is consistent with standards of good Photos and iPhoto won't work with it

    You may need special third party software for your phone load in Photos or iPhoto

    LN

  • Thank you for contact I can not access my ipad air disable I try to reboot same issue pleas help me I have a lot of data in the air from my ipad

    Thank you for contact I can not access my ipad air disable I try to reboot same issue pleas help me I have a lot of data in the air from my ipad

    Here you will find a way how to activate your iPad If you have forgotten the password for your iPhone, iPad, or iPod touch or your device is disabled - Apple supports

  • Mac Pro (end 2013) freezing issues

    Hello

    I bought a couple of years a new fantastic Mac Pro, but in a few months I started to think that I made a terrible choice.

    The computer crashes very often since I updated it to El Capitan, but it was difficult to work on Adobe Premiere since the outset: ridiculously slow, three hours to make a 4 minute clip.

    I contacted the Apple store, they kept for a week, they said he went from testing all the equipment and they found nothing wrong.

    The mac is still suspended. SO FRUSTRATING.

    I work on Photoshop, most of the time, but I have the experience of the 'freeze' even just browse the folders with the finder or visit a Web site on Chrome or watch movies. I unplugged all peripheral usb/firewire, mac freezes still. I repaired disk permissions but reports seem ok.

    I started with the Mavericks, I upgraded to Yosemite, El Capitan I reinstalled from scratch.

    But nothing has changed in fact related to the gel issue, once time and then (sometimes up to 8 times a day), I need to force a restart by using the power button, because everything is frozen.

    The trackpad and the graphics tablet (Wacom Pro middle) are frozen, no key is accepted.

    Apple has determined that in some late 2013 Mac Pro graphics cards may cause video problems - without video, system instability, freeze - but it seems that only the GPU AMD OVER-PANTS D500/D700 are affected (I have the base model with a D300).

    Do you have any hint? Is that what I can do to understand what is the problem?

    I wish I could be in a position, at least, to reproduce the problem, but sometimes it takes days between a 'freeze' and the other. Error reports are generated not either, it is one of the error messages Console that I could find:

    WindowServer [176]: GPU Driver seems to be suspended (more than 5 continuous seconds of reluctance)

    I am a professional photographer and work is very unproductive and frustrating. I'm losing money customers time and my mood, and I would like a response from Apple on this topic.

    Looks like it could be due to problem of graphic material.

    have you looked at this long discussions:

    Mac pro end of 2013 freezes with the spinning wheel

Maybe you are looking for