01-26-2009 07:55 AM
Solved! Go to Solution.
01-27-2009 03:53 PM
Hello ASIC IIBU Tech,
It depends what kind of instruments you are looking for. If you are looking for information about your PXI chassis you should look at KnowledgeBase 1EGB71UI: What Are PXISYS.INI and CHASSIS.INI? for information on these .INI files.
If you are looking for VISA or GPIB devices found and described in MAX you can look at the visaconf.ini and gpib.ini files respectively. Information about the visaconf.ini file can be found in KnowledgeBase 4FDEG8C5: Where is the visaconf.ini File Located? Information about the gpib.ini file can be found in KnowledgeBase 4DH4ITHY: Where Can I Find The GPIB.INI File Created By The GPIB Configuration Utility...
Another option would be to create a MAX report. Information on doing this can be found in KnowledgeBase 3ST8N46P: Documenting Measurement & Automation Explorer (MAX) Configuration Informatio...
Regards,
Dan King
01-28-2009 12:18 PM
01-29-2009 02:19 PM
Regards,
Dan King
01-29-2009 03:14 PM
Hi Dan,
Thanks for the other site... I was looking to for a "found instruments" list on the GPIB bus for example. In some of my code I wanted to be able to see if an instrument was available for troubleshooting, and what address it was. So maybe some home grown code is in order to do this, at least it would be better than MAX because MAX keeps resetting my HP 6624 power supplies when run, a bad thing during a test. If I was diligent and remembered to run a find all instruments on the bus, this list was available with Vendor names with model numbers, this would be easy to find what was available to use as a TS tool, then init, and start pulling waveforms and the like... at least that is where I am going in the thought process. Ideas?
02-02-2009 10:29 AM - edited 02-02-2009 10:29 AM
Regards,
Dan King
02-02-2009 05:15 PM
Thanks for the offer but I work in CVI only. No "g" for me... smileyvery-happy:. I am perfectly happy building my objects in 'C'
Cheers!
ChipB
02-03-2009 02:35 AM
Hi ChipB,
VISA library is available in CVI also, as you surely know
The procedure suggested by Dan can be replicated using viFindRsrc () and viFindNext () commands to create the list of instruments, next passing each of them to viOpen to test wether it's present in the system or not.
04-02-2014 03:01 PM
Here ya go... I built this for grins...
or on my NI page: https://decibel.ni.com/content/docs/DOC-23034
Cheers!
Asic LabRat 🙂