VXI and VME

cancel
Showing results for 
Search instead for 
Did you mean: 

how does an application using VISA recognises the instruments connected to it

I read that an application using VISA calls uses an instrument descriptor to recognise a device.
I want to know how an application recognises  the instruments connected to it and how the unique instrument descriptor is assigned to the individual interfaces
 
0 Kudos
Message 1 of 2
(6,637 Views)
The instrument descriptor is assigned by VISA to each device that the device driver returns.  For GPIB this is done when you scan for instruments from Measurement & Automation Explorer (MAX).  Every address on the bus is queried and an instrument descriptor is assigned for each device that responds.  For VXI/VME devices the driver includes a resman utility that is used to perform the resource manager function of the system.  VISA assigns resource descriptors to the devices that resman finds.
 
The overall process is this:
 
1)  Each individual driver finds its own devices that are attached. (NI-488.2, NI-VXI, NI-Serial, etc.)
2)  Using MAX, VISA is able to assign an instrument descriptor to all devices found.
3)  The application then uses a VISA resource control to address a device listed
0 Kudos
Message 2 of 2
(6,623 Views)