Re: [Tutor] ctype exceptions.ValueError for function call

2011-12-15 Thread Albert-Jan Roskam
? ~~ > >From: Alan Gauld >To: tutor@python.org >Sent: Thursday, December 15, 2011 12:11 AM >Subject: Re: [Tutor] ctype exceptions.ValueError for function call > >On 14/12/11 2

Re: [Tutor] ctype exceptions.ValueError for function call

2011-12-14 Thread Alan Gauld
On 14/12/11 21:15, Santhirakumaran, Gokul wrote: Hi, I’m trying to use a SDK(dll file) with python ctypes to take measurement from a spectrometer. This list is for people learning the Python language. ctypes is a little advanced for most readers. You are more likely to get help on the ctypes m

[Tutor] ctype exceptions.ValueError for function call

2011-12-14 Thread Santhirakumaran, Gokul
Hi, I'm trying to use a SDK(dll file) with python ctypes to take measurement from a spectrometer. I some how got the deceive connected and took the measurement , but when I try to call one of its calculation function I'm getting the "exceptions.ValueError: Procedure probably called with not en