Alex.F
2008-07-25 01:10:08 UTC
Hi there,
I'm trying to call multiple VXI plug&play driver functions within
my CVI 8.5 program, but VISA DRM would return a single session after
each call to an instrument.
It appears VISA closed the session/handle automatically whenever I invoke another driver function on a different insturment.
Here's an example:
1) ret = hp4156b_init("GPIB::17::INSTR",VI_TRUE,VI_TRUE, &vi);
- VISA return handle from opening the above session
2) ret2 = hp81110a_init("GPIB::17::INSTR",VI_TRUE,VI_TRUE, &vi);
- handle from 1) is close?
Not sure what's the best way to get around this since I'm using driver functions instead of VISA calls.
Appreciate any help.
Thanks,
-A
I'm trying to call multiple VXI plug&play driver functions within
my CVI 8.5 program, but VISA DRM would return a single session after
each call to an instrument.
It appears VISA closed the session/handle automatically whenever I invoke another driver function on a different insturment.
Here's an example:
1) ret = hp4156b_init("GPIB::17::INSTR",VI_TRUE,VI_TRUE, &vi);
- VISA return handle from opening the above session
2) ret2 = hp81110a_init("GPIB::17::INSTR",VI_TRUE,VI_TRUE, &vi);
- handle from 1) is close?
Not sure what's the best way to get around this since I'm using driver functions instead of VISA calls.
Appreciate any help.
Thanks,
-A