8 LabViewTM DriversInstallation The LabViewTM driver libraries are installed upon instal-lation of the polarizationNAVIGATORTM. You can find them in theapplications program directory:c:/Programme/Adaptif Photonics GmbH/Polarization Navigator/orc:/Program Files/Adaptif Photonics GmbH/Polarization Navigator/The LabViewTM driver libraries contain the following files:MIP.llb Collection of VIs for LabView VISA ini-tialization and low-level communicationMIPCommands.llb Collection of VIs for device programmingon application levelChanged.llb Miscellaneous VIs used inDemoPolarimeter.viPoincareSphere.llb Miscellaneous VIs for graphical Poincar´esphere display8.1 Starting a VISA SessionTo initialize a new VISA session to any of Adaptif’s Axxx devices fromyour LabViewTM VI, start with the VI MIP Init.vi which can be foundin library MIP.llb.The VI initializes the communication between your VI and the deviceover the desired interface port and assigns the device a unique devicedescriptor number which can be used throughout the whole LabViewsession to address that particularly device. To choose the correct inter-face for communication the VI is handed over the VISA resource name(or VISA alias) for the desired port, used in National Instruments ”Mea-surement & Automation Explorer” (for further information please referto the NI-VISATM Programmer Reference Manual). When using anUSB interface for communication the VISA resource name consists ofthe prefix string ”USB::” followed by the serial number of the device. Ifthe PC controlling the instrument is equipped with an Ethernet adapter,the instrument can be accessed remotely by using an additional TCPprefix, containing the IP address of the PC, followed by the GPIB orUSB string, which is used on the PC the instrument is connected to, e.g.”TCP::192.168.0.1::USB::04400001”. Instruments of the Axxxx-B3/R3series are equipped with an internal PC, internal USB communicationand an ethernet adapter, so if such an instrument is connected to thelocal area network or the internet and its IP address is known, it can beaccessed from LabView-VIs running on a remote PC by using a descrip-tor like ”TCP::192.168.0.1::USB::04400001”, where the IP address andthe serial number have to be changed to the actual instrument.Two additional parameters can optionally be handed over to the VI,which are the device timeout settings in ms (not mandatory) and thedevice communication baud rate when used with a serial interface.The VI returns the device descriptor number as stated above and themodel identification code for the device found on that interface address.An example for a VISA session setup is shown below (here: timeout isset to 5000ms):A1XXX/A2XXX/A3XXX User Guide 61