:SYSTem:SOFTware:LICenses:BORRow?

Instrument:
N1010A
N1000A
DCA-M
Flex Apps:
FlexDCA
FlexRT
FlexPLL

Query Syntax

:SYSTem:SOFTware:LICenses:BORRow? <package license>, <number of days>

Where <package license> specifies the package license using the string listed in the following Software License Package Arguments table.

Where <number of days> is an integer that specifies how many days you wish to borrow the license. The valid range of days is 1 to 90.

Query Response

Boolean, 1 or 0

Description

Use this query to borrow a software license package from Keysight's Pathwave License Manager. You must specify both the package license and the number of days that you wish to use (borrow) the license. Be sure to separate the two arguments with a comma as shown in the example below. The query returns a '1' if the license was successfully borrowed and a '0' if the borrow failed. Always send the :SYST:SOFT:LIC:REFResh command before sending the :SYST:SOFT:LIC:BORRow query.

Packages
Query Argument Returned Description Name Description
L-MFG N1010200A Manufacturing Package
L-RND N1010100A Research and Development Package
L-SNT N1010300A Signal Integrity Package

Requires FlexDCA revision A.06.80 and above.

Example Command Sequence

The success variable will contain either a 1 for success or a 0 for failure.

FlexDCA.write(':SYSTem:SOFTware:LICenses:REFResh')
success = FlexDCA.write(':SYSTem:SOFTware:LICenses:BORRow? "L-RND", 5')
FlexDCA.write(':SYSTem:SOFTware:LICenses:REFResh')
success = FlexDCA.write(':SYSTem:SOFTware:LICenses:INSTalled? "L-RND"')