Specifications
Section 10. CRBASIC Programming Instructions
10-16
SDMSW8A
Controls and reads an SDM-SW8A.
Syntax
SDMSW8A (Dest, Reps, SDMAddress, FunctOp, SW8AStartChan,
Mult, Offset)
SDMTrigger
Synchronize when SDM measurements on all SDM devices are made.
Syntax
SDMX50
Allows individual multiplexer switches to be activated independently of the
TDR100 instruction.
Syntax
SDMX50 (SDMAddress, Channel)
TDR100
Directly measures TDR probes connected to the TDR100 or via an SDMX50.
Syntax
TDR100 (Dest, SDMAddress, Option, Mux/ProbeSelect, WaveAvg,
Vp, Points, CableLength, WindowLength, ProbeLength, ProbeOffset,
Mult, Offset)
10.6 Processing and Math Instructions
10.6.1 Mathematical Operators
Program declaration AngleDegrees (Sec 12.1) sets math
functions to use degrees instead of radians.
^ Raise to PowerResult is always promoted to a float to avoid problems that
may occur when raising an integer to a negative power. However, loss of
precision occurs if result is > 24 bits.
For example:
(46340 ^ 2) will yield 2,147,395,584 (not precisely correct)
whereas
(46340 * 46340) will yield 2,147,395,600 (precisely correct)
Simply use repeated multiplications instead of ^ operators when full 32-bit
precision is required.
Same functionality as PWR instruction (12.6.4).
* Multiply
/ Divide
Use INTDV to retain 32-bit precision
+ Add
- Subtract
= Equals
<> Not Equal
NOTE