02-12-2010 11:37 AM
Hi,
I am using an internally developed .net assembly to communicate with some proprietary hardware. I developed an app in LabVIEW 8.6 and Windows XP which worked as expected. When I moved to Windows 7 / LabVIEW 2009 I get a crash whenever an event fires. The dialog that is fired shows "Assertion Failed" and has Abort, Retry, Ignore. Abort closes LabVIEW. I have attached a screenshot of the dialog.
I made a very simple test vi, which registers the event. When then event fires, I still get a crash.
Any ideas? This same concept works in C# with the following code:
using Crestron.ActiveCNX; namespace WindowsFormsApplication4 { public partial class Form1 : Form { public Form1() { InitializeComponent(); ActiveCNX cnx = new ActiveCNX(); cnx.onSerial += new ActiveCNXEventHandler(cnx_onSerial); cnx.Connect("192.168.0.30", 3); } void cnx_onSerial(object sender, ActiveCNXEventArgs e) { MessageBox.Show(e.SerialValue); } } }
Thanks in advance,
John
Solved! Go to Solution.
02-12-2010 02:35 PM
Thanks to shew82 for finding the solution.
http://digital.ni.com/public.nsf/allkb/2AF19EBDFA4AC82D862576B6006E7FE8
Reference to other thread.
http://forums.ni.com/ni/board/message?board.id=170&message.id=474865&jump=true#M474865
02-15-2010 10:37 AM
Hi John,
Thank you for posting the solution to this thread--it will help others who find this forum find their answer.
Cheers,