Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

how to use ibwait function with SRQI or RQS mask...

I want to communicate with a new Handler using GBIP...

 

I have already communicated with severalHandler and Prober before...

 

My way using before  used "ibdev" to open board and instrument's Handle (BD and UD)  and used "ibrsp" to get SRQ bit to start test

 

but in this new Handler's manual and example , it uses ibfind and ibwait + SRQI to get start event...

 

However, I want to use ibdev replace with ibfind, so in my program, I used  "ibdev" and ibwait + RQS mask...

 

Thers is no error in transfor the two function, but I can't get the Handler's Event...

 

Then, I try to use "ibdev" + "ibwait" with SRQI mask...but, when I transfom "ibwait (bd, SRQI); function, nispy will show "Error with Param...."

 

My Question is  if I want to use ibwait with SRQI mask, I must use "ibfind" to get board handle? 

 

and why I use ibdev and ibwait with RQS event, I can't Get Handler's event?  SRQI and RQS is not the same!?

 

thk...

0 Kudos
Message 1 of 2
(3,159 Views)

Hello

 

Since it depends on whether automatic serial polling is enabled or disabled.

 

Please check these links below.

 

Using RQS Versus SRQI with ibwait

http://digital.ni.com/public.nsf/allkb/D6ADFE8D993E53F186256848005D7A6B


Difference Between SRQ and RQS

http://digital.ni.com/public.nsf/allkb/577D62CFCEE1EC7886256F1F00813215

 

NI-488.2 User Manual

http://digital.ni.com/manuals.nsf/websearch/F75CDC888EA8667486256E38005A5B1F?OpenDocument&node=13210...

 

I guess you should use the way rhe Handles's manual suggested.

 

Thank you.

0 Kudos
Message 2 of 2
(3,148 Views)