Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-140
707B-901-01 Rev. A / August 2010
printnumber()
This function prints numbers using the configured format.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
printnumber(value)
printnumber(value, value2, …, value_N)
value, value2, value_N
Numbers to print in the configured format
Details
There are multiple ways to use this function, depending on how many numbers are to be printed.
This function prints the given numbers using the data format specified by
format.data
,
format.asciiprecision
, and other associated attributes.
At least one number must be given.
Example
format.asciiprecision = 10
x = 2.54
printnumber(x)
format.asciiprecision = 3
printnumber(x, 2.54321, 3.1)
Output:
2.54000
2.54e+00, 2.54e+00, 3.10e+00
Also see
(on page 7-94)
(on page 7-138)
reset()
This function resets commands to their default settings.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
reset()
reset(system)
system
true
: If the node is the master, the entire system is reset
false
: Only the local group is reset