Menu

Getting the (0xBFFF0011) VI_ERROR_RSRC_NFOUND error with viOpen

2015-12-04
2015-12-17
  • Russell Vogel

    Russell Vogel - 2015-12-04

    Gunthar,

    Thanks for your good work of JVisaInstrument. It's really helping a lot! Developing an Agilent 33521a JVisaInstrument class which works well until I reboot my machine. Restarting Win7 and launching this app first thing VisaLibrary.INSTANCE.viOpen returns error 0xBFFF0011 which identifies as VI_ERROR_RSRC_NFOUND error in VisaLibrary class wrapper. But wait... Next I launch TekVisa TalkerListener exe application and press UPDATE, and a short delay while it populate the device list. Close that app and try mine again, now everything works great?! What the magic that TalkerListener is performing so I can make that happen at the start of my application. Figure I'm missing a DLL or something. Same error came from VisaLibrary.INSTANCE.viFindRsrc, so can't even make a list of resources to choose from. Please help. I need some clues here?

    Best Regards
    Russ

     
    • Günter Fuchs

      Günter Fuchs - 2015-12-17

      Hi Russ,

      sorry for replying so late. I was traveling. What you could do is to start the communication monitor before running TalkerListener and then study the log. Maybe you find something which needs to be added to the JVisa class. For example, I had to add increasing the communication timeout (by setting the timeout attribute). I had figured that out following the procedure above.

      I hope I could help,

      Günter

       
  • Russell Vogel

    Russell Vogel - 2015-12-04

    PS - FYI The Agilent 33521a Signal Generator ID is USB::0x0957::0x1607::MY50002459. Using Java connecting over USB. Verifying communication via { visaStatus = sendAndReceive("*IDN?", id); }
    Thanks for any clues you can give.
    Russ

     

Log in to post a comment.

MongoDB Logo MongoDB