> P.S.: Gabriel, yes, I have put Sleep(1) now, even
> though it
> worked without the parenthesis too, even thought it
> shouldn't,
> right?
Well, it "worked" in the sense that it gave no errors
because time.sleep is a valid Python expression, but
it has not the desired effect.
It's a common pitfal
Tim,
yes, I had tried all these weird ideas already ;-)
Same exception error. As I just wrote in my first
reply, the problem seems that the variant argument
that should contain the path+filename is a VT_ERROR,
whatever that means.
I don't have too much experience so far with PythonWin.
I just use
Mark et al.,
> Python will *always* (unless an object's typelib indicated otherwise) pass
> a VT_BSTR when a string literal is specified. I'm afraid I can't
> speculate on what the problem may otherwise be.
As additional information to our problem I want to mention
that other methods which need
Hi, Mark
Thank you very much.
Now my python server works perfectly by adding
signal handler to intercept CTRL_LOGOFF_EVENT.
Best regards.
Michael Li
Michael Li wrote:
> Hi, Mark
>
> Thank you very much.
> I will try it.
>
> Best regards.
> Michael Li
>
> Mark Hammond wrote:
>
>> Your proce
Some remarks (altough not directly related to your
current problem):
> >while CCDCamera.ImageReady == False:
> > time.sleep
Should be time.sleep(1) or something. Remember that in
Python you always need to use () to call a function.
>if CCDCamera.LinkEnabled == False:
It's not a good idea to
On Thu, 13 Apr 2006 23:21:26 +0200, "Aleksandar Cikota" <[EMAIL PROTECTED]>
wrote:
>I'm beginner in Python and need help. I'm writing software for a robotic
>telescope. For CCD camera control we use MaxIm DL (Diffraction Limited). I
>have a problem with CCDCamera.SaveImage.
>
>Here is the code (