Data Translation is a Measurement Computing company. Unfortunately, LabView and the DLL don't seem to want to talk to each other. Share this post Link to post Share on other sites rfessler 0 I've come back for more. MattViewX.007 Member 08-10-2007 10:25 AM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator This Vi is running LV 7.1 http://softacoustik.com/labview-error/labview-error-6.php
Yes, the error is occurring in the constructor. in Process Flow.vi Any ideas? All rights reserved. I'll forward your comments to both teams (in Mexico and China) and if they have any questions or comments in response, I will post them here.
It has screen shots that illustrate what he is seeing. (Don't worry - the Word doc is clean. This Microsoft KB discusses the differences and how to install a shared assembly: http://support.microsoft.com/default.aspx?scid=kb;en-us;315682 You can also see the following post which discusses this issue as well: http://forums.ni.com/ni/board/message?board.id=170&message.id=90149&requireLogin=False I hope this What Labview controls would I use then?thanks J See this article to start http://en.wikipedia.org/wiki/Method_(compu...#Static_methods This also applies to static properties In LabVIEW, when you browse the pulldown list of methods or Please Contact NI for all product and support inquiries.
labjunky –labjunky Feb 13 '12 at 3:31 The error occurs with any method that has an input or output that is any type of labview class. Sign in here. the channel for DLL commands is: LabView --> PC --> USB --> RS-232 --> board under test Replies from the board under test are sent back on the same channel: board https://forums.ni.com/t5/LabVIEW/net-error-1172/td-p/2475016 System.ArgumentNullException: Key cannot be null. 00000009 85.75064087  Parameter name: key 00000010 85.75064087  at System.Collections.Hashtable.get_Item(Object key) 00000011 85.75064087  at NationalInstruments.LabVIEW.SyncInvokeTable.LookupControl(Object key) 00000012 85.75064087  at NationalInstruments.LabVIEW.DNRuntime.InvokeMethod(Int32 invokeType, Type type,
That is the driver for the serial-to-USB converter (on the little dongle that is plugged into the USB port). All rights reserved. I could see all the properties, but when I ran the VI, I got Error 1172 (see the attachment) My 2nd idea was to use a Constructor (for the object I Is it a state DLL was written for?
I tried doing some web searching on the error message, and it's all about playing around with the various security settings and demands - running code on a network share is my company How do spaceship-mounted railguns not destroy the ships firing them? I would like to build a labview project into a .net assembly. DLL error picture.doc Share this post Link to post Share on other sites vugie 153 Extremely Active Members 153 388 posts Location:Warsaw, Poland Version:LabVIEW 2009 Since:2006 Posted May 27, 2011
With expertise in the design of high-accuracy, high-quality hardware and application software, Data Translation partners with end users and OEMs to achieve their goals. http://softacoustik.com/labview-error/labview-error-ni-488.php I would recommend to try to test it for instance with a Visual Basic test program, unless the programmer is willing and able to use LabVIEW himself. Everytime I try this I get an error in the build process, error 1172. Data Translation has a worldwide presence, with offices in the US and Europe, and distribution in more than 40 countries.
Are there limited user rights? All rights reserved. You must distributed the data directory with the built application. check over here For more information, please seeLabVIEW 2013 Help: Requirements for Using .NET Assemblies in LabVIEW InLabVIEW 7.x, only information displayed was that a .NET Exception occurred.
The .NET philosophy is that it shouldn't matter where things reside.Rich 0 Kudos Message 1 of 10 (13,302 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying You can use the static methods or properties without first instantiating an object. Can I stop this homebrewed Lucky Coin ability from being exploited?
Sign In Sign Up Browse Back Browse Forums Downloads Gallery Staff Online Users Activity Back Activity All Activity My Activity Streams Unread Content Content I Started Search Skip navigation Analog.com Analog The primary channel of communication from LabView/PC to the test fixture is via good old-fashioned printer port. (We toggle lines high and low on the printer port to send commands to When distributing built applications, make sure the target computer has the .NET Framework installed that corresponds with the called .NET assembly. MattViewX.007 Member 08-08-2007 06:02 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator I am having this exact problem
This is a great forum. We sent the DLL from Mexico to the engineers in China, and every time LabView calls the DLL, we get error 1172. NOTE: I have carved-off sections of code that are specific to my project so the code will look empty in certain sections. this content Labview needs to be run as administrator. 0 Kudos Message 4 of 12 (2,059 Views) Reply 0 Kudos Re: .net error 1172 søren_hallberg… Member 11-15-2013 04:08 PM Options Mark as New
thanks The Rookie Nope, that's what you have to do. Why? The SDP-B (EVAL-SDP-CB1Z) and not the SDP-S is the required controller board for the AD5780 evaluation system. Is there some fundamental reason why I always run into this error?
I'll come back with their replies as soon as I receive them. Now this seems to work with no error.My question is:1) Is there a better way of referencing the dll in my VI other than using a Constructor (...then getting the properties?) Showing results for Search instead for Did you mean: Reply Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark I expect this is because you are using the incorrect SDP board.
I'm working in LV2010. It's easy! When does bugfixing become overkill, if ever? Share this post Link to post Share on other sites Clinto 0 LAVA groupie Members 0 5 posts Version:LabVIEW 2010 Since:2009 Posted May 27, 2011 Hi Rolf - thank you
If execution: Does the constructor run without errors? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed If building an application, make sure to include the assembly in the build. The test fixture was supposed to be released to the electronics manufacturer three weeks ago for testing on a pilot production run.
United States MY ACCOUNT   INNOVATIONS SHOP SUPPORT COMMUNITY Home Community Home : Most Active Software Boards : LabVIEW : .net error 1172 LabVIEW Register for the community · Log in I am starting to look into the MSDN exception handling. Are serial connection parameters on FTDI properties page set to the same values as the device on the other side of serial cable expects? But when the developers in China tried to call the DLL they get the error.
I'll forward your comments to both teams (in Mexico and China) and if they have any questions or comments in response, I will post them here. any ideas?? 0 Kudos Message 5 of 10 (12,611 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying to invoke .NET assembly? Is it legal to bring board games (made of wood) to Australia?