How To Set Up A Fixed Laser Source - Agilent Technologies 8163A Programming Manual

Lightwave multimeter lightwave measurement system lightwave multichannel system
Hide thumbs Also See for 8163A:
Table of Contents

Advertisement

How to Set up a Fixed Laser Source

else printf("%s",replyBuf);
/*loop, until a key is pressed */
while(!scanf("%c",&c));
/*close the session */
viClose(vi);
}
#include <stdio.h>
#include <stdlib.h>
#include <visa.h>
/* function prototypes for this examples */
/* function for simple error handling explained in example 1 */
void checkError(ViSession session, ViStatus err_status );
void main (void)
{
ViStatus
ViSession
/
ViSession
ViChar
ViReal32 wavelength; /* wavelength of the laser source */
/* initialize the visa library (see example 1) */
errStatus = viOpenDefaultRM (&defaultRM);
Agilent 8163A Lightwave Multimeter, Agilent 8164A Lightwave Measurement System, & Agilent 8166A Lightwave Multichannel
System, Third Edition
How to Set up a Fixed Laser Source
This example sets up a fixed laser source.
Install a Laser Source in Slot 2, before executing this example.
errStatus;
/* returned error code from visa call */
defaultRM;
/* default visa resource manager variable*
vi;
/* current session handle */
c;
/* used in the keyboard wait loop */
VISA Programming Examples
137

Advertisement

Table of Contents
loading

This manual is also suitable for:

8164a8166a

Table of Contents