The LAMP Application

Generated by IDLdoc

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

lamp_mac/

georgeo.pro


Routines

DialCommons

result = N2S(number)

result = finefile(pth, count=count)

result = DialNameToNumber(name, find=find)

DialTag, name, d=d, TAG=TAG, SET=SET, GET=GET

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

result = DialNewValue(tope, NAME=NAME, d=d, SETVALUE=SETVALUE, COMMENT=COMMENT, TYPE=TYPE)

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

DialMix, A, B

DialHistory, name, d=d, ONOFF=ONOFF

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

DialFromD, Dial

DialToD, Dial

DialErrMes

DialWSet, Activity=Activity

DialInit, name, d=d, path=path, restore=restore, new=new, herits=herits, nostart=nostart

SetDuduch, proo, generic, PROX

result = DialOn(dial, d=d)

WebFTP, file, open=open, ifopn=ifopn, check=check

WebFTP_close

dial_webon_macro, D

result = dial_webon()

WebOn, PATH=PATH, PASSWORD=PASSWORD, PASSWD=PASSWD

WebOff

WebMess, val

WebDo, flag, val, dnum, matx

P_GEO_EVENT, ev, uv

P_GEO_TIMER, ev

P_GEO_RETIM, id, freq

P_GEO_STATUS, dnum, way, flgtim

P_GEO_DISPLAY, D, W, totim, error=error, X=X, Y=Y, histo=histo, DNUM=DNUM

result = P_GEO_Ndials()

GEORGEO, init=init, construct=construct, timer=timer, freq=freq, command=command, nowin=nowin, lim=lim, duduch=duduch

Routine details

top DialCommons

DialCommons

** *********** ** set global variables

top N2S

result = N2S(number)

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

Parameters

number

top finefile

result = finefile(pth, count=count)

******* ** Pb MacosX (duplicated!)

Parameters

pth

Keywords

count

top DialNameToNumber

result = DialNameToNumber(name, find=find)

******* **************** ** ** 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

top DialTag

DialTag, name, d=d, TAG=TAG, SET=SET, GET=GET

** ******* ** ** Set or Get the tag value of named dial

Parameters

name

Keywords

d
TAG
SET
GET

top DialsFrequency

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

** ************** ** ** Settings of the Timer

Keywords

GET
SET
STOP
START
DURATION
SENS

top DialNewValue

result = DialNewValue(tope, NAME=NAME, d=d, SETVALUE=SETVALUE, COMMENT=COMMENT, TYPE=TYPE)

******* ************ ** ** Get next value of the named dial by calling dial_"generic"_read interface function ** (called from dial_macros)

Parameters

tope

Keywords

NAME
d
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 DialMix

DialMix, A, B

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

Parameters

A
B

top DialHistory

DialHistory, name, d=d, ONOFF=ONOFF

** *********** ** ** A short for DialTag procedure

Parameters

name

Keywords

d
ONOFF

top DialStop

DialStop, name, d=d

** ******** ** ** A short for DialTag procedure

Parameters

name

Keywords

d

top DialStart

DialStart, name, d=d

** ********* ** ** A short for DialTag procedure

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 named dial

Parameters

name

Keywords

d

top DialMacro

DialMacro, name, d=d, Si=Si

** ********* ** ** Execute the macro of the named dial ** Display the result

Parameters

name

Keywords

d
Si

top DialFromD

DialFromD, Dial

** ********* ** put d in Dial

Parameters

Dial

top DialToD

DialToD, Dial

** ******* ** put Dial in d

Parameters

Dial

top DialErrMes

DialErrMes

** ********** ** send error message to all

top DialWSet

DialWSet, Activity=Activity

** ******** ** call p_geo_display

Keywords

Activity

top DialInit

DialInit, name, d=d, path=path, restore=restore, new=new, herits=herits, nostart=nostart

** ******** ** ** the dial_name.pro file is compiled ** and dial_name function is used to initiate the Dial. ** Check for dial consistency then put it in D'dnum'. ** /restore is used when restore saved session. ** If new is defined then after loaded, give it the name "newed".

Parameters

name

Keywords

d
path
restore
new
herits
nostart

top SetDuduch

SetDuduch, proo, generic, PROX

** ********* ** Georges stuff

Parameters

proo
generic
PROX

top DialOn

result = DialOn(dial, d=d)

******* ****** ** ** Check for a User interrupt

Parameters

dial

Keywords

d

top WebFTP

WebFTP, file, open=open, ifopn=ifopn, check=check

** ****** ** Web stuff connection

Parameters

file

Keywords

open
ifopn
check

top WebFTP_close

WebFTP_close

** ************ ** Web stuff connection

top dial_webon_macro

dial_webon_macro, D

** **************** ** Web stuff connection **

Parameters

D

top dial_webon

result = dial_webon()

******* ********** ** Web stuff connection **

top WebOn

WebOn, PATH=PATH, PASSWORD=PASSWORD, PASSWD=PASSWD

** ***** ** Web stuff connection

Keywords

PATH
PASSWORD
PASSWD

top WebOff

WebOff

** ****** ** Web stuff connection

top WebMess

WebMess, val

** ******* ** Web stuff connection

Parameters

val

top WebDo

WebDo, flag, val, dnum, matx

** ***** ** Web stuff connection

Parameters

flag
val
dnum
matx

top P_GEO_EVENT

P_GEO_EVENT, ev, uv

** *********** ** ** Widget events handler

Parameters

ev
uv

top P_GEO_TIMER

P_GEO_TIMER, ev

** *********** ** ** Timer handler

Parameters

ev

top P_GEO_RETIM

P_GEO_RETIM, id, freq

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

Parameters

id
freq

top P_GEO_STATUS

P_GEO_STATUS, dnum, way, flgtim

** ************ ** ** Display a scheme for the timer process

Parameters

dnum
way
flgtim

top P_GEO_DISPLAY

P_GEO_DISPLAY, D, W, totim, error=error, X=X, Y=Y, histo=histo, DNUM=DNUM

** ************* ** ** Dial display -> D=dial , W=workspace ** Scheme display -> D=dial index, W=frequence, totim= time ** Backgr display -> D=did_win0 , W=big arrow, totim= 0 ** Backgr reset -> D=did_win0 , W=1 , totim= 0 ** Backgr erase -> D=did_win0 , W=0 , totim= 0 ** di xyouts -> D=di , W=winID , totim=-1 ** Dial big name -> D=name , W=dnum , totim=-2 ** c_did info -> D=return [] , W=0 , totim=-3

Parameters

D
W
totim

Keywords

error
X
Y
histo
DNUM

top P_GEO_Ndials

result = P_GEO_Ndials()

******* ************ ** return number of dials (actally 20)

top GEORGEO

GEORGEO, init=init, construct=construct, timer=timer, freq=freq, command=command, nowin=nowin, lim=lim, duduch=duduch

** ******* ** ** Construct the base then initiate george (lamp startup) ** handle a command line for instrument control (from dons)

Keywords

init
construct
timer
freq
command
nowin
lim
duduch

File attributes

Modification date: Tue Oct 1 14:36:01 2013
Lines: 1,906