hexagon logo

Datapage+ using with looped programs

Help! I have just been updated to Data Page + 2012 and have been trying to send data from PCDmis to data page. I have a loop in my program to if I only run the program through on one part it works fine. but if I run the loop with many parts I wil get several data transaction. EXAMPLE: So if i run 1 I get one transaction if it loops to pc 2 I get 1 & 2 and when I loop to a 3rd pc it send 1, 2 & 3 so I end up with 6 transactions with only 3 parts checked. This is the string text I have at the end of my program. prior to GOTO/L1
EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PROGRAM FILES (X86)\WAI\DATAPAGE+ 2012\DATAPAGESTATS.EXE -Listening
If I move the string text to out side the loop in the begining I get nothing but the first part ran.
~OLD DATA PAGE~
I am use to having data page
with this txt inside my loop
STATS/ON,DATAPAGE,$
DIRECTORY=C:\DATAPAGE\DATA,$
DIRECTORY=,$
READ=10,WRITE=20,MEMPAGES=64,FEATURE NAME,CONTROLCALC OFF,$
STATS/END

and at the end of program
STATS/UPDATE
GOTO/L1
How can I make Datapage + work for me with a loop?
Parents
  • You need the second part of the external command found below. Below is my description of the process for single program part running...


    This is what is needed at the beginning of your program to get Datapage + to begin sending stats to your database...



    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PROGRAM FILES (X86)\WAI\DATAPAGE+ 2012\DATAPAGESTATS.EXE -listening




    This code will go at the end of your program...



    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PROGRAM FILES (X86)\WAI\DATAPAGE+ 2012\DATAPAGESTATS.EXE -end




    Sent from my Samsung Galaxy Note 2
Reply
  • You need the second part of the external command found below. Below is my description of the process for single program part running...


    This is what is needed at the beginning of your program to get Datapage + to begin sending stats to your database...



    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PROGRAM FILES (X86)\WAI\DATAPAGE+ 2012\DATAPAGESTATS.EXE -listening




    This code will go at the end of your program...



    EXTERNALCOMMAND/NO_DISPLAY, NO_WAIT ; C:\PROGRAM FILES (X86)\WAI\DATAPAGE+ 2012\DATAPAGESTATS.EXE -end




    Sent from my Samsung Galaxy Note 2
Children
No Data