#
# Guralp Configuration System
#   Copyright (c) 2009-2010 Guralp Systems Ltd. All rights reserved.
#
#  GPIO names configuration template
#

title		GPIO names and power states

body

if		$E:fatal$
error		$E:fatal$
else

heading		GPIO line settings

section		Labels
heading2	User labels

text		This table specifies the labels used for each of the GPIO lines.

ftable		names 2 0

fixed		sysname
label		System name

field		usrname
label		User label
check		text


section		Tamper lines
heading2	Tamper lines

text		Input lines which are fitted with tamper circuitry can be monitored by the
		system. Select the desired lines, and whether the line is usually low or
		usually high, in the following table.

ftable		tampers 2 0

fixed		tamperid
label		System name

select		tampertype
label		Tamper monitoring
choice		off Disabled
choice		normally_high Normally high
choice		normally_low Normally low


section		Logging
heading2	Environment logging

text		Some input lines have properties associated with them (such as line voltage or
		temperature) that can be logged. Select the desired properties to log below.

ftable		envirologs 2 0

fixed		envirologid 30
label		System name

checkbox	envirologenable
label		Enable monitoring


if		$V:has_levels$

section		Power up
heading2	Power up state

text		This table sets the initial condition for the power switches following initial
		system power up.

		NOTE - Changing this setting to Off only makes sense on lines which have been
		hardware-configured to power up in a disabled state. Otherwise, the line will
		be active when power is initially applied, and will only be switched off when
		the unit has completed its boot cycle. If in doubt, leave as "Power On".

ftable		levels 2 0

fixed		initname
label		System name

select		initlevel
label		Power up state
choice		true	Power On
choice		false	Power Off

endif
endif

# vim: syntax=gconfig
