VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

Is viClose call on a session calling destroy_intr_chan on VXI-11 to close the interrupt channel created trough that VISA session?

Hi
 
I want to know if viClose call of a VISA session is calling destroy_intr_chan on VXI-11 instrument connected to that session.
Sorin
0 Kudos
Message 1 of 5
(7,236 Views)
Hi Sorin,
 
The viClose call of a VISA session will release all sessions associated with that Resource Manager.  Any device sessions and find lists that were created from that resource will be closed when that session is passed to viClose.
 
What software are you using?
 
Regards,
Lauren L.
Applications Engineering
National Instruments
0 Kudos
Message 2 of 5
(7,225 Views)

Hi Lauren

On the user side I am using Windows Visual Basic 6 application that is talking to the instrument trough an IVI driver built on top of NI-VISA.

The instrument resource is located on a machine that uses Linux and that implemented VXI-11 protocol in order to be LXI compliant.

Thanks

Sorin

 

0 Kudos
Message 3 of 5
(7,216 Views)
Sorin,
 
Since viClose releases all sessions, I am assuming that it would perform a function similar to destroy_intr_chan, as that simply clears an existing interrupt channel.  Do you need this function for your application to run, or are you running into errors that you think may be a result of calling destroy_intr_chan? 
 
If you would like, I can look further into the workings of our viClose call, as there is currently not much information available on it.  Either way, a little more information about what you are trying to run and where you are running into difficulties would be helpful.
 
Regards,
Lauren L.
Applications Engineering
National Instruments
0 Kudos
Message 4 of 5
(7,207 Views)

Hi Lauren

 

Me and my colleague that is working on LXI instrument we used NI-Spy and verifed that viClose does not call internally the destroy_intr_chan function. The viClose call will close all sessions open on the same core channel by calling destroy_ link at the low level. 

AS result of this the interrupt channel is cleared by calling explicitely destroy_intr_chan function when all the links associated with a core channel are closed.

 

Thanks for reply

 

Sorin

 

0 Kudos
Message 5 of 5
(7,205 Views)