VME

vme( mode, base, offset)
vme([mode], [base], [offset]) = int_expr
vme() = vme_reopen
vme() = vme_sysreset

Reads/writes VME words.

Mode can be a24d16, a16d16 or a16d8.

Base and offset are byte addresses/offsets. They may be supplied as hex numbers.

The preceeding call defined the default values for mode, base and offset.

The command vme() = vme_reopen closes the VME bus and re-opens the connection. It is intended to be used after the VME crate has been switched off while ONLINE was running.

The command vme() = vme_sysreset asserts the SYSRES line. Most of the devices return to their power-on configuration.
e.g.:
vme( a24d16, 0xef00, 0x02) = 0x100
Writes 1 to channel 8 which may be the first output channel.
vme( , , ) = 0x000
This call clears it.