Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: aaiqbal
  • Content: Threads
  • Order by date
  1. aaiqbal

    Global Arrays for Passing Between Scripts

    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...
  2. aaiqbal

    Parse Line to capture desired string

    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...
  3. aaiqbal

    Turn Local Echo On

    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...
  4. aaiqbal

    Character and Line Delays

    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...
  5. aaiqbal

    Set Default Baudrate

    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...
  6. aaiqbal

    #DEFINE an array

    Hi, I was wondering if it's possible to #Define an array and its' elements. If so, what is the syntax. An example would be great. Thanks.
  7. aaiqbal

    Remote Terminal Paths

    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...
  8. aaiqbal

    Setting Paths for Remote Terminal

    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...
  9. aaiqbal

    Capturing CRC Errors

    Hi, I was wondering if there's a variable or a way to capture the number of CRC errors during a file transfer. Any help would be appreciated. Thanks.
  10. aaiqbal

    Opening and Closing Capture Files

    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...
  11. aaiqbal

    Read Files From Specified Directory

    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...
  12. aaiqbal

    Does ProComm go up to 921K?

    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?
  13. aaiqbal

    How do I close down a remote window?

    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...
  14. aaiqbal

    Cannot use DDEEXECUTE to run multiple scripts!?!

    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...
  15. aaiqbal

    Multiple Scripts using DDEEXECUTE

    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...
  16. aaiqbal

    How do I get Timeval?

    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...
  17. aaiqbal

    Dynamic File Size Calculation

    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?
  18. aaiqbal

    Sendfile and Getfile

    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...
  19. aaiqbal

    Waitfor string, Store into variable

    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...
  20. aaiqbal

    Passing Functions as Parameters

    How do I pass a function as a parameter? Also, does main accept parameters?

Part and Inventory Search

Back
Top