01-05-2011 05:14 PM
Hi all,
I am trying to run the fluke 6100A driver on a remote fluke 6100A. When I run initialization on the remote device, I always get the following error:
VISA: (Hex 0xBFFF000E) The given session or object reference is invalid.
I trace down the problem, and I saw that the visa resource name being passed doesn't contain valid information (see below). That doesn't make sense, since when I select the resource name from the drop down box, the program clearly recognized the remote device. Why would the program allow the user to select the visa resource but won't pass valid visa info to the driver?
This error only happen during first run. If the user run the program again, the error goes away. Can anyone help? Thanks!
Yik
When program ran for first time, visa name contains valid info:
General
Canonical VISA resource name = blank
visa refnum = blank
session ID = 0
I/O timeout = 0
Intf Type =0
Value in = blank
Stop? = True
Condition
session valid? False
Is Instr? = False
Stop? True
Solved! Go to Solution.
01-06-2011 01:18 PM
Hi Yik,
Can you take a screenshot of the error and the front drop down selector? Since it is a remove device are you setting it up as a VISA TCP instrument?
Thanks!
01-07-2011 09:40 AM
Hi Chris,
What did you mean by setting it up as a VISA TCP instrument? See attached for the portion of the block diagram of how I feed in the VISA resource name and the error. Thank for looking at this.
Yik
01-07-2011 10:56 AM
AHA!
Do you select the resource from the dropdown list BEFORE the Loop starts? A SR might help
01-07-2011 12:36 PM
01-07-2011 04:27 PM
Albert,
The name on the list was created by LabVIEW. I didn't change the name. Are you saying I should make an alias for it?
Yik
01-07-2011 04:29 PM
Hi Jeff,
You are right on. I can't believe I miss such an obvious problem. I was working through a bunch of bugs, so I guess I created another one carelessly. I have made this kind of mistakes before too. I need to find a way to stop myself from doing that. Thanks!
Yik
01-08-2011 10:08 AM
01-08-2011 10:39 AM
@Albert Geven wrote:
An alias is not needed, but from your latest mail I guess it is solved.
I've never seen this kind of resource name in windows, are you maybe using unix or mac?
Albert-
Its a remote resource located on a GPIB bus where the GPIB controler is on a PC with the machine name "mc_bobby'.
01-08-2011 02:35 PM