[Ironpython-users] IronPython, Daily Digest 10/16/2013

CodePlex no_reply at codeplex.com
Thu Oct 17 09:20:26 CEST 2013


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] Ipy Crash...Please help

----------------------------------------------

ISSUES

1. [New issue] Ipy Crash...Please help
http://ironpython.codeplex.com/workitem/34567
User alabview has proposed the issue:

"Hi there,

I am new to Python scripting language. I hope you all can help me. 

I am running a python script in IronPython for a few times continuously with different variable but with same DLL and it reported as CRASH. There is no issue if I run once. But, it never happen on Python 2.7 and 3.3. Please help me...


I have attached the screenshot and Python code for your reference.

Python Code,

from ctypes import *
from sys import exit
CLOSEDLOOP="CLOSEDLOOP{SOURCE|VOLTAGE|CH2|0.5|0|10|1000}"
CLOSEDLOOPSTATUS=""
INPUT2=c_char_p(CLOSEDLOOP.encode())
OUTPUT2=c_char_p(CLOSEDLOOPSTATUS.encode())
Y2 = c_int(100)
Ypoint2 = pointer(Y2)
CallDLL2 = cdll.LoadLibrary("C:\INSTRDLL\RAMP.dll")
Output2 = CallDLL2.LINEARRAMP
Output2.argtype = [c_char_p,c_char_p,c_int]
Output2(INPUT2,OUTPUT2,Ypoint2)
CLOSEDLOOPERRSTATUS = OUTPUT2.value.decode("utf-8")
print(CLOSEDLOOPERRSTATUS)
from ctypes import *
from sys import exit
CLOSEDLOOP="CLOSEDLOOP{SOURCE|VOLTAGE|CH2|0.5|0|10|1000}"
CLOSEDLOOPSTATUS=""
INPUT2=c_char_p(CLOSEDLOOP.encode())
OUTPUT2=c_char_p(CLOSEDLOOPSTATUS.encode())
Y2 = c_int(100)
Ypoint2 = pointer(Y2)
CallDLL2 = cdll.LoadLibrary("C:\INSTRDLL\RAMP.dll")
Output2 = CallDLL2.LINEARRAMP
Output2.argtype = [c_char_p,c_char_p,c_int]
Output2(INPUT2,OUTPUT2,Ypoint2)
CLOSEDLOOPERRSTATUS = OUTPUT2.value.decode("utf-8")
print(CLOSEDLOOPERRSTATUS)
from ctypes import *
from sys import exit
CLOSEDLOOP="CLOSEDLOOP{SOURCE|VOLTAGE|CH2|0.5|0|10|1000}"
CLOSEDLOOPSTATUS=""
INPUT2=c_char_p(CLOSEDLOOP.encode())
OUTPUT2=c_char_p(CLOSEDLOOPSTATUS.encode())
Y2 = c_int(100)
Ypoint2 = pointer(Y2)
CallDLL2 = cdll.LoadLibrary("C:\INSTRDLL\RAMP.dll")
Output2 = CallDLL2.LINEARRAMP
Output2.argtype = [c_char_p,c_char_p,c_int]
Output2(INPUT2,OUTPUT2,Ypoint2)
CLOSEDLOOPERRSTATUS = OUTPUT2.value.decode("utf-8")
print(CLOSEDLOOPERRSTATUS)




Walter."
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20131017/742ecd55/attachment.html>


More information about the Ironpython-users mailing list