473,398 Members | 2,404 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

JBUS and Python which way

Hi,

I'm a newbie without a technical background making some technology
research for a company I work for.

My aim is to have an idea of the alternatives technologies for
accessing
information produced by a machine with a JBUS interface (RS232) and how
to
access this information realtime in Python (connecting a PC locally via
serial
port).

I'm aware of pyserial but I wonder if there is a library/module that
takes care of accessing/interpreting JBUS protocol. I've searched for
this without results.

I also searched the net looking for some information so that I could
have a
birds-eye-view on this subject and got the impression that a
possibility is to
have the communication (JBUS protocol / buffering) managed by some
hardware
component. Is this so? Can some-one give me some pointers/resources on
this
subject. Would it still be possible to work with Python.
Hope this makes any sense.
All help appretiatted.
Txs,
Miguel

Aug 2 '05 #1
2 1650
If you can't find any JBUS/Modbus modules specific for Python it's
possible to use one of the many C/C++ modules available and make a
Python wrapper for it with an interface generator like SWIG or SIP. You
say that you don't have much technical background so you may consider
hiring someone to do it. It's not a big project so it shouldn't be too
expensive.

Oren

Aug 3 '05 #2
[mjekl]
My aim is to have an idea of the alternatives technologies for
accessing information produced by a machine with a JBUS interface
(RS232) and how to access this information realtime in Python
(connecting a PC locally via serial port).

I'm aware of pyserial but I wonder if there is a library/module that
takes care of accessing/interpreting JBUS protocol. I've searched for
this without results.
A possibility you may not have considered is to use a Java library for
Modbus/JBus, and then use jython to control that. The following looks
like a likely candidate.

http://sourceforge.net/projects/jamod/

I imagine that writing your own cpython implementation wouldn't be that
difficult. I did some modbus work in C back in the 90s, and it was
pretty straightforward, but requiring a lot of finicky bit-twiddling.
I'm pretty certain that writing a python implementation would be a snap.
I also searched the net looking for some information so that I could
have a birds-eye-view on this subject and got the impression that a
possibility is to have the communication (JBUS protocol / buffering)
managed by some hardware component. Is this so? Can some-one give me
some pointers/resources on this subject. Would it still be possible
to work with Python.


Well, if you do find some hardware component that manages the JBus
interface, you've then turned your problem into "How to talk between the
PC and the JBus instrument-manager" rather than "How to talk between the
PC and JBus instruments". Depending on the protocol used by the
"instrument-manager", you may be able to use python to control that.

HTH,

--
alan kennedy
------------------------------------------------------
email alan: http://xhaus.com/contact/alan
Aug 3 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Emile van Sebille | last post by:
QOTW: "If we get 2.3.3c1 out in early December, we could release 2.3.3 final before the end of the year, and start 2004 with a 100% bug-free codebase <wink>." -- Tim Peters "cjOr proWe vbCould...
0
by: Emile van Sebille | last post by:
QOTW: "Have you ever used the copy module? I am *not* a beginner, and have used it *once* (and I can't remember what for, either)." -- Michael Hudson "It will likely take a little practice...
0
by: Emile van Sebille | last post by:
QOTW (in the OS agnostic category): "There is a (very popular) Python package out there which exposes the win32 api. I'm not sure what it's called. (win32api? pythonwin? win32all?)" -- Francis...
0
by: Emile van Sebille | last post by:
QOTW (advanced interfaces track): "I'm firmly in favour of any language that can DWIMNWIS." -- Tim Delaney QOTW (MS roadkill track): "Underestimate MS at your own risk. It is one thing to not...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.