Test controller, remote readout


The readout can show values from testController on one or more external displays, it supports math channels and scaling of the values.
Contents
Settings
Notes
Equipment supported
Scripting
Main page
Settings

At the top there will be a page for each connected display, all have their own settings.


The first line is used to select what to display, either a value directly (Including from Math) or a expression.
To change between the two formats click the double arrow.

This is used to select actual format used to display value, this may affect how fast the display can update.
Possible values, but it will depend on what the display supports (n is a digit):
- Float: This is usually the best format, but values must be scaled to fit on the display.
- SI: This format can show a large range, but adds a letter to the number and letters are often hard to read on 7 segment displays.
- Int: If the value do not have any decimals, this is a good format.
- SIn: Use TC native format to display in SI
- Dn: Use TC native format with a fixed number of decimals.
- Xn: Use TC native format with a variable number of decimals, may show invalid decimals if the value is left adjusted.
All TC format will usually loose a digit, because the point will take a full digit position.

This factor is multiplied with the value, before it is shown, it can be used for small corrections or it can be used to adjust the value for the display.

TC support 3 update speed, the slow is once every 3 seconds, medium is once a second and fast is 3 times a second. The selection is a recommendation to TC, it may not be possible to update fast enough.

This is how many digits TC expect on the display.
Notes
Each display is updated in a separate thread, this means TC can update the display fairly fast, even when using a low baudrate.
Using a shared modbus interface will spoil this, because all data must go on the same wire and if using a TC format the data is send as text and that is slow when using modbus.
It is possible to directly send text to a display when using the "Expression" format. If the result is a string and the display support a ascii format TC will send the string to the display.
VSG.Sine>=0?VSG.Sine:"-Low -" will show low when value is below zero and the value when it is above
substring(date(),8,14) will turn a 6 digit readout into a clock, 4 digit will be missing seconds.
In the #REMOTEREADOUT script command is it possible to use non-standard update speeds, this can be used for slower or faster updates, for faster it tops at about 10 times a second. No radio button will be marked when using non-standard speeds.
Equipment supported
The equipment must be of type Readout with a type for each digit, i.e "Readout Readout:2 Readout:3 Readout:4 Readout:5 Readout:6" to get a 6 digit display.
The following functions are used:
- setReadoutFloat
- setReadoutInteger
- setReadoutSI
- setReadoutString
- setReadoutChar
Only one of them need to be defined, but TC will use all of them if they are defined.
Scripting
This popup can be controlled with:
#SHOWPOPUPSYSTEM RemoteReadout {x y {w h}}
#REMOTEREADOUT device C/E channel/expression format scale updateSpeed
#CLOSEALL