Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ visca_address(3X) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

viscalib(3X)

VISCA(3X)  —  NEWS-OS Programmer’s Manual

NAME

visca_clear, visca_address, visca_reset_clock  − Function to control VISCA devices. 

SYNOPSIS

#include <visca.h>
 intvisca_clear( channel, adrs )
intchannel;
intadrs;

intvisca_address( channel )
intchannel;

intvisca_reset_clock( channel )
intchannel;

DESCRIPTION

visca_clear sends clear command to the VISCA device of adrs th order, whose channel number is indicated by channel .  If VS_BROADCAST is given to adrs, message is broadcasted to all devices.  If visca_clear is executed, all the previous commands that are sent to the specified device become invalid.  At the same time, the message IDs that are obtained by visca_send_message(3X) are also invalidated. 

visca_address sends address command to all the VISCA devices that are connected to the channel number which are indicated by channel. Number of devices that are connected to the channel can be obtained by visca_num_devices(3X). 

visca_reset_clock resets clock of all the VISCA devices that are connected to the channel number which is indicated by channel.

RETURN VALUE

All functions return 0 when ended with success.  When error occurs during execution, −1 is returned.  (In this case, error number is set in the external variable vs_error) In case of time-out, −2 is returned

FILES

/usr/sony/lib/libvisca.a library

/usr/sony/include/visca.h header file

SEE ALSO

viscalib(3X)

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026