Just found it. One minor change.
if strfind sLine "RDTx]: "
strtok s1 sLine "Node " 1
strtok sNode sLine "RDTx]: " 1
endif
Thanks again for catching my goofups. By the way, how do you do the code insert? I'll post the final when it is...
I changed the sType to sLine as you suggested earlier and also found that I ran into the redundant instances of "POTS". So, I had already changed that to "POTS-" as you have mentioned and it is working better now. I also tried adding the if statement as you said and it doesn't work. I do a...
Great catch kodr. The only thing left is to figure out how to grab sNode. Any ideas? I am back working on this again and will post if I find a solution.
Here a small snippet...As I mentioned, I need to grab the node, hold on to that and use it for all my POTS records and then when a new node shows up, begin using that one.
Retrieve Circuit Settings...
Circuit Type[ 1 - POTS,
2 - DDS...
Gents,
This one seems to be giving me some trouble and I was wondering if anyone could give me a hand. I wrote a different script than the one below that goes into a system and gathers all kinds of specific data on a lot of different items. After I have gathered that data, I want to go back...
Ya, that is why I thought it couldn't be done because I read the same thing in the good old purple book. However, I created a workaround and it works:
ftoa TelPassword TelPassFinal
strfmt UserNameStr "**********^M"
strfmt PassWordStr "%5.5s^M" TelPassFinal
Well, I'm not sure this can be done, but I'll throw it out there and see what you guys think. I have a float value that is something like 58483.97. I format it as follows %5.0f. However, when I do this, it rounds up to 58484. I don't want this to happen. I need it to clip the two digits after...
Here's the final. I didn't bother doing any real checking to see if they are logged in already because if they are logged in, they don't really need the script.
;***************************************************************
;* *
;* PROCEDURE Main *
;*...
Ok, I finally got it to grab the date/time string:
while done == 0
transmit "^[" ; escape back to the beginnig
comread InputStr 50 1
termmsg InputStr
if strfind InputStr "Logon"
transmit "^T^M"
InputStr = ""...
No worries on the time. I just appreciate the help. So far, I have tried termgets, comread, and a couple of other things and I can't seem to read the date in. I have been using the usermsg to see what I am getting. I can get it to read the word Logon, but that's it. I think if I can read the...
Hello Knob,
Thank you for your assistance so far. I started on that same path, so it looks like we were thinking about the same approach. If you don't mind, I kind of need to switch gears a bit as I can't seem to get termreads working properly. When the user logs in, the program will need to...
Can anyone tell me what the IDs are for the pwmenu items? I would like to disable the start/stop script button until I finish running my script so that the user cannot kill the script inadverdently.
Thank you!
Hey Knob,
I gave this a run and it doesn't seem to work that well. However, I was able to get it to work in a few areas with a little tweaking. Thank you very much for the help!!
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.