Re: [U2] Presentation on Python to UniVerse

2011-12-17 Thread DavidJMurray (mvdbs.com)

No other software is required to make this work - except the intercall
library and python.

But, to help with the python coding, there is ctypesgen -
https://code.google.com/p/ctypesgen/ - which will create a python to intcall
library.

The other files, intcall.h and the *.so files are free from Rocket and
supplied with UV. See the InterCall documentation.

Good luck.

djm 


George Gallen-2 wrote:
 
 We are running UV 10.1 on RHEL.  Do you know if it will interface with
 this level? Is there any other software (licenses) required
 to allow the interface to work?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32995017.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread George Gallen
Wow...Models too, what was she wearing? Now that gives a new twist to Leg-a-see.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of DavidJMurray 
(mvdbs.com)
Sent: Friday, December 16, 2011 2:41 AM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Presentation on Python to UniVerse


Interesting idea.

I did poorly with my smart-art UniVerse Model - couldn't be read
from a distance, well actually not even close up (:

djm
  

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread DavidJMurray (mvdbs.com)

Crikey, you are hitting the holiday spirit(s) early...


George Gallen-2 wrote:
 
 Wow...Models too, what was she wearing? Now that gives a new twist to
 Leg-a-see.
 
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32989244.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread DavidJMurray (mvdbs.com)

ctypes with Python work were ever there is a intcall library file. On
MS-Windows, there is a Uvic32.dll and on Linux a corresponding .so file.

These are used by ctypes to enable Python to communicate with U2.

I have not done any speed tests, but simple record reads are as fast as the
program runs and spits out the data. But, since all the interface software
that Rocket provides uses the RPC - which is a network connection to the
database with some server software doing all the data gathering. So, the
transfer speed will never be as good as a direct access approach to the
database.

I have a library for Python using ctypes and intcall, and will make the next
version available after I complete the unit tests.



George Gallen-2 wrote:
 
 Will it work with linux? Or just windows? 
 
 
 It worked, but it was too slow. It would average 2-3 seconds for a record
 read because of all the layers.
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32989737.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-16 Thread George Gallen
We are running UV 10.1 on RHEL.  Do you know if it will interface with this 
level? Is there any other software (licenses) required
to allow the interface to work?

George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggal...@wyanokegroup.com
ph:856.848.9005 Ext 220
The Wyanoke Group
http://www.wyanokegroup.com

From: u2-users-boun...@listserver.u2ug.org 
[u2-users-boun...@listserver.u2ug.org] On Behalf Of DavidJMurray (mvdbs.com) 
[nab...@mvdbs.com]
Sent: Friday, December 16, 2011 9:14 PM
To: u2-users@listserver.u2ug.org
Subject: Re: [U2] Presentation on Python to UniVerse

ctypes with Python work were ever there is a intcall library file. On
MS-Windows, there is a Uvic32.dll and on Linux a corresponding .so file.

These are used by ctypes to enable Python to communicate with U2.

I have not done any speed tests, but simple record reads are as fast as the
program runs and spits out the data. But, since all the interface software
that Rocket provides uses the RPC - which is a network connection to the
database with some server software doing all the data gathering. So, the
transfer speed will never be as good as a direct access approach to the
database.

I have a library for Python using ctypes and intcall, and will make the next
version available after I complete the unit tests.



George Gallen-2 wrote:

 Will it work with linux? Or just windows?


 It worked, but it was too slow. It would average 2-3 seconds for a record
 read because of all the layers.




-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com
--
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32989737.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread George Gallen
Are you considering posting a white paper on the presentation? And/or with 
slides?

I'd be interested in seeing it, but it's a little far for a roadtrip and still 
be in the next day.

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of DavidJMurray 
(mvdbs.com)
Sent: Thursday, December 15, 2011 1:51 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Presentation on Python to UniVerse


In case anyone is interested, I am doing a presentation to the local Python
Users Group - Northern VA, USA - on using ctypes in Python to access
UniVerse.

It's tonight.

See: http://nova-python.dcpython.org/events/39802302/

Cheers,

djm


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32983185.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread Charles_Shaffer
I would be interested also.

Are you considering posting a white paper on the presentation? And/or 
with slides?
I'd be interested in seeing it, but it's a little far for a roadtrip and 
still be in the next day.

In case anyone is interested, I am doing a presentation to the local 
Python
Users Group - Northern VA, USA - on using ctypes in Python to access
UniVerse.

It's tonight.

Charles Shaffer
Senior Analyst
NTN-Bower Corporation
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread Wjhonson
Ooooh you called it legacy







-Original Message-
From: DavidJMurray (mvdbs.com) nab...@mvdbs.com
To: u2-users u2-users@listserver.u2ug.org
Sent: Thu, Dec 15, 2011 10:51 am
Subject: [U2] Presentation on Python to UniVerse



n case anyone is interested, I am doing a presentation to the local Python
sers Group - Northern VA, USA - on using ctypes in Python to access
niVerse.
It's tonight.
See: http://nova-python.dcpython.org/events/39802302/
Cheers,
djm


Learn and Do
xcel and Share

ttp://mvdbs.com http://mvdbs.com 
- 
iew this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32983185.html
ent from the U2 - Users mailing list archive at Nabble.com.
___
2-Users mailing list
2-us...@listserver.u2ug.org
ttp://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread George Gallen
Will it work with linux? Or just windows? 

I was playing around the other month with making java package of classes to 
interface to a webservice using perl linked to a UV phantom for working with UV 
files / read /writes that also including record locking. The java was for 
remote client machines.

It worked, but it was too slow. It would average 2-3 seconds for a record read 
because of all the layers.

George

-Original Message-
From: u2-users-boun...@listserver.u2ug.org 
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of DavidJMurray 
(mvdbs.com)
Sent: Thursday, December 15, 2011 1:51 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Presentation on Python to UniVerse


In case anyone is interested, I am doing a presentation to the local Python
Users Group - Northern VA, USA - on using ctypes in Python to access
UniVerse.

It's tonight.

See: http://nova-python.dcpython.org/events/39802302/

Cheers,

djm


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32983185.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] Presentation on Python to UniVerse

2011-12-15 Thread DavidJMurray (mvdbs.com)

Interesting idea.

From the comments from the audience and the experience, I will probably 
make some changes to the ppt and then in the new year stick it on my blog
with notes. I did poorly with my smart-art UniVerse Model - couldn't be read
from a distance, well actually not even close up (:

As I am not a VAR, just a consultant/developer/contractor who has to program
in the U2 environment. I consider it a legacy programming toolchain. Lets
just leave it at that, as I'm not interested in another  flame war. This
point of view has been beaten to death numerous times this year. It's now
too close to Christmas for another one.

Happy Merry New Christmas Year to all.

djm
  


Charles_Shaffer wrote:
 
 
Are you considering posting a white paper on the presentation? And/or 
 with slides?
 
 


-

Learn and Do
Excel and Share


http://mvdbs.com http://mvdbs.com 
-- 
View this message in context: 
http://old.nabble.com/Presentation-on-Python-to-UniVerse-tp32983185p32985833.html
Sent from the U2 - Users mailing list archive at Nabble.com.

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users