background image

Software Operation and Overview

3-5 Command-Line Interface

MA25101A UG

PN: 10580-00476  Rev. B

3-9

3-5

Command-Line Interface

If your use case requires controlling the IQ stream through another software package, or if you want to script 
the data transfer, the command-line interface is very convenient.
To run the command-line interface, open a console window to the application folder (typically C:\Program 
Files\Anritsu Company\IQ Acquisition Tool). You can easily open a console window by browsing to the 
application folder using Windows File Explorer, then entering ‘cmd’ in the address bar.   

The command-line application is named ‘IQConsole.exe’. All options and settings are entered with this 
application as command-line directives. Some directives can be entered together on a single command-line, and 
some need to be entered singly. All commands begin with a hyphen (-). Many commands take an argument, 
and a colon separates the directive from its argument.
As an example for format, consider the directive to set the ip address (analyzer hostname).

Iqconsole –h:192.168.0.22

The ‘-h’ tells the application that we are setting the hostname. The colon separates the directive from the value 
passed in, and the hostname follows.
As another example, we can set the output filename:

Iqconsole –n:C:\datafiles\Data.bin

The ‘-n’ tells the application we are setting the output filename. The color separations the directive from the 
filename, and the filename follows. Please note, the default value is ‘Data.bin’. The default value does not 
contain a path specifier, so the file will be written to the current folder. If you are running from the application 
folder, this is write protected and the transfer will fail. Specify a folder that you have write privileges to.
In the descriptions below, angle brackets (‘< >’) represent input values. Do not include the angle brackets, and 
replace the text between the brackets with the desired value. A vertical bar (‘|’) should be read as ‘or’. Include 
a single value from the list separated by vertical bars.
For convenience, certain common directives can be shortened to a single letter:
-s for stream
-a for abort
-d for display
-m for metadata
Use any combination of the following command-line directives to configure and control the spectrum analyzer. 
These can be used together on a single line.

All of the above settings are remembered and do not need to be re-entered, except to change settings.

Note

Note: if you want to use the command-line interface to stop services that might interfere with data 
transfer, you will need to open the console window in Administrator mode

-h:<Hostname>

=> IP address or hostname of the spectrum analyzer.

-f:<Frequency>

=> The center frequency in MHz.

-b:<BW>

=> The capture bandwidth in MHz.

-r:<RefLevel>

=> The reference level in dBm.

-a:<Attenuation> 

=> The attenuation in dBm (Use 'Auto' to set auto-attenuation).

-d:<8|16|I32|F32>

=> The bit-depth.

-p:<on|off>

=> Turn preamp on or off.

-c:<count>

=> The number of 4 MB packets to transfer in I/Q stream.

-e:<yes|no>

=> Indicates if data capture should continue if an error in the data stream is detected.

-n:<filename> 

=> Set the output filename (Default: 'Data.bin'.)

Summary of Contents for MA25101A

Page 1: ...10580 00476 Revision B Published May 2022 Copyright 2022 Anritsu Company Anritsu Company 490 Jarvis Drive Morgan Hill CA 95037 2809 USA User Guide MA25101A IQ Streaming PCIe Kit and MX280006A IQ Acqui...

Page 2: ...reproduced copied or used in whole or in part as the basis for manufacture or sale of the equipment or software programs without the prior written consent of Anritsu Company Export Management The Anr...

Page 3: ...nections 2 3 2 4 Software Installation 2 4 MX280006A IQ Acquisition Installation 2 4 PCIe Driver Installation 2 4 Chapter 3 Software Operation and Overview 3 1 Introduction 3 1 Using IQ Acquisition 3...

Page 4: ...Contents 2 PN 10580 00476 Rev B MA25101A UG 4 5 Capturing and Viewing IQ Data 4 10 To Capture IQ Data 4 10 Open a File 4 10 To View Captured IQ Data 4 10 Store an IQ Data File 4 10...

Page 5: ...seriously degraded IQ Acquisition Tool cannot detect this but it will be evident in data throughput For best performance a direct connection is recommended using a single Gigabit Ethernet hub or switc...

Page 6: ...If you play a game browse the Internet or edit a document the data stream will be interrupted and the transfer will stop Besides user programs it is also necessary to limit system services and backgro...

Page 7: ...Requirements Full height or half height desktop PC Lenovo ThinkCentre 920 SFF or similar recommended Empty PCIe adapter card slot Intel i5 processor or higher 8 GB of RAM or higher 1 TB high performa...

Page 8: ...elect the Library tab http www anritsu com Table 1 1 Related Manuals Document Part Number Description 10100 00069 MS2090A Product Information Compliance and Safety Notices 11410 01000 MS2090A Technica...

