Parameter DescriptioniStart Start index of the fraction.iLength Number of characters to be read from the total re-sponse. A value of ”0” reads the total response.A value of ”-1” reads from the beginning indi-cated by iStart to the next CR or LF. This isparticularly useful to parse plot data returned bythe ”GetPlot Default” command.Response Pointer to a buffer reserved for the response. Thecalling application has to allocate enough mem-ory to receive the response. The response is a0-terminated string.MaxLen The size of the allocated response buffer.ResponseLen Here, the total length of the fraction is returned.Return Value The return value is an Error Codes (section 15.3). A ”0” indicates successful operation.See also MATLAB (section 11.12) , LabView (section 11.13) , Python(section 11.14) , Visual Basic for Applications (VBA) (section 11.15) tolearn more about the usage of these functions.11.3 Polarization Navigator Automation: Target NamesThe communication with the polarizationNAVIGATORTM uses so-calledtargets which act as virtual instruments. When communicating with thepolarizationNAVIGATORTM you have to specify the target name of theinstrument or application you want to control.You can query the target name of the instrument/application you wantto control by right-clicking in the browser window and choosing ”De-vice Server Properties”. The target names are generated automatically.For the component test application the target name can be for exam-ple CompTest00000. If you specify CompTest* as target name, the firstcomponent test application in the tree will be used as communicationpartner.The communication with the polarizationNAVIGATORTM is imple-mented using a DLL Interface (section 11.2) . A command string issent to the Navigator which returns a response string.The following targets are supported:Target Name Application /InstrumentGlobal (section 11.5) Global VariablesCompTest* (section 11.8) Component Test (PDL/PMD)CompTestStepped* (section 11.9) Component Test(Stepped)PERTest* (section 11.10) PER TestPolarimeter* (section 11.6) PolarimeterPolCon* (section 11.7) PolControllerSee Commands Applying to All Targets (section 11.4) for common com-mands applying to all targets.11.4 Commands Applying to All TargetsThe following commands apply to all targets:ActivateCommands:Activates the Instrument/Application.88 A1XXX/A2XXX/A3XXX User Guide