Thanks for your help. I tested the code and it works wonderfully except it is not resetting the filename, just adding to it when it starts again at 8:00AM. Like this:
Procomm_Capture_12-1-04_1-40-41PM.capProcomm_Capture_12-2-04_8-00-38AM.cap
I tried to modify the code to clear the variables...
I think I may have done something wrong. The capture stopped and closed as it should this morning at 8:00AM, but when it started again it would run for a few seconds then stop and create a new file, and so and and so forth until it gave the following error:
"String length limit exceeded."...
Thank you for your help. I made the changes and it compiled with no errors and is now running. I've pasted it below just in case you see something I did wrong. Thanks again.
proc main
string DateString, TimeString, sCap
string CapName ; Name of capture file to open...
The following script (which I was able to put together thanks to this forum) saves the capture data to a file and names the file after the current date and time. I would like to have the script automatically stop and start each day (ie: 8:00am) so it will start a new capture file daily. Any...
Thanks for the sample. I tried it and it didnt put anything on the screen like you said but it also didnt put anything in the capture file. Then I reread your post and noticed you said if I use Rget it will not appear in the capture file either. Is this right?
Thanks for your help! Could you give me a small example of how that would look? I've taken a look at the samples included on the CD and am going to use the 24 hour capture sample to capture my data. I'm not sure where to place the rget statement and where I'd test it for the 24 character...
I think what I'd like to do should be relatively simple but I have been unsuccessful so far. I'd like to capture data from com1 (serial connection) and write it to a text file. I have been successful in doing that. However I'd like it only to capture relevant data. For example, capture only...
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.