forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

accessing a serial line, is it possible?

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
franz2014



Joined: 12 Dec 2014
Posts: 4

PostPosted: Mon Dec 29, 2014 1:09 pm    Post subject: accessing a serial line, is it possible? Reply with quote

Is it possible to access a serial line (to communicate with a modem) with Python on OpenVMS?

Francesco
Back to top
View user's profile Send private message
jescab



Joined: 28 Jan 2008
Posts: 252

PostPosted: Mon Dec 29, 2014 5:29 pm    Post subject: Reply with quote

Hi.

A "serial line" can be a few different things.
- A hardware serial ("COMx") port on the server itself.
- A serial port on a terminal server connected in the network.

I have used serial communication over a terminal server from
Python using the builtin telnet module. Works just fine. When
using our (Cobol) applications we first create a TNAnnnn: port
which is then opened from a C-subroutine.

I guess one could simply open a hardware (TTAn:) port
just as one would open a COMn: port on a Windows box,
but that is nothing I have tried. And if so, I guess one can
also open a similar TNAnnnn: device directly from Python.

If you want to run serial/RS232 equipment from VMS, I suggest
that you get something like a used Lantronix ETS8 or similar.
You get 8 ports and access to all RS232 options easily.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group