jeff sacksteder wrote:
errorlevel = board.AIn(channel,mode,output)
TypeError: no overloads of AIn could match (int, Range, int)
AIn(int, Range, Reference[Int16])
AIn(int, Range, Reference[UInt16])
What are the contents of board.AIn.Overloads? This might give you some idea of
why your
The problem is that the method is called
with int as the last parameter, but the two overloads in question take ref
Int16 and ref UInt16. So the conversion is happening in
the opposite direction and IronPython cannot safely choose between Int16 and
UInt16 given that the input is Int32.
Thanks for the feedback. In CPython, there are actually two
implementations of pickle: one written in Python (pickle) and one
written in C (cPickle). Only the Python version of pickle is available
in beta 9, but we're hoping to include an implementation of cPickle,
which should be quite a bit
On 7/20/06, Bruce Christensen [EMAIL PROTECTED] wrote:
What is the nature of the dict that you're trying to save?
It's a huge dict
{4: [6, 4278, 44657, 30279, 58912, 67939, 18551, 33653, 28303, 6692,
4827, 110144, 18920, 15569, 11571, 77917, 7968, 10137, 14154, 33180,
12544, 54062, 159370,
You should really try executing the ToCodeString result
At 12:49 PM 7/20/2006, JoeSox wrote
On 7/20/06, Bruce Christensen [EMAIL PROTECTED] wrote:
What is the nature of the dict that you're trying to save?
It's a huge dict
{4: [6, 4278, 44657, 30279, 58912, 67939, 18551, 33653, 28303,
On 7/20/06, J. Merrill [EMAIL PROTECTED] wrote:
At 01:05 AM 7/20/2006, JoeSox wrote (in part)
File.WriteAllText(Application.StartupPath + \\mydict.txt,
myDict.ToCodeString());
(This results in a file size of 1,540,096 bytes which was created in about a
second.)
I don't know much about