Getting started

The first thing is to open the communication channel with the generator, that is initialize the desired serial port. This is done by calling the VI FLCWFG and setting the appropriate parameters. The figure shows the layout of a basic program.

Figure 1. Basic program layout


The error handler contains only `serious errors' that means those that will endanger the communication. Most errors that occur during operation are soft-solved and will not interfere with your program, that is if you do not specifically want them to change your program flow.

After you have decided to quit the program you must close the VISA session of the serial port.

You can control more than one generator from the same LabView program. All you have to do is initialize two (or more) serial ports and separate the operations with them.