Wiki

This version (22 Aug 2019 13:48) was approved by amiclaus.The Previously approved version (15 Mar 2018 07:35) is available.Diff




General Settings - Test Case

Initial Setup

In order to proceed through the test case, first of all delete the Scopy *.ini file (saves previous settings made in Scopy tool) from the following path on Windows: C:\Users\your_username\AppData\Roaming\ADI .

Open Scopy instrument. The interface should look like the picture below:

Test Title


A. General Settings

Click to display ⇲

Click to hide ⇱

Description Test Steps Steps Resources Expected Results
Connect and Auto Calibration feature using local connection 1.1 Connect the M2K board to the PC using a micro-USB connector. The set up should look like the Steps Resources picture on the left.
1.2 Click the M2K icon. The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply.
1.3 Click “Identify.” The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy.
1.4 Click “Connect.” M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator and Voltmeter instrument should start. “Calibrate” button must be enabled.
Manual Calibration feature using local connection 2.1 After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator and Voltmeter instrument should start.
Connect and Auto Calibration feature using remote connection 3.1 On the home menu, click the add “+” button and input the IP address of the desired M2K board to control. The default IP address is 192.168.2.1. Click add. The set up should look like the Steps Resources picture on the left. The instruments will appear on the left panel: Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator, Logic Analyzer, Pattern Generator, Digital IO, Voltmeter, and Power Supply.
3.2 Click “Identify.” The “Ready” LED on the M2K board will rapidly blink 10 times indicating that it is the device identified by Scopy.
3.3 Click “Connect.” M2K will auto calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator and Voltmeter instrument should start. “Calibrate” button must be enabled.
3.4 Click “Forget device.” The M2K board icon connected remotely will disappear on the panel.
Manual Calibration feature using remote connection 4.1 After connecting the M2K, manually calibrate the device by clicking the “Calibrate” button. M2K will calibrate. The calibration indicator on Oscilloscope, Spectrum Analyzer, Network Analyzer, Signal Generator and Voltmeter instrument should start.
Firmware Update 5.1 Check to see if there’s a firmware update on https://github.com/analogdevicesinc/m2k-fw/releases, then follow the instruction on https://wiki.analog.com/university/tools/pluto/users/firmware. Check if the firmware was updated.
Save and Load Profile feature 6.1 Save the current profile. On the bottom part of the left panel, click the “Save” icon and save the profile as “default.ini.” Change any setting on any instrument and reload the profile. The change made on a certain instrument should be undone and the default profile should load.
Save and Load Profile feature: Signal Generator, Oscilloscope and Spectrum Analyzer 6.2 On Oscilloscope, For channel 1: Time Base: 100ns, Volts/Div: 2V. For channel 2: Volts/Div: 5V. On Signal Generator, For Channel 1: Sinewave: 3V, Frequency: 3MHz. For Channel 2: SquareWave: 5V, Frequency: 900kHz. For Spectrum Analyzer’s Sweep Setting, Start: 500kHz, Stop: 5MHz, Top: 10dBFS, Range 150dBFS. See Step Resource Picture for reference.
6.3 Connnect AWG channel 1 to Scope Ch1+ and AWG channel 2 to Scope Ch2+. Connect Scope Ch1- and Ch2- to GND. See Step Resource Picture for reference.
6.4 Run the Signal Generator instrument, and check the output on Oscilloscope and Spectrum Analyzer. Then save the profile as “profile 1.ini “ The output waveform on the Oscilloscope should be set in a way that the signals are can properly be seen compared with the default settings. In the Spectrum Analyzer the fundamental frequency of both signals should be present in the plot window set by the sweep setting.
6.5 Reload the default setting by deleting the file in C:\Users\your_username\AppData\Roaming\ADI. Reload “profile 1.ini”, and run the signal generator and oscilloscope or Spectrum Analyzer The result should be the same on the saved profile.
Save and Load Profile feature: Logic Analyzer, Pattern Generator and Digital IO 6.6 In Pattern Generator, enable DIO2, DIO3, DIO6, DIO7, DIO10, DIO11, DIO14 and DIO15. Group DIO1 and DIO2 set to random and 1MHz frequency, Group DIO10 and DIO11 and set to Binary Counter at 1MHz, set the other enabled DIO to clock at 1MHz. In Logic Analyzer, Group DIO0, DIO1, DIO4, DIO5, DIO8, DIO9, DIO12 and DIO13 and set to parallel mode, Group DIO2 and DIO3 and set to parallel mode, Group DIO10 and DIO11 and set to parallel mode, Set the time base to 1us. In Digital IO instrument, Set DIO0, DIO1, DIO4, DIO5, DIO8, DIO9, DIO12 and DIO13 to output.
6.7 Run the three instrument and open Logic Analyzer instrument. Save the profile as “profile 2.ini”. See that the profile is saved on the desired location and the logic analyzer should be set in a way that the rising and falling edge of the signal is clearly seen.
6.8 Reload the default setting by deleting the file in C:\Users\your_username\AppData\Roaming\ADI. Reload “profile 2.ini”, and run Pattern Generator, DigitalIO and Logic Analyzer. The result should be the same on the saved profile.
Save and Load Profile feature: Power Supply, Voltmeter and Network Analyzer 6.9 In Power Supply, Set Tracking Mode with 35% tracking setting, Set Positive output to 3V, the negative output should automatically be set to -1.05V. For the Signal Generator, Set channel 1: Sinewave: 2V, frequency: 10kHz, phase: 0, offset: 0V, set channel 2: Sinewave: 1V, frequency 10kHz, phase 90, offset: 0V. In voltmeter, set channel 1 to DC, History and History Off, for channel 2, set to AC(800Hz-40kHz), History: 1s. For the Network Analyzer, Set sweep settings, Linear, Min/Max Frequency: 1kHz to 100kHz, Sample Count: 200, Waveform Setting: 2V, Max/Min Magnitude: 10dB to -90dB, Max/Min Phase: 100 to -100. See step resource picture for reference.
6.10 Connect Positive Supply to Scope Ch1+, connect AWG1 to Scope Ch2+, connect scope Ch1- and Scope Ch2- to GND See Step Resource Picture for reference.
6.11 Run Power Supply, Voltmeter and Signal Generator to see if the voltmeter will be able to read 3V on channel 1 and 0.7V on channel 2. Save the profile as “profile 3.ini”. Channel 1’s history should be off and channel 2’s history should be present and the reading is stable.
6.12 Reload the default setting by deleting the file in C:\Users\your_username\AppData\Roaming\ADI. Reload “profile 3.ini”, and run Power Supply, Voltmeter and Signal Generator. The result should be the same on the saved profile. The network analyzer’s setting should be retained.
Preferences Features 7.1 Click the Preferences option located below the instrument options. The Preferences menu should contain five sections: General, Oscilloscope, Spectrum Analyzer, Signal Generator and Network Analyzer. See step resource image for reference.
7.2 Under the Oscilloscope section, labels on the plot may be toggled on or off. Checking the Oscilloscope plot, the labels must synchronize with the option chosen. See Step Resource image for reference
7.3 On the Spectrum Analyzer section, an option to search or not to search marker peaks in the visible domain is given. See Step Resource Picture for reference.
7.4 Set these parameters: For the Signal Generator, Waveform = Sine, Amplitude = 10V, Frequency = 500kHz; For Spectrum Analyzer, Sweep Start = 700kHz, Stop = 1MHz. Disable Channel 2. See Step Resource Picture for reference.
7.5 Connnect AWG channel 1 to Scope Ch1+ .
7.6 Under the Marker Settings, click Marker 1 then “Peak.” Turn the Marker Table on and look for the marked frequencies. A marker labeled M1 will automatically appear on the spectrum upon clicking Marker 1. Clicking “Peak” will put the Marker on the 500kHz mark.
7.7 Under the Signal Generator section, The number of periods shown may be adjusted from 2 to 9. The signal generator’s graphical representation must follow the desired number of periods on the lower frequency channel (if both channels are configured to output waveform signals). When numbers other than 2 to 9 are entered, the number and the line under it turns to red. See Step resource image for reference.
7.8 On the Network Analyzer section, an option to display 0dB on the graph is available. Click to enable it. See Step Resource Picture for reference.
7.9 Construct a first-order low pass RC filter with the following components: R = 470 Ohms, C = 1uF. This will have a cut-off frequency of ~340 Hz. The set up should look like in steps resources picture on the left.
7.10 Set the network analyzer with the following parameters: Reference channel: Channel 1, Frequency scale: Logarithmic, Sweep range: 10 Hz to 500 kHz, Sample count: 100, Waveform settings: Amplitude: 1V, Offset: 0, Display settings: max magnitude: 10 dB, min magnitude: -90dB, max phase: 60°, min phase: -150°. Run network analyzer. The Bode Plot has 0dB on its labels. See Step Resource Picture for reference.
7.11 Reset profile to default by deleting the files from C:\Users\your_username\AppData\Roaming\ADI . Disable auto save feature. Load profile 1, profile 2 or profile 3 from Testing Save and Load feature steps. Close Scopy and Open. Reopening Scopy, the profile loaded should be the default one.
7.12 Reset profile to default by deleting the files from C:\Users\your_username\AppData\Roaming\ADI . Enable auto save feature. Load profile 1, profile 2 or profile 3 from Testing Save and Load feature steps. Close Scopy and Open. Reopening Scopy, the profile loaded should be the profile saved.
7.13 Following step 7.7, open Scopy and the current profile should be one of the profiles created from the Save and load test case. On the General Setting preference, the reset scopy is located in the lower right of the Scopy screen. Click reset scopy. A dialog box should appear confirming the reset command. Scopy should return to its default setting. Similar with deleting the files from C:\Users\your_username\AppData\Roaming\ADI folder.
Test index_file parameter 8.1 Go to ADALM2000's wiki page and save it as html. Take note of the directory of the saved html file. See Step Resource Image for reference.
8.2 Save a Scopy profile and open using notepad. Set the index_file parameter to the directory of the html file. Make sure to follow the correct format. See Step Resource Image for reference.
8.3 Load the edited Scopy profile. ADALM2000’s wiki page is loaded on the Scopy’s home screen. See step resource image for reference.
8.4 Repeat steps 1 to 3 on different sites such as Analog's Main page and other trusted web sites The html version should appear on Scopy's home.

Test Results will be recorded in the following document: General Setting Test Case


Return to Test Cases Table of Contents

university/tools/m2k/scopy/test-cases/general-settings.txt · Last modified: 22 Aug 2019 12:28 by HRosete