How To Co-Ordinate Two Modules - 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 Co-ordinate Two Modules

}
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <visa.h>
/* function prototypes for this examples */
/* function for a simple error handling explained in example 1 */
void checkError(ViSession session, ViStatus err_status );
void main (void)
{
ViStatus
ViSession
ViSession
ViChar
ViChar
ViInt32 i;
Agilent 8163A Lightwave Multimeter, Agilent 8164A Lightwave Measurement System, & Agilent 8166A Lightwave Multichannel
System, Third Edition
How to Co-ordinate Two Modules
This example shows the interaction of two modules in the same frame.
Install a Power Sensor in Slot 1 and a Laser Source in Slot 2 and connect
the Laser Source output to the Power Sensor input, before executing this
example.
errStatus;
/* returned error code from visa call */
defaultRM;
/* default visa resource manager variable */
vi;
/* current session handle */
replyBuf[256]; /* buffer holding answers of the instrument */
c;
/* used in the keyboard wait loop */
/* loop counter */
VISA Programming Examples
143

Advertisement

Table of Contents
loading

This manual is also suitable for:

8164a8166a

Table of Contents