What it does...
Interface to Quasar Electronics temperature sensor board available from www.quasarelectronics.com. The board reports up to four temperature readings periodically as a xAP message. The sensors can operate over extended distances, using either structured cabling or multi-core alarm cable. Typical applications include sophisticated control of the central heating system (perhaps taking into account other xAP-reported parameters such as prevailing weather conditions or occupancy), or horticultural use, controlling greenhouse environemnts, for example.
Command Line Options
xap-qtemp [serial port] [instance name] [network interface] [udp port] [debug level]
where: serial port is the serial port the Quasar board is attached to. Under linux this has the form /dev/ttyS0. Under Windows, the serial port may also be specified using conventional DOS notation such as com1. If unspecified, defaults to the first serial port.
instance name is the xAP instance name assigned to this Quasar board. Typically this might identify the physical location of this group of sensors (e.g. Downstairs) in situations in which multiple boards are in use. The default instance name is Group1.
network interface is the network interface used for outgoing xAP messages. On a Linux and Windows PC host these are named eth0, eth1. Under OSX they are named ne0 etc. By default, eth0 is used. On a Windows PC which has multiple adapters installed, even if they are not active, eth0 may not represent the active interface - some experimentation may be required!
udp port is the UDP port xAP broadcasts on. By default xAP uses its officially allocated port, 3639. Using an alternative port can be useful during isolated testing, however. Be aware that the use of ports below 1024 will fail unless the application is run by a user with administrative privileges. The use of ports below 1024 therefore has security implications and is not recommend.
debug level determines the verbosity of the output written to stdout. Verbose output can be useful for debugging unexpected behaviour. By default, the debug level is 0. Increasing levels of detail may be specified, up to a maximum of 4.
Download
Quasar Temperature Sensor Project
Quasar temperature probe connector source (requires xAP-lib) Quasar temperature probe connector windows executable (requires cygwin dll)
Schema
Temperature Probe schema
|