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. They are both narrowing conversions. You can either select the method from
Overloads, or cast the int to whichever type you want to use: board.AIn(channel, mode, Int16(output)) Hope this helps Martin From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jeff sacksteder I have a data-acquisition device whose vendor provides a dotnet library
for software integration. The dynamic nature of IP is giving me a bit of a
problem. To record data from the unit, I make a method call like this: |
_______________________________________________ users mailing list users@lists.ironpython.com http://lists.ironpython.com/listinfo.cgi/users-ironpython.com