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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mimic aspect script in another language

Status
Not open for further replies.

dhazer

Programmer
Oct 20, 2006
48
in a previous thread: thread448-1220904

the user "demohr" talked about translating an aspect script into C#. Does anyone know how this would be accomplished, even with another language? Are there any good resources online? I couldn't find any.

 
Basically you are going to have to map an ASPECT command into its equivalent command(s) in the other language. It's possible as I've done it when I moved an ASPECT script to another communications application a few years back, but there is usually no shortcut or utility that can be employed.

 
Knob,

What language did you use? Or possibly what application did you convert it for?

This is also a good time for me to ask: are there any alternatvies to Procomm Plus or programming/scripting languages meant for interacting with similar com port app's?

Thanks in advance.
 
I was to Hummingbird's Reflections I believe, has been a few years back. I thought their scripting language was less intuitive than ASPECT myself. I'm not really sure what is still out in the marketplace that has a scripting languare. I think the data portion of WinFax that Symantec bought was put to pasture due to them having Procomm at the time.

 
With enough effort, almost any of the more well established languages support data communications.

I've written telnet clients in C++, VB, and Java without too much difficulty (and if I can do it, anyone can.)

 
Thanks for the info.!

I evaluated securecrt. I like the simpler interface for initial settings it has. However, I did have a problem with the screen refreshes, and navigating through the menu system under telnet was impossible (it's like securecrt wasn't sending the characters that I typed, and where password were typed it showed plain text). I tried various session settings to stop the problems mentioned before, but I couldn't get it to work the way that procomm does once it's configured for a certain connection directory setting.


Also another question regarding kodr's post: How complex or involved do the scripts/programs written in another language become in order to perform a relatively simple task that an aspect script could accomplish? Would someone be willing to post a script that they did or a fragment of a script? I'd prefer to see something in Java, but anything would be great!
 
What are you looking to do, specifically?
 
What I'm trying to do is have a linux server be connected up to a serial cable that Procomm was hooked up to in order to execute certain tasks on demand. The tasks are pretty much what I have been doing with Aspects scripts.

This developed out of a need to have the script that's controlling the com port be able to talk directly with the applications server.

At this point in time I thought seeing some examples of other tasks/projects would help by example, because I know there are not ready-made solutions. Also, I'm dealing with Wyse 50 emulation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top