Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ pset_choice_mode(3g) — PHIGS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

pset_choice_mode(3g)  —  Subroutines

Name

pset_choice_mode − Sets the operating mode and echo state of a choice device. 

Operating States: PHOP, WSOP, ∗, ∗
PHIGS standard function

Syntax

void pset_choice_mode (
  Pint           wsid,      /∗ (I) Workstation identifier ∗/
  Pint           dev_num,   /∗ (I) Choice device number ∗/
  Pop_mode       mode,      /∗ (I) Operating mode ∗/
  Pecho_switch   echo       /∗ (I) Echo switch ∗/
)

Data Structures

typedef enum {
    POP_REQ,       /∗ request mode ∗/
    POP_SAMPLE,    /∗ sample mode ∗/
    POP_EVENT      /∗ event mode ∗/
} Pop_mode;
typedef enum {
    PSWITCH_NO_ECHO,    /∗ echo disabled ∗/
    PSWITCH_ECHO        /∗ echo enabled ∗/
} Pecho_switch;

Description

pset_choice_mode sets the specified choice device to the specified operating mode and sets the echo state of the device as specified.  Depending on the specified input operating mode, Digital PHIGS may begin or end an interaction with the device. 

Digital PHIGS stores the input device state defined by the operating mode and the echo switch in the workstation state list for the specified choice device.  For more information on operating modes, see Input Operating Modes. 

See Also

pget_choice
pinit_choice
pinit_choice3
pinq_choice_st
preq_choice
psample_choice

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