Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB-ENET Autopolling

Autopolling on GPIB-ENET boxes does not behave the same as other interfaces. I would like to understand what is happening when autopolling is enabled and disabled. It appears that no matter how autpolling set, that it is disabled. You have to manually serial poll to unassert the SRQ line which means it must not be autopolling. Also there are not multiple response's waiting in the queue. This appears to be the same for both the GPIB-ENET and ENET/100.

0 Kudos
Message 1 of 8
(3,225 Views)

 

How did you configure autopolling? The NI-488.2 user manual is a good resource for this.

 

NI-488.2 User Manual:

http://www.ni.com/pdf/manuals/321819e.pdf

0 Kudos
Message 2 of 8
(3,179 Views)

Thanks for responding Steven. Autopolling is set by default using NI Max. I also tried setting it within my code, still nothing. Again, using the same code on a USB-HS GPIB device works perfect. But once I switch to ENET-GPIB, it does not appear to be autopolling. I read in another post on this site that ENET-GPIB does not un-assert the SRQ line after the device RQS has been satisfied, is this true?

0 Kudos
Message 3 of 8
(3,149 Views)

Could you link to the post? I'm having trouble finding it

0 Kudos
Message 4 of 8
(3,124 Views)

Sorry Steven, I must have read that on some other site while searching for answers so it may not be true.

0 Kudos
Message 5 of 8
(3,113 Views)

Have you assigned an interrupt to the GPIB board? This white paper goes into further detail with Automatic Serial Polling.

 

Serial Polling and SRQ Servicing with NI-488.2 Software and Basic:

http://www.ni.com/tutorial/4054/en/#toc5

0 Kudos
Message 6 of 8
(3,088 Views)

No I do not use interrupts.

The white paper was useful as it confirmed my understanding of how autopolling works. With that being said, I still believe that autopolling is not occurring on the GPIB ENET boxes. To confirm what I'm thinking, I used WireShark to monitor all traffic going to and from the ENET box. I see my calls being sent and I know my SRQ line is high but know other traffic is happening after that and my SRQ line never goes low. However, if I use a GPIB USB controller, the SRQ line goes does go low so I believe autopolling is happening with that controller.

0 Kudos
Message 7 of 8
(3,058 Views)

I found this archived KnowledgeBase article. Perhaps we are not enabling and allowing autopolling.

 

http://digital.ni.com/public.nsf/allkb/9C25D443B106B30F862562870079AFE8

0 Kudos
Message 8 of 8
(3,010 Views)