The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/dials/

dialet.pro


Routines

DialCommons

result = N2S(number)

DialTag, name, D=D, Si=Si, TAG=TAG, SET=SET, GET=GET

DialsFrequency, GET=GET, SET=SET, STOP=STOP, START=START, DURATION=DURATION

result = DialNewValue(SETVALUE=SETVALUE, COMMENT=COMMENT, TYPE=TYPE)

DialModValue, val, NAME=NAME, d=d, tag=tag

DialStop, name, D=D

DialStart, name, D=D

result = DialControl(command, D=D, CHECK=CHECK, NAME=NAME)

DialClear, name, D=D

DialMacro, name, D=D, Si=Si

DialWSet

result = DialOn(Dial, D=D)

DialInit, name, D=D, NEW=NEW, PATH=PATH, herits=herits

WebOn, PATH=PATH, PASSWORD=PASSWORD

WebOff

WebDo, flg, val, dnum, matx

DialMix, A, B

DialMessage, flg, str

DialNameToNumber, name, FIND=FIND, D=D

Dialet_event, event, uv

P_DIA_RETIM, id, freq

P_DIA_WIDGET, flg, id, val

P_PAD_EVENT, event, uv

P_PAD_CREATE, aque, bido, cque

Dialet, MAP=MAP, PAD=PAD

Routine details

top DialCommons

DialCommons

** *********** ** Global variables

top N2S

result = N2S(number)

******* *** ** number to string

Parameters

number

top DialTag

DialTag, name, D=D, Si=Si, TAG=TAG, SET=SET, GET=GET

** ******* ** ** Set or get the tag value of named Dial

Parameters

name

Keywords

D
Si
TAG
SET
GET

top DialsFrequency

DialsFrequency, GET=GET, SET=SET, STOP=STOP, START=START, DURATION=DURATION

** ************** ** ** Settings for the main Timer

Keywords

GET
SET
STOP
START
DURATION

top DialNewValue

result = DialNewValue(SETVALUE=SETVALUE, COMMENT=COMMENT, TYPE=TYPE)

******* ************ ** ** Get value of the running dial by calling dial_"generic"_read function

Keywords

SETVALUE
COMMENT
TYPE

top DialModValue

DialModValue, val, NAME=NAME, d=d, tag=tag

** ************ ** ** Used when dial.VALUE changes its type or dimension

Parameters

val

Keywords

NAME
d
tag

top DialStop

DialStop, name, D=D

** ******** ** Stop the Dial

Parameters

name

Keywords

D

top DialStart

DialStart, name, D=D

** ********* ** Start or resume the Dial

Parameters

name

Keywords

D

top DialControl

result = DialControl(command, D=D, CHECK=CHECK, NAME=NAME)

******* *********** ** ** Back control to the instrument

Parameters

command

Keywords

D
CHECK
NAME

top DialClear

DialClear, name, D=D

** ********* ** Remove the Dial

Parameters

name

Keywords

D

top DialMacro

DialMacro, name, D=D, Si=Si

** ********* ** ** Execute the macro of named Dial

Parameters

name

Keywords

D
Si

top DialWSet

DialWSet

** ******** ** ** Select the main draw window

top DialOn

result = DialOn(Dial, D=D)

******* ****** ** ** Check fo a user input

Parameters

Dial

Keywords

D

top DialInit

DialInit, name, D=D, NEW=NEW, PATH=PATH, herits=herits

** ******** ** ** Initiates a Dial from its file

Parameters

name

Keywords

D
NEW
PATH
herits

top WebOn

WebOn, PATH=PATH, PASSWORD=PASSWORD

** ***** ** Web connection

Keywords

PATH
PASSWORD

top WebOff

WebOff

** ****** ** Web connection

top WebDo

WebDo, flg, val, dnum, matx

** ***** ** Web connection

Parameters

flg
val
dnum
matx

top DialMix

DialMix, A, B

** ******* ** Mixe Dial B into Dial A

Parameters

A
B

top DialMessage

DialMessage, flg, str

** *********** ** ** Message output

Parameters

flg
str

top DialNameToNumber

DialNameToNumber, name, FIND=FIND, D=D

** **************** ** ** Given the name of a dial, return its number ** If keyword_set find then return a free number if no name match

Parameters

name

Keywords

FIND
D

top Dialet_event

Dialet_event, event, uv

** ************ ** ** Event handler

Parameters

event
uv

top P_DIA_RETIM

P_DIA_RETIM, id, freq

** *********** ** RE-TIMER

Parameters

id
freq

top P_DIA_WIDGET

P_DIA_WIDGET, flg, id, val

** ************ ** Miscelaneous widget controls

Parameters

flg
id
val

top P_PAD_EVENT

P_PAD_EVENT, event, uv

** *********** ** handle event for the Pad

Parameters

event
uv

top P_PAD_CREATE

P_PAD_CREATE, aque, bido, cque

** ************ ** create the Pad

Parameters

aque
bido
cque

top Dialet

Dialet, MAP=MAP, PAD=PAD

** ****** ** Initiate the User Interface (Visible if map=1) ** ** c_name is a string array containing the Dial names ** c_basd is a baseID array used to keep the timer events & c_current ** c_output is a baseID for message output ** c_input is a baseID for command input ** c_current is the running Dial (saved in c_basd for recurrent calls) ** c_stat, c_freq, c_lim are the onoff,frequency,duration of main timer ** c_timon is a double array containing start time for each dial ** c_seq is the start time for current loop (used in DialNewValue) ** c_base is the main base

Keywords

MAP
PAD

File attributes

Modification date: Tue Oct 1 14:42:48 2013
Lines: 778