:CONFigure:MODule:ALL?

Flex Apps:
FlexOTO
FlexOTO Instance:
Hardware Diagram

Query Syntax

:CONFigure:MODule:ALL?

Query Response

"<model number-serial number>","<model number-serial number>",...

Description

Returns a string of all DCA-M modules that have been recognized by FlexOTO. The string includes all DCA-M modules shown on the Detected DCA-M Modules palette and includes DCA-Ms placed on the Hardware Diagram. Each name is enclosed in double-quote characters and comma-separated. For example:

"N1078A-US78000001","N1092D-US92000001","N1078A-US78000001","N1092D-US92000001","N1092B-US92000001","N1092B-US92000001",...

The following table lists the supported DCA-M modules.

Recognized DCA-M Modules
DCA-M Module Number of
Optical
Channels
Clock Recovery Required Options Connection
Peripheral
Data In Data Out Clock In Clock Out
Oscilloscope Modules
N1092E 4 PLK, IRC, 30A/40A USB1
N1092D 4 PLK, IRC, 30A/40A USB1
N1092C 1 PLK, IRC, 30A/40A USB1
N1092B 2 2 PLK, IRC, CDR, 30A/40A USB1
N1092A 1 2 PLK, IRC, CDR, 30A/40A USB1
Clock Recovery Modules
N1078A S50 or SXT3 USB1
N1077B SMM or SXT3 USB1
N1077A SMS or SXT3 USB1

Supports automatic detection via USB by FlexOTO.

Options CDR and 40A required.

An N1077A-SXT, N1077B-SXT, or N1078A-SXT requires an external optical splitter to provide an optical data to an input channel of the N109x-series DCA-M oscilloscope.

Python Example

This simple example, returns from FlexOTO the name of every valid DCA-M module that is recognized. The output also indicates if the module is installed on the Hardware Diagram.

Copy
id-modules.py
import pyvisa as visa
rm = visa.ResourceManager(r'C:\WINDOWS\system32\visa64.dll')
FlexOTO = rm.open_resource('TCPIP0::localhost::hislip0,4880::INSTR')
FlexOTO.timeout = 5000  # Set connection timeout to 5s
FlexOTO.read_termination = '\n'
FlexOTO.write_termination = '\n'
modules = FlexOTO.query(':CONFigure:MODule:ALL?')
modules = modules.split(',')
print(str(len(modules)) + ' Modules Detected by FlexOTO:')
for module in modules:
    if int(FlexOTO.query(':CONFigure:MODule:ACTive? ' + module)):
        print('\t' + module + ' is installed on Hardware Diagram.')
    else:
        print('\t' + module + ' detected but not placed on Hardware Diagram.')
FlexOTO.write(':SYSTem:GTLocal')
FlexOTO.close()

The output from this script would look similar to this:

6 Modules Detected by FlexOTO:
	N1078A-US78000001 is installed on Hardware Diagram.
	N1078A-US78000002 detected but not placed on Hardware Diagram.
	N1092B-US92000003 detected but not placed on Hardware Diagram.
	N1092B-US92000004 detected but not placed on Hardware Diagram.
	N1092D-US92000001 is installed on Hardware Diagram.
	N1092D-US92000002 detected but not placed on Hardware Diagram.