Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: LAWATCH

Package: Automated Lab Instruments

Routine: LAWATCH


Information

LAWATCH ;DALOI/JMC - WATCH DATA IN ^LA GLOBAL ;12/07/11 12:18

Source Information

Source file <LAWATCH.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA FileMan 3 ^DIC  YN^DICN  ^DIR  
Automated Lab Instruments 1 ^LAHWATCH  
Kernel 1 EN^XQH  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Automated Lab Instruments 1 LA WATCH  

Entry Points

Name Comments DBIA/ICR reference
IN ; Query user for ^LA or ^LAH
START ;
DOWN ;
DATA ;
LA1
LA2 ;
LA3 ;
END ;
QUIT ;
NOTSYS
NOSYS
LA0 ; View down load data for instrument
DONE

External References

Name Field # of Occurrence
^DIC START+3
YN^DICN DOWN+1, DATA+1, LA1+1, END+2
^DIR IN+6
^LAHWATCH IN+9
EN^XQH END+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"THIS ROUTINE WILL ALLOW YOU TO WATCH THE ACCUMULATION",!," OF DATA IN THE ^LA GLOBAL"
  • Line Location: START+1
Function Call: WRITE
  • Prompt: !?7,"Do you wish to See 'Download data' "
  • Line Location: DOWN+1
Function Call: WRITE
  • Prompt: !!?7,"Do you wish to look at 'Upload' data nodes "
  • Line Location: DATA+1
Function Call: WRITE
  • Prompt: !?3,"There isn't any data there! Should I start saving the data"
  • Line Location: LA1+1
Function Call: WRITE
  • Prompt: !,"This will prevent the automatic processing of the data."
  • Line Location: LA1+1
Function Call: WRITE
  • Prompt: !!?10,$C(7),"YOU MUST MANUALLY START THE ( "_$P(^LAB(62.4,LRTSK,0),U,3)_") PROGRAM "
  • Line Location: LA1+2
Function Call: READ
  • Formatting: !?5
  • Prompt: "Begin with what number ? "
  • Variable: I7
  • Timeout: DTIME
  • Line Location: LA2+1
Function Call: WRITE
  • Prompt: $C(7),!?10,I7," DOES NOT EXIST ",!
  • Line Location: LA2+2
Function Call: WRITE
  • Prompt: !!!,LRINST,!," Number of Records: ",$S($D(^LA(LRTSK,LANODE))#2:^(LANODE),1:"??"),?$X+5,"Processed Records: ",$S($D(^LA(LRTSK,LANODE,0))#2:^(0),1:"??")
  • Line Location: LA3+1
Function Call: WRITE
  • Prompt: " Active flag SET."
  • Condition for execution: $D(^LA("LOCK",LRTSK))
  • Line Location: LA3+1
Function Call: READ
  • Formatting: !!?7
  • Prompt: "To stop data display enter '^' ENTER RETURN TO CONTINUE "
  • Variable: X
  • Timeout: DTIME
  • Line Location: LA3+2
Function Call: READ
  • Variable: X
  • Timeout: .01
  • Line Location: LA3+3
Function Call: WRITE
  • Prompt: !,"^LA(",LRTSK,",",LANODE,",",I,")=",^(I)
  • Line Location: LA3+3
Function Call: READ
  • Timeout: DTIME
  • Line Location: LA3+4
Function Call: WRITE
  • Prompt: !,"CLEAR INSTRUMENT ",LRINST," DATE IN ^LA(",LRTSK,") FIRST"
  • Line Location: END+2
Function Call: WRITE
  • Prompt: !!,"You can't start saving data for a interface routine."
  • Line Location: NOTSYS+0
Function Call: WRITE
  • Prompt: !!,"The LAB routine for the instrument isn't running so there",!,"is no need to continue as data will never arrive."
  • Line Location: NOSYS+0
Function Call: READ
  • Formatting: !
  • Prompt: " PRESS RETURN TO CONTINUE "
  • Variable: X
  • Timeout: DTIME
  • Line Location: LA0+1
Function Call: WRITE
  • Prompt: !?7,"There is no down load data "
  • Line Location: LA0+1
Routine Call
  • DIC
  • Line Location:
    • START+3
Routine Call
  • DIR
  • Line Location:
    • IN+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^LAB(62.4 - [#62.4] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LA( LA1LA1+2*, LA2+2, LA3+1, LA3+3, END+2!, LA0+1
^LA("LOCK" LA3+1
^LAB(62.4 - [#62.4] LA1+2

Label References

Name Line Occurrences
END LA3+4, END+3
LA0 DOWN+1
LA1 LA1+1
LA2 LA1LA2+2, LA3+4, LA0+2
NOSYS LA1
NOTSYS LA1
QUIT START+3, DOWN+1, DATA+1, LA1+1, LA1+2, LA3+2, END+1, NOTSYSNOSYS
START IN+8

Naked Globals

Name Field # of Occurrence
^( LA3+1, LA3+3
^("I" LA1+2*
^(0 LA3+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% DOWN+1*, DATA+1*, LA1+1*, END+2*, END+3, END+4, QUIT+1!
DIC START+2~, START+3*, QUIT+1!
DIC(0 START+3*
DIR IN+2~, IN+4!
DIR("A" IN+5*
DIR(0 IN+5*
DIRUT IN+2~, IN+3, IN+7
DTIME LA2+1, LA3+2, LA3+4, LA0+1
DTOUT IN+2~
DUOUT IN+2~
ER QUIT+1!
>> I LA3+3*
I7 LA2+1*, LA2+2*, LA3+3*, QUIT+1!
LANODE DATA+1*, LA2+2, LA3+1, LA3+3, LA3+5, QUIT+1!, LA0+2*
>> LRINST START+3*, LA3+1, END+2
LRTSK START+3*, LA1LA1+2, LA2+2, LA3+1, LA3+3, END+1, END+2, QUIT+1!, LA0+1
T QUIT+1!
U START+1*, LA1+2
X IN+2~, LA3+2*, LA3+3*, LA3+4*, LA0+1*
>> XQH END+3*
Y IN+2~, IN+8, IN+9, START+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All