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.

PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to enable/disable the VISA option "Show all devices accessible to VISA" with c#

Hi,

 

I want to know how to enable/ disable the VISA option "Show all devices accessible to VISA" (Measurement & Automation >> Tools » NI-VISA » VISA Options under PXI/PCI and WireFire Interfaces) with C#

 

this is to see all PXI resourses without the end-user configures nothing

 

i saw this post

http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/PXI-6682-will-not-show-on-VISA-C-but-will-on-...

 

so now i want to add to my project

 

Thanks in advance.

 

0 Kudos
Message 1 of 4
(3,485 Views)

No body have an idea???     😞

 

0 Kudos
Message 2 of 4
(3,454 Views)

Hi Geck0;

 

I found that the "Show all devices accessible to VISA" can be changed via the visaconfig.ini file changing the section:

 

[VISA-CONFIG]
ShowRegisteredDevOnly = 0

 

Here is a link to a document in which this is explained a little more, although I couldn't find the file on the specified path (in fact I found two visaconfig.ini that could be the ones that needed to be changed) inside:

 

C:\Program Files\IVI Foundation\VISA\WinNT\NIvisa

C:\ProgramData\National Instruments\NIvisa

 

I hope the information is useful.

 

Good Luck

 

Francisco Arellano

National Instruments Mexico
Field Systems Engineer - Energy Segment
www.ni.com/soporte
0 Kudos
Message 3 of 4
(3,371 Views)

 

 Thank you very much francisco, this information was very usefull to me!!!

 

Thanks again.Smiley Happy

 

0 Kudos
Message 4 of 4
(3,318 Views)