Hi Everyone,
I wanted to know if there's a way to access the values of an array from different scripts. I know only the predefined global variables I0-I9, S0-S9 and L0-L9 can be passed between scripts or be seen by all scripts. I want that functionality with an array. Is this possible...
Hi Everyone,
I'm new to this forum. I'm just starting to use Perl and I know how to read a line from a file and that it gets stored in "$_". I also know how to search for a string within $_. What I can't figure out is when that string is found, how do I get (or print) just that...
Hi Again,
I was wondering how to turn local echo on during transmit commands. It was on before but then I changed duplex half to duplex full and all of a sudden, it stopped echoing on the local terminal. Is that what did it or was it something else? How do I change it back? Thanks for...
Hi Again,
I was wondering how to automate the change of character and line delays when sending ASCII data. I know to do it manually, it's in the Options -> Modem Options -> Data -> Transfer Protocol Menu and when you change the "Current Transfer Protocol" to ASCII, there are...
Hi Again,
I was wondering how to set a default baudrate. It would be great to set it using automation but when I try "set port baudrate BRATE" where BRATE is anything other than 115200, I get an error message at the bottom of ProComm saying "Unable to set communication...
Hi Again,
I'm not having problems opening a new window or running a script in that window. However, I'm trying to change the paths of that window dynamically from my window. I can change the paths in my own window with commands like
"set capture path ..." or "set dnldpath...
Hi Again,
I wanted to know when you open another ProComm window using DDEInit, can you also set that terminal's paths using "set upldpath" or "set capture filename"? If so, is there a DDE command that does this? Thanks for all of the help all of you have provided and...
Hi Again,
It's Abdul. I was wondering how to open and close capture files automatically. I'm using
"set capture autostart" which starts the capture as soon as ProComm connects to the port and stops the capture when ProComm disconnects from the port. I would like to have more...
Hi Again,
It's me, Abdul. I want to thank all of the helpful people out there who have made my job easier. I have another question. I wanted to know how to open a folder and then read one file at a time, do something with that file, then do the same thing with the rest of the files. For...
Hey Everyone,
I was wondering if ProComm goes up to 921 K. Currently, it seems to only go up to 115200 Baud Rate.
If it does go higher, can I just do it in the setup in the set port baudrate command?
Hi Again,
This is Abdul again. I'm opening a remote window and I want it to close down once the file transfer is complete. Currently, I'm using:
ddeexecute window2 "PWEXIT"
ddeterminate window2
where window2 came from ddeinit. I know it has the proper value because I use it to...
Hey Guys and Gals,
This is Abdul again. I want to again thank those of you who have helped. This is kind of a repost because I'm still having trouble executing multiple scripts. This time, I'm including my code in hopes that it will clarify the situation and assist in any help you can...
Hey Everyone,
I am using a script to dynamically open a new window and run a script in that window. Is it possible for me to run more than 1 script in that remote window? ProComm seems to completely skip over the execution of the second script in the remote window. (The execution of the...
I know there's a variable called timeval which stores the system time. The problem is that I can't store that value in another variable using an assignment. Is there a different way? I'm defining a long called StartTime. Then I assign StartTime = timeval, but the compiler doesn't recognize...
Is there a command in ProComm that returns the size of the file specified? This can be useful in calculating throughput. Or is there an easier way to do this calculation using perhaps internal registers that may already perform this task?
Hi Again,
This is Abdul. I want to thank those of you who have helped me. I really appreciate it. I do have another question.
My understanding of Sendfile is that it simply starts the file transfer without the receiving device calling Getfile. I want to be able to control the...
Hi,
This is Abdul again. Thanks for those of you who have already helped me. I have another question. Is it possible to wait for the next string that shows up and store it into a variable for parsing purposes?
For example: Let's say the terminal will respond with the device's name. So...
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.