10-28-2015 08:53 AM
Hi all,
The Question:
Can someone tell me what VISA attribute 0xBFFF0002 correlates to so that I can track the bug?
The Context:
This week I've been asked to help troubleshoot some odious bugs that others are encountering.
In continuing that theme, I've got a VISA IO trace that someone has handed me, and there are several lines with an invalid session/reference error.
That error occurs when "VISA Get Attribute (0xBFFF0002)" occurs. I really need to know what attribute it's trying to fetch and a hex code doesn't tell me anything by itself.
I saw that a couple of other such requests in the past went unanswered - I'd greatly appreciate any input.
Thanks,
Mr. Jim
Solved! Go to Solution.
10-29-2015 08:59 AM
from visa.h file:
#define VI_ATTR_RSRC_CLASS (0xBFFF0001UL)
#define VI_ATTR_RSRC_NAME (0xBFFF0002UL)
#define VI_ATTR_RSRC_IMPL_VERSION (0x3FFF0003UL)
#define VI_ATTR_RSRC_LOCK_STATE (0x3FFF0004UL)
.....
10-31-2015 03:59 PM
Fantastic, thanks very much!
Knowing where to look is always a huge part of finding the solution. Much appreciated.
Jim