From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to check for SRQ and SerialPoll using VisaNS in VB.NET

Sorry, it's not the answer to my question.

 

0 Kudos
Message 11 of 15
(2,855 Views)

Wolfgang,

 

Could you expand some on what is going on.  Maybe further clarification from you is needed here.

 

Additionally, what version of NI-VISA, which specific card are you using, and which Windows operating system are you using?

Wayne T. | Application Engineer | National Instruments
0 Kudos
Message 12 of 15
(2,846 Views)

This is my problem:

 

I need to switch off Autopolling!

 

1. with ibconfig it is possible to set several parameters on the GPIB board (like Timeout, Autopolling, ...)

2. in the visaNS system the command that represents ibconfig is SetAttribute

see Table 9.2: http://www.ni.com/pdf/manuals/370423a.pdf

 

3. I can't find the AttributeType for Autopolling in the documentation (there are all the other Attribute Types for Timeout, ...)

4. How to switch off Autopolling using only visaNS?


To my opinion the viAttr constant for switching off the autopolling is simply missing.

Any ideas?

Best regards  Wolfgang

0 Kudos
Message 13 of 15
(2,838 Views)

wolfgang,

 

You didn't provide anything I requested so that is making it difficult to assist further.

 

Here's some links to the manuals that others have pulled answers from.  It is the ibconfig function with parameter ibcAUTOPOLL set to 0 or 1.

 

NI-488.2 Function Reference Manual for Windows

http://www.ni.com/pdf/manuals/321038g.pdf

 

NI-488.2M Software Reference Manual

http://www.ni.com/pdf/manuals/370963a.pdf

 

Read the manual to get a better understanding of how this works.

Wayne T. | Application Engineer | National Instruments
0 Kudos
Message 14 of 15
(2,827 Views)

Good Morning,

now I provide the requested info, may be it helps in reading my question

As we have this problem during many years and visa+OS versions this info seems to be rater irrelevant...

 

Version of NI-VISA:

NI-VISA                             5.4
     NiVisaServer.exe               5.4.0.49152
     NIvisaic.exe                   5.4.0.49152
NI-VISA Runtime                     5.4

 

which specific card are you using

GPIB-USB-HS

 

and which Windows operating system are you using?

Betriebssystem (OS)                 Windows 7 Professional
Version des OS                      6.01.7601
Info zum OS                         Service Pack 1

 

Best regards

Wolfgang

 

0 Kudos
Message 15 of 15
(2,820 Views)