Page 9: ...ed within industry standards such as JEDEC 625 EIA 625 MIL HDBK 263 and MIL STD 1686 which pertain to ESD and ESDS devices equipment and practices Because these apply to the user s PC and the analyzer...

Page 10: ...sktop PC 2 Remove the PC cover to access the motherboard and PCIe expansion slots 3 Install the PCIe card into an available PCIe slot as illustrated in Figure 2 1 Ensure that the PCIe card is fully se...

Page 11: ...op PC Additionally both the PC and the MS2090A must be connected to each other over an Ethernet network an Ethernet switch hub or through a direct connection via an Ethernet cable as shown For low spe...

Page 12: ...screen instructions during installation 3 Once the installation process is complete click Close to complete the installation PCIe Driver Installation The PCIe driver is not automatically installed mus...

Page 13: ...y powering up the analyzer and wait for it to start sweeping 2 If using an MS2090A with the MA25101A PCIe card set the following IQ Capture Mode Streaming Output Port Data Out Data Out Format PCIe 3 T...

Page 14: ...Read Center Frequency Set Read Reference Level Set Read Span Set Read Attenuation Set Read Preamp state Set Read Capture BW Sample rate pair Set Read Capture Bit depth if user selects xdat IQ file fo...

Page 15: ...ions are installed The button will be unavailable if a required option is missing or if a connection via the selected streaming port is not established Opens Windows Explorer to the output folder loca...

Page 16: ...URL or IP address The indicator to the left will illuminate as described below Green LED A connection has been established with the analyzer and the required option is installed The Stream IQ Data bu...

Page 17: ...attenuation level manually or to AUTO ATTEN and sets the PRE AMP state The settings take affect when the Stream IQ Data is clicked Capture Bit Depth and Time Stamp This field sets the analyzer s stre...

Page 18: ...s Mode is Off Continuous Mode is set to Off the stream will end when the current file size limit is reached Run Time Streaming will continue until The user presses Stop Out of space transfer stops wit...

Page 19: ...This will give the user a good idea of what they can expect when running an IQ Stream Note that for streaming data at relatively low bandwidth such as anything below 50 MHz much of this discussion is...

Page 20: ...eates a list based on the current PC status of services that have been stopped This is most useful if the user has used the Manage Services link to stop services that are not included in the Common Se...

Page 21: ...ease note the default value is Data bin The default value does not contain a path specifier so the file will be written to the current folder If you are running from the application folder this is wri...

Page 22: ...or larger than anticipated depending on the size and transfer time of the last packet or help Display a summary list of all command directives pcie Set output port to PCIe Ethernet Set output port to...

Page 23: ...supports the MS2090A and MS2720xA series analyzers and only streams IQ data over the Ethernet 1 Start by powering up the analyzer and wait for it to start sweeping 2 Turn on the PC and launch the IQ A...

Page 24: ...sis The IQ data can be captured continually or at set intervals The IQ Auto Capture program window is shown in Figure 4 2 1 See IQ Auto Capture Toolbar 2 See Daily Files on page 4 5 3 IQ data graph di...

Page 25: ...ension cfg Capture immediate IQ data on all channels See Capturing and Viewing IQ Data on page 4 10 for a description of capturing IQ data Enable Disable automatic IQ data capture When active the ligh...

Page 26: ...as clicking the Name field as described below Factory Reset Resets all configuration parameters to factory default settings Ambiguous settings on the spectrum monitor may cause unexpected results in...

Page 27: ...es in the Daily Files list Click Name opens the dialog below Type the new file name and press OK to close the dialog and save the name change Memory Indicates the amount of available memory on the Spe...

Page 28: ...s list Useful when new data is received but may not be viewable yet Press refresh to update the Daily Files list Click a date file in the list and then click the Delete button to remove it from the li...

Page 29: ...adding a new channel as shown in Figure 4 4 Center Frequency Type or use the up down arrows to set the channel capture center frequency 9000 MHz to 0 007 MHz Capture Bandwidth Set the capture bandwid...

Page 30: ...r use the up and down arrow keys to set the time of the capture length 10 msec to 200 msec Cancel Exit Press Cancel Exit to close the dialog without saving changes Save Exit Press Save Exit to save th...

Page 31: ...Q Auto Capture The user can change the storage location Table 4 5 Process Log Buttons Save the process log to a file Clears the Process Log The log is not saved to disk So if the file is not saved man...

Page 32: ...e 4 2 on page 4 4 These correspond to the three frequency sets listed in the Remote Monitors window To View Captured IQ Data Click a file in the Wednesday folder to view the captured IQ data Open the...

Page 33: ......

Page 34: ...Anritsu utilizes recycled paper and environmentally conscious inks and toner Anritsu Company 490 Jarvis Drive Morgan Hill CA 95037 2809 USA http www anritsu com...

Reviews: