Here is a sample of the aspect script that I am using to Capture a file at the specific time.
proc main
integer iYear, iMonth, iDay, iHour, iMin, iSec
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour >= 16
if iMin >= 30
capture on
exitwhile
endif
endif
endwhile
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour >= 06
if iMin >= 00
capture off
endif
endif
endwhile
endproc
As you can see this script starts at 4:30 p.m and is suppose to grab everything till 6:00 a.m . But for some weird reason the file that it makes grabs only the first 10 or 12 lines of data and then closes. Any clue why? I am using the defualt file names assigned by Prcomm Plus 4.8
Thanks a Lot.
proc main
integer iYear, iMonth, iDay, iHour, iMin, iSec
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour >= 16
if iMin >= 30
capture on
exitwhile
endif
endif
endwhile
while 1
ltimeints $LTIME iYear iMonth iDay iHour iMin iSec
if iHour >= 06
if iMin >= 00
capture off
endif
endif
endwhile
endproc
As you can see this script starts at 4:30 p.m and is suppose to grab everything till 6:00 a.m . But for some weird reason the file that it makes grabs only the first 10 or 12 lines of data and then closes. Any clue why? I am using the defualt file names assigned by Prcomm Plus 4.8
Thanks a Lot.