The information in this
guide is furnished for
informational use only
and is subject to change
without notice. ThinkRF
Corporation assumes no
responsibility or liability
for any errors or
inaccuracies that may
appear in this document.
No part of this
publication may be
reproduced, published,
stored in an electronic
database, or transmitted,
in any form or by any
means, electronic,
mechanical, recording,
or otherwise, for any
purpose, without the
prior written permission
of ThinkRF Corporation.
Trademarks
ThinkRF, the ThinkRF
logo and D2030 are
trademarks of ThinkRF
Corporation.
All other brand or
product names are
trademarks or registered
trademarks of their
respective companies or
owners.
ThinkRF Corp
390 March Road
Kanata, ON K2K 0G7
(613) 369-5104
HARDWARE WARRANTY AND LIMITATION OF LIABILITY
Read this warranty carefully before you use the product.
D2030 30 GHz Downconverters are warranted for workmanship and materials for a
period of one (1) year from the date of shipment as identified by the Customer’s
packing slip or carrier waybill. ThinkRF reserves the right to void the warranty on any
equipment that has been altered or damaged due to Customer negligence,
unauthorized repair, misuse of equipment, evidence of physical or environmental
damage, transportation abuse or removal of any ThinkRF identification labels or
serial numbers.
It will remain the responsibility of the Customer, having obtained a Return Material
Authorization (RMA) and shipping instructions from ThinkRF, to return, at the
Customer's expense, the defective unit to ThinkRF’s repair facilities. ThinkRF will
incur shipping charges for the return of warranty repaired equipment. The RMA
number can be secured by calling ThinkRF Customer Service and Support (1-613369-5104). If the product does not fall within ThinkRF’s warranty period or the
product is found to be functioning as designed, then under the terms of ThinkRF’s
warranty policy, all costs of repairs and shipping will be charged directly to the
Customer. ThinkRF will warrant repaired units for a period of 90 days from date of
shipment from ThinkRF to the Customer. If the remaining period on the original
hardware warranty is greater than 30 days, then ThinkRF will honor this remaining
warranty period.
THINKRF EXPRESSLY DISCLAIMS ALL OTHER WARRANTIES AND
CONDITIONS, WHETHER EXPRESS OR IMPLIED, INCLUDING WITHOUT
LIMITATION, WARRANTIES, CONDITIONS OR REPRESENTATIONS OF
WORKMANSHIP, MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, DURABILITY, OR THAT THE OPERATION OF THE HARDWARE OR
LICENSED SOFTWARE WILL BE ERROR FREE. IN NO EVENT WILL THINKRF
BE LIABLE FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES.
USE OF PRODUCTS IN HIGH RISK ACTIVITIES
THINKRF PRODUCTS ARE INTENDED FOR STANDARD INDOOR COMMERCIAL
USE. WITHOUT THE APPROPRIATE NETWORK DESIGN ENGINEERING, THEY
MUST NOT BE USED FOR ANY “HIGH RISK ACTIVITY”, as described in this
paragraph. Customer acknowledges and agrees that the products supplied
hereunder are not fault-tolerant and are not designed, manufactured or intended for
use or resale as on-line control equipment in hazardous environments requiring fail
safe performance including but not limited to the operation of nuclear facilities,
aircraft navigation or communication systems, air traffic control, direct life support
machines, or weapons systems, in which the failure of products could lead directly to
death, personal injury, or severe physical or environmental damage, all of which are
examples of “High Risk Activity”. THINKRF AND ITS SUPPLIERS EXPRESSLY
DISCLAIM ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR HIGH
RISK ACTIVITIES.
This preface describes the audience for, the organization of, and conventions used in this
document. It also identifies related documentation and explains how to access electronic
documentation.
Audience
This document is written for software developers wishing to develop and/or maintain a
software interface to the D2030 and who have a basic understanding, familiarity and
experience with network test and measurement equipment.
Conventions
This section describes the conventions used in this document.
Grayed-out Font
Indicates a command or a feature is not yet available in the current release.
Courier Font
Illustrates this is an example for a command or a concept.
Light Blue Font
Contains hyperlink to the referenced source that can be clicked on.
Normal Bold Font
When used within a sentence or a paragraph, it emphasizes an idea to be paid attention
to particularly.
Red Font
Conveys special information of that section.
Note: This symbol means take note. Notes contain helpful suggestions or references to
additional information and material.
Caution: This symbol means be careful. In this situation, you might do something that
could result in equipment damage or loss of data.
Warning: This symbol means danger. You are in a situation that could cause bodily
injury. Before you work on any equipment, be aware of the hazards involved with
electrical circuitry and be familiar with the standard practices for preventing accidents.
This section overviews the D2030's functionality and protocols used, and summarizes the
SCPI command sets for controlling the individual functions.
Note: This is a living and evolving document. We welcome your feedback.
The features and functionality described in this section may exist in the current product
firmware release or are scheduled for a future product firmware release (grayed out
commands and/or text). Please refer to Appendix E: SCPI Commands Quick Reference
for the complete list of commands and the availability information. No hardware upgrade
is required at each feature release (unless specified though unlikely).
System Overview
D2030 30 GHz Downconverter is used to convert RF signals in the range of 27-30 GHz
down to an intermediate frequency (IF) of 3.55 GHz or 5.6 GHz (determined by the
product Option code, see :SYSTem:OPTions?). This is designed to extend the
functionality of existing spectrum analyzers that operate to a maximum frequency of 4
GHz or 6 GHz, respectively, to measure and analyze 5G signals in the range of 27-30
GHz band. Figure 1 shows a simplify interconnect diagram with a spectrum analyzer.
D2030 Functional Overview
Figure 1: D2030 Interconnect Diagram with A Spectrum Analyzer
ThinkRF's products conform with standardized protocols for interoperability. Standard
protocols include the Standard Commands for Programmable Instruments (SCPI)
protocol for controlling and obtaining status from the Downconverter.
Refer to Appendix A for how to connect to a Downconverter.
The D2030 provides system level control and status commands as defined in Table 1.
:LAN<commands>Subset of commands for configuring/querying Downconverter's LAN
:ERRorReturns the error code and messages from the SCPI error/event queue
[:NEXT]?
:OPTions?Returns comma separated 3-digit values to represent the hardware
:VERSion?Returns the SCPI version number that the instrument complies with
:STATusPage 20
:OPERation
[:EVENt]?Returns the standard Operation Status Register (OSR) and clears the
:CONDition?Returns the standard Operation Condition Register (OCR)
:ENABle[?]Sets or queries the Operation Status Enable Register (OSE)
:PRESETPresets the D2030 (similar to *RST)
:QUEStionable
[:EVENt]?Returns the Questionable Status Register (QSR) and clears the register
:CONDition?Returns the Questionable Condition Register (QCR)
:ENABle[?]Sets or queries the Questionable Status Enable Register (QSE)
:TEMPerature?Returns the D2030's internal ambient temperature
settings
option(s) or features available with a particular Downconverter model
register
See SCPI Command Set section (page 12 onward) for further details on the commands.
Caution pertaining to multi-user: The current firmware version of the D2030 allows
multiple applications to connect to the unit simultaneously but it does not support
independent sessions. Therefore, the actions of one user may over-write those of
another. This could potentially damage the unit for instance if the front-end's gain were
incorrectly set. If multiple applications are connecting to the unit, it is advised that only
one of those is controlling the unit at any time.
RF Receiver Front-End
The receive front-end (RFE) has been largely defined through the hardware
specifications. The primary commands have to do with setting the center frequency of the
Downconverter and switching in the front-end gain for improved noise figure, ThinkRF
provides the user access to other blocks within the radio receiver. The command set is
defined in Table 2.
This section is a SCPI reference guide for controlling the ThinkRF D2030 30 GHz
Downconverter. The D2030 supports the Standard Commands for Programmable
Instruments (SCPI) standard version 1999.0 as described in the following sections. SCPI
lends itself to a command line interface and scripting, is supported by the major
instrument vendors and provides a high level of familiarity for instrument users.
Note: The D2030 receives SCPI commands and sends query responses using one of
two network interfaces. It is accessible via telnet on port 5024, raw socket on port 5025,
or through a HiSLIP connection on port 4880. Certain features such as service requests
and equipment locking are only available with HiSLIP. See Appendix A: Booting up and
Connecting to the D2030 for more details.
SCPI Language Overview
In the early 1990s, a group of instrument manufacturers developed Standard Commands
for Programmable Instrumentation (SCPI) for controlling programmable instruments via a
communication link, such as RS232, USB, LAN, etc. SCPI specifies the command
structure and syntax using ASCII characters to provide some basic standardization and
consistency to the control commands. SCPI commands, hence, lend themselves to
communications with equipments via command line interface, scripting and/or
programming languages such as C/C++, MATLAB®, Python, etc.
The SCPI language is based on a hierarchical or tree structure as illustrated in Figure 2
an example command set. The top level of the tree is the root node, which is followed by
one or more lower-level nodes.
Figure 2: SCPI Language Hierarchical or Tree Structure Example
The traditional model of a typical SCPI instrument involves either a measurement
function where an external input is digitized and processed, or a source function where a
signal is generated and sent to an external output. The D2030 does not fit this traditional
model in that it performs no intermediary digital processing. However, it performs tasks
such as frequency conversion purely in the analog domain. Figure 3 shows the D2030
simplified instrument model.
Refer to the Appendix B: SCPI Command Syntax section for the general SCPI command
syntax format and usage details.
IEEE Mandated SCPI Commands
These commands control and query the communication event/error and status registers
as defined in the Appendix C: SCPI Status and Event Registers section. They are
mandated by the IEEE.
Caution: The mandated IEEE SCPI commands are not affected by *RST command.
*CLS
SCPI Command Set
The Clear Status (CLS) command clears all the event status registers in the device
status-reporting mechanism and the error/event queue. This also results in the
corresponding summary bits in the Status Byte (STB) to be cleared.
Syntax*CLS
Parameter/ResponseNone
*ESE/*ESE?
*ESE command sets bits in the ESE register. The decimal integer value entered is the
binary equivalent of the desired 8-bit mask. Bits set in the ESE enables the
corresponding bit in the ESR to assert the Standard ESR summary bit in the STB (bit 5).
*ESE? query returns the decimal sum of the bits in the ESE register.
See Figure 4 for the ESE/ESR register bit mapping.
Syntax*ESE <integer>
*ESE?
Parameter/Response<integer>
Allowable Values0 - 255
*ESR?
Query the standard Event Status Register (ESR), which returns the decimal sum of the
bits in the ESR. The ESR will only appear set if and only if its event has occurred and the
corresponding bit in the ESE is also enabled.
The *OPC/*OPC? commands allow synchronization between the controller and the
D2030.
*OPC (Operation Complete) sets bit 0 in the ESR to 1 when all commands received
before *OPC or *OPC? have been completed. When the D2030 is connected using a
HiSLIP session, this command can be used to raise a Service Request by configuring the
ESE and SRE registers appropriately.
*OPC? returns the ASCII character 1 in the Standard Event register indicating completion
of all pending operations. The query also stops any new commands from being
processed until the current processing is complete.
*RST does not affect the registers or queues associated with the IEEE mandated
commands. Each non-IEEE mandated command description in this reference shows the
*RST value when affected.
Syntax*RST
Parameter/ResponseNone
*SRE/*SRE?
The *SRE (Service Request Enable) command enables bits in the SRE register. The
decimal integer value entered is the binary equivalent of the desired 8-bit mask. When a
bit is set in the SRE register and the corresponding STB register bit is also set, a Service
Request is raised if the D2030 is connected using a HiSLIP session. It has no effect
when connected via Telnet.
*SRE? query returns the decimal sum of the enabled bits in the SRE register. The
decimal sum is the binary equivalent of the 8-bit mask.
See Figure 4 for the SRE/STB register bit mapping.
Syntax*SRE <integer>
*SRE?
Parameter/Response<integer>
*STB?
*STB? (Status Byte) query returns the decimal sum of the bits set in the STB register
without erasing its content. Each bit corresponds to the underlying Status Data Structure.
See Figure 4 for the ESE/ESR register bits mapping and the Status Byte Register (SBR)
section of the Appendix C for the bit definitions.
Syntax*STB?
ParameterNone
Response<integer>
*TST?
*TST? (self-test) query initiates the device's internal self-test and returns one of the
following results:
*WAI (Wait-to-Continue) command suspends the execution of any further commands or
queries until all operations for pending commands are completed.
Parameter/ResponseNone
SYSTem Commands
These commands control and query the communication event and status registers as
defined in the Appendix C: SCPI Status and Event Registers. They are the minimal
:SYSTem sets required in all SCPI instruments.
:SYSTem:COMMunicate:LAN:APPLy
This command will save the changes to the LAN settings to the unit’s internal memory.
The new settings will take effect only after the D2030 has been rebooted or power
cycle. Once the LAN settings are saved, they are not affected by :STATus:PRESET or
*RST.
Syntax*WAI
Caution: When changing from DHCP to STATIC mode, this command should to be sent
only when all the required LAN settings are set using the appropriate subsequent
:SYSTem:COMMunicate:LAN commands.
Syntax:SYSTem:COMMunicate:LAN:APPLy
Parameter/ResponseNone
*RST StateN/A
Examples
:SYST:COMM:LAN:APPLY
:SYSTem:COMMunicate:LAN:CONFigure
The set command stores the new LAN configuration type in the Downconverter
temporary. The new configuration does not take effect until
:SYSTem:COMMunicate:LAN:APPLy is sent (please refer to the Caution note of the
:APPLy command). Once the option is applied, it is not affected :STATus:PRESET or
*RST.
The query command will return the option set or that of the actual current configuration if
one is not set. The CURRENT query will return what is currently and actually used by the
Downconverter's LAN interface.
Notes:
- The default factory configuration is STATIC mode with IP 192.168.1.2
- *RST command cannot be used to set the box to its manufacturing default state of
STATIC mode. To set the box back to STATIC mode from a working DHCP/auto mode,
use this command or perform a factory reset.