:EMODules:AWGenerator:MODE
AWG Instrument:
                                                M8194/5/6A
                                                M8199A/B
                                            Meas. mode:
                                                Scope
                                                Eye
                                                Jitter
                                            Package License:
                                                L-RND
                                            Licensed Feature:
                                                F-AWG
                                            Waveform type:
                                                NRZ
                                                PAM
                                            Flex Apps:
                                                FlexDCA
                                                FlexRT
                                            Command Syntax
:EMODules:AWGenerator{1:8}:MODE {BASic | ADVanced}
                                            Where {1:8} identifies slot number {1:8} which is associated with an AWG extended module.
Query Syntax
:EMODules:AWGenerator{1:8}:MODE?
                                            Query Response
 {BAS | ADV}
                                            Description
Selects the configuration mode (Basic or Advanced) or the specified Arbitrary Waveform Generator (AWG). The following arguments are used:
- BASic
- In Basic mode, waveform symbol rate and pattern settings apply to all four AWG channels. Warnings are displayed if your settings do not result in valid AWG waveforms.
- ADVanced
- In Advanced mode, waveform symbol rate and pattern settings can be different for each AWG channel. In addition, the AWG Optimization Wizard automatically switches the AWG Setup to Advanced mode and applies the optimized waveforms to each Data channel.
Use  an *OPC? query to pause program execution while waiting for this command to execute.
Requires FlexDCA revision A.06.40 and above.
Example Command Sequence
For the AWG in slot 5, the following sequence of commands places the AWG setup into Basic mode, runs the optimization wizard, and saves the optimized waveform in the "Waveforms\OptimizedWaveform_Setup2.csv" file. The AWG's channel 3 is associated with the DCA-X's input channel 1B.
:EMODules:AWGenerator5:MODE BASic;*OPC? // Place AWG setup dialog in Basic mode. :EMODules:AWGenerator5:OPTimization:FILE3 "OptimizedWaveform_Setup2.csv" // File to create. :EMODules:AWGenerator5:OPTimization:CHANnel3 CHAN1B // Associate AWG channel 3. :EMODules:AWGenerator5:OPTimization:STARt;*OPC? // Run the optimization wizard