> It doesn´t work with the following code:
...
> "D:\Python24\Lib\site-packages\win32com\client\makepy.py",
> line 306, in GenerateChildFromTypeLibSpec
> __import__("win32com.gen_py." + dir_name + "." + child)
> ImportError: No module named _Iapplication
That is probably a bug related to tra
> I asked the guy who made the COM object to change the last
> varibale of the struc to a string, but now the message shown
> is " The VARIANT type is not supported for SAFEARRAYS"
>
> Does anyone knows what's wrong?
This means that win32com was asked to create a SAFEARRAY of a type it does
not un
Amit Upadhyay <[EMAIL PROTECTED]> writes:
> Hi,
>
> So here is my problem, I have to implement a com server, that would be used
> by DotNet application, which can not work with late binding (apparently they
> don't have CreateObject of VB). So i am following the approach suggested by
> http://s
LabVIEW has an ActiveX interface. With that you can do nearly everything. The
IMHO greatest thing is, that you don´t have to write (or draw) nothing
additional to access your self written Vis via the ActiveX interface. The only
thing you need is the name of the VI. (see LV doc -> ActiveX)
With
Hi,
>From a COM object (written in c++) I receive a struct:
unsigned shord (2 bytes)
BYTE (6 bytes)
BYTE (512 bytes)
I can use the first two in python, but when I try to acces the last on with
python( i.e. test = struct.longbyte), Python stops doing anything and when I
debug the code in boa con
Hello, I am fairly new to python. I use wx python at work to make
different pieces of engineering code. I am very interested to learn
about how to communicate between python and labView... this discussion
caught my eye (Re: win32com problem with LabVIEW). Could someone give
me an idea of where to
> They are per-file settings, but, if I filled them in for a .py file,
> they would persist only on this machine, but not if the file is
> copied to another Windows box, and are unavailable on the Samba
> server.
Try it with an .mp3 file. I bet it will survive being copied to
another machine. The
Hi Mark,
At 04:09 PM 6/23/2005, Mark Hammond wrote:
These
properties generally work for COM "structured storage" files.
Microsoft Office documents and a number of others use this format, and
the win32com functions allow you to get and set these
properties.
If the files are not these COM
storage
Hi Mark,
It doesn´t work with the following code:
-
import win32com.client
oLv = win32com.client.gencache.EnsureDispatch("LabView.Application")
strVi = "D:\\Projects\\py.lv.test\\pytest.vi"
oViTest = oLv.GetVIReference(strVi,"",True)
obViTest._FlagAsMethod("Call")
bError= T
> I try to talk with Python to a LabVIEW-Application called
> "cbt" via ActiveX.
>
> Now I´m running into problem calling the "Call" method.
>
> Here´s the code:
>
> import win32com.client
> oLv = win32com.client.Dispatch("cbt.Application")
Try either
oLv = win32com.client.gencach
Hi,
So here is my problem, I have to implement a com server, that would be
used by DotNet application, which can not work with late binding
(apparently they don't have CreateObject of VB). So i am following the
approach suggested by
http://starship.python.net/crew/theller/ctypes/sum_sample.html, a
I try to talk with Python to a LabVIEW-Application called "cbt" via ActiveX.
Now I´m running into problem calling the "Call" method.
Here´s the code:
import win32com.client
oLv = win32com.client.Dispatch("cbt.Application")
strVi = oLv.ApplicationDirectory + "\\cbt.exe\\" + "cdcAxLog
12 matches
Mail list logo