2000-OSM, F1
10-35
Comments:
channel%
is the output channel (1-96).
value%
is the trend output value.
Example:
0010 FOR I = 1 TO 96
0020
WTO(I,0)
0030 NEXT I
All trend outputs that exist are set to their lowest value.
Y2X Function
Description:
Returns the value of Y raised to the X power.
Syntax:
Y2X(fp!,fp!)
Comments:
fp!
is a floating point expression.
Example:
0010 LPRINT Y2X(2.,10.)
Prints the value of 2 raised to the power of 10 (1024).
ZERO OUTSTANDING REQUESTS Command
Description:
Removes all pending requests from the Analysis Request Queue.
Syntax:
ZERO_OUTSTANDING_REQUESTS
Example:
0010 RQANA(1) : RQANA(2)
0020
ZERO_OUTSTANDING_REQUESTS
0030
RQCAL(8)
Requests an analysis for streams one and two, removes all requests
including the ones just made for streams one and two, then requests a
calibration on method 8.
Vista BASIC Support for VistaNET Communications
VistaNET is a UDP-based communications protocol. The protocol is such that any message can be
sent from one device to another. In order to do this, a message header must be built that instructs
the UDP messaging layer how the message should be handled. To that message header, a user-
defined datagram is attached. Vista BASIC messages are ASCII text blocks attached to these UDP
headers.
The user can define ASCII messages to be sent to another device. These ASCII messages can be
parsed for the content at the receiving end.
BUILD HEADER Command
Description:
Constructs a UDP header for VistaNET messaging.
Syntax: HDR$ = BLD_HDR$(domain%, address%, port_number%, dev_type%,
msg_type%,block_type%,
flags%)
Comments:
domain%
is the domain number expressed as an integer. Since the domain
designation consists of two bytes, the desired domain must be
converted to an integer. Examples:
domain 0.1 in binary is 0000 0000 0000 0001; as integer it is 1.
domain 1.15 in binary is 0000 0001 0000 1111; as integer, 271.
address%
is the device address expressed as an integer. Since the device
address consists of two bytes, the desired address must be converted to an
integer. (see domain discussion above).
port_number%
is the port number to which message is to be sent. The
Vista BASIC port is 518.
dev_type%
is the device type, and is defined as follows:
1 = GC
2 = CAC
5 = SIMDIS GC
7 = DUAL DETECTOR GC