LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error Hex 0xBFFF0012 Invalid resource reference specified. Parsing error.

Hi,
This is an old issue that was not handled by NI. I have written a big application which runs under NI USB-GPIB correct, but running it with another interface switch called CE 488 USB-GPIB with the same INIT driver of the Device (in here Rohde&Schwarz CMD60 Dect tester). I'll try it on other stations in order to verify the error.
Where did I miss something?
What does this error mean?
Thanks
Yariv3G
0 Kudos
Message 1 of 11
(9,498 Views)
I think the last time you brought this up, you didn't answer some of the questions asked. I'll repeat the main one. Does this CE 488 USB-GPIB have a VISA driver? GPIB controllers from different manufacturerers are not usually interchangable. Do you think they are supposed to be?
0 Kudos
Message 2 of 11
(9,495 Views)
Hi Dennis,
Meanwhile I switched Stations/Desktop and I am running it ok, even get over the INIT.vi state, but got stucked on a simple *CLS command.
See the attached Spy file, I don't why this error occurs.(you have to change the suffix .txt to .spy)
0 Kudos
Message 3 of 11
(9,489 Views)
And what about the question I asked? Have you installed a copy of VISA from the vendor? If the vendor has said that their controller is compatible with NI-VISA, then you might want to contact them about the problem. I'm no expert on .spy files but it seems like the device is not handling the WaitOnEvent (SRQ?) correctly.
0 Kudos
Message 4 of 11
(9,486 Views)
Sure,
I uninstalled NI-488.2 ver 2.10 and installed the version CEC 488 ver.8 (downloaded http://www.keithley.com/search?SearchableText=usb+gpib).
I have verified through their sw the communication with the device- was ok.
I can even communicate through NI-MAX with the device under Miscallous VISA Sources.
The questions are,
1)Why are there 3 devices appearing? (See pic VisaProblem.bmp)
2)Why can I communicate with one and with the other one I can't (replies with Error 0xBFFF003B).

According to the SPY-file the same session worked fine several times with command *CLS and the last time it went to an endless loop passing the same two sentences:

200. viWriteAsync (0x0AE2B7E0, "*CLS;", 5, 0x04042870)
> Process ID: 0x00000D98 Thread ID: 0x00000E7C
> Start Time: 17:43:46.310 Call Duration: 00:00:00.000
> Status: 0xBFFF003B (VI_ERROR_QUEUE_ERROR)
and,
201. viGetAttribute (0x0AE2B7E0, 0x3FFF001A, 10000)
Process ID: 0x00000D98 Thread ID: 0x00000E7C
Start Time: 17:43:46.310 Call Duration: 00:00:00.000
Status: 0 (VI_SUCCESS)

Thanks
Yariv3G
0 Kudos
Message 5 of 11
(9,483 Views)
NI-488.2 is not VISA. VISA is an API that sits above a vendor's 488 driver. Check MAX and see if the Keithley driver included it's own version of VISA. If what you see installed is only NI-VISA, then that might be your problem. I really think you need to contact Keithley about using their controller. If the program works with an NI USB-GPIB then it seems like the problem is with this controller from Keithley.
0 Kudos
Message 6 of 11
(9,478 Views)
How do I check MAX and see if the Keithley driver included it's own version of VISA ?
I use this USB-GPIB switch for other application as for example for Agilents connectivity Software INTUILINK and it works.
I sat with their represantative and I could not say to whom this problem belongs to...
Can you tell me why I see in MAX 2 connections for one device?
0 Kudos
Message 7 of 11
(9,474 Views)
Check software>VISA listing in MAX. You have to remember that MAX is for configuring and testing NI products. I don't know why you would see multiple connections for a single device. I've never used a Keithley GPIB controller. It's possible that there is a bug in their controller/software where it works for reads and writes but has an issue with the SRQ. The only other thing that you might try is to enable Tulip support in MAX. Select VISA options form the Tools menu, select Passports in the My System>General Settings and check the NiVisaTulip.dll. I don't know if that will do anything for your controller. I do know that you need to do this with an Agilent GPIB controller.
0 Kudos
Message 8 of 11
(9,468 Views)
I did what you were told me but it did not succeed.
Furthermore I am learning that the NI-Spy does log only NI applications???? I am running another application for the same device, which runs succesfully, but the NI-Spy is not logging anything. The other application is written in VB. Does the NY-spy not listen to the GPIB BUS???

I wrote a small VISA WRITE/READ loop in order to verify it on the tester in terms of times and performance. It ran without any problem??

I start to believe that it is any terminating character that I might miss in any command (taht works with NI but not with others...)
0 Kudos
Message 9 of 11
(9,462 Views)
Following the Error status I received I found this article that leads me to a workaround, dowloading measuremet Studio 6...
http://digital.ni.com/public.nsf/allkb/AC1DB4A19F08157E86256E130064C463
0 Kudos
Message 10 of 11
(9,356 Views)