Need some help on how to update a file that would hold stats
like created date, last date ran, number of times ran etc.
In most of my trials I write to the wrong line or the line does not update. Anyone care to enlightn' me on a proper way to do this. It would be a structured file that all line...
best way to read this string 2,4, or 6 bytes at a time with the flexability to start at any given point in the string.
0000004049107B9000000B90000001F009502 *................*
any ideas greatly appreciated.
I guess I could not use Aspect but I found out I could you the MSDOS 'Sort.exe'. It works ok but after reading about it's issues, I found another called rpsort which I'm working with now. For your review(if you want)from the script. Any better ideas are welcome.
string...
Is there a way to sort large capture files with aspect?(100,000 or more lines)
ie.
6109998888 : misc data
6099988172 : misc data
5119997777 : misc data
6099998172 : misc data
5129990000 : misc data
etc
Sorted by the 10 digit number.
Found the solution. Thanks to Knob and the files he provides. The file is emulate4.was. I modified it a little
but the idea was there. Also it was another example in the aspect help under comgetc. Thanks.
proc Main
integer Data1
set aspect RXDATA ON
while 1...
What I'm trying to do is this, eliminate all human intervention. I am monitoring the boot process of a machine and timing is critical. The script must wait until data is received so adjustments can be made. If use pause 30,(or really anything)I can miss things like this.
when target 0...
I have the need my script wait until data is recieved before it proceeds. I have tried this
while 1
while $RXDATA (and !$RXDATA)
comread DataVal
when dataval call EXIT_LOOP
if iEXIT==1
exitwhile
endif
endwhile
set aspect RXDATA OFF...
I hope this is what you need...
Please select from the following:
B Boot the System
^DB Boot the System (clear autoboot, set SRAM=0xFF)
^DD Run Diagnostics Interactively
Selection->
ENTER BOOT COMMAND:
B - Goes thru test start up process again
^DB - clears the last boot...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.