Why am I getting Error 1172 when trying to invoke .NET assembly? But what I don't understand is why the file can't be found (Le fichier spécifié est introuvable) since all the .DLLs that are needed are in the same directory. All Rights Reserved © 2016 Jive Software | Powered by Jive SoftwareHome | Top of page | HelpJive Software Version: 2016.3.3.0, revision: 20161114103527.8baa852.release_2016.3.3 United States MY ACCOUNT   INNOVATIONS SHOP SUPPORT 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, this content
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 Jump to content LabVIEW Other than what Nathan suggested, you can also ask the .NET dev to add logging to the constructor and the CreateUN8 method and add your own logging to the code (try I have attached a image of the newly modified VI which includes a diagram disable that illustrates the "Constructor Node 1" VI. What is the inner cover of the winter shoes called in English?
I made a new project, with one new class inside. I attached a Word document that I received from the engineer in China that describes the problem. 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. You'll always destroy the notifier after the first while loop iteration, which means the second iteration will always return an error, so why have the while loop?
Unless you're trying to access static methods or properties, you have to instantiate the object with the constructor node before any object exists that has any methods or properties. That test passed at the development site in Mexico. PJM 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 28, 2011 Not exactly what you What Labview controls would I use then?
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 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 Just buy one of the various USB to RS232 converter (I personally use Keyspan) then use VISA from LabVIEW to communicate (over RS232) with the DUT. ADDQ VIPM"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones." 1 Kudo Message 5 of 7 (1,269 Views)
So the first question to me would be, how was this DLL even tested? But I think it looks messy. delete the numbers uniq -c created Method to replace inefficient building of lists using searchcursor Expression must be a list type: Set
Why? https://lavag.org/topic/9706-using-net-and-getting-error-1172/ Was Harry's concern about Fleur's sister Gabrielle misplaced? in Process Flow.vi Any ideas? Thanks, PC1 vs PC2.JPG 75 KB 0 Kudos Message 4 of 5 (644 Views) Reply 0 Kudos Re: Error Code 1172 Constructor Node Mojito Member 10-30-2014 09:49 AM Options Mark as
Neither of these functions throw that type of exception. http://ascadys.net/labview-error/labview-error-code-3.html That function worked fine and didn't throw any errors. I am completely stumped as to why this is happening. Or sign in with one of these services Sign in with Facebook Sign in with Twitter Sign in with LinkedIn Sign Up All Content All Content This Topic This Forum Advanced The Vi works great on my computer but once I moved it to the network it no longer works.
A software engineer in Mexico wrote a DLL in C# that LabView calls, then the DLL sends commands to perform some of the tests. Richard2950 Member 10-14-2004 09:53 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator Thank you, Philip. I have referenced the .dll but when I try to increase assembly trust it says "Unable to load assembly" .... http://ascadys.net/labview-error/labview-error-1172.html Tst, I have added the logging on the LabVIEW side with the"+.NET Error Info" VI.
LabVIEW Register for the community · Log in · Help CommunityCategoryBoardDocumentsUsers turn on suggestions Auto-suggest helps you quickly narrow down your search 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?) or am I doing this correctly All rights reserved.
Sign In Now Sign in to follow this Followers 1 Go To Topic Listing Calling External Code All Activity Home Software & Hardware Discussions LabVIEW (By Category) Calling External Code .NET LabVIEW Application Builder should automatically save assemblies that are not registered in the GAC to the data subdirectory. Brian Tylerhttp://detritus.blogs.com/lycangeek 0 Kudos Message 9 of 10 (12,730 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying to invoke .NET assembly? Maybe you've already checked that, but that's not where you put the arrow so I wanted to confirm.
Do any of you have other suggestions to avoid getting Error 1172? All rights reserved. | United States MY ACCOUNT   INNOVATIONS SHOP SUPPORT COMMUNITY Home Community Home : Discussion Forums : Most Active Software Boards : LabVIEW : Why am I getting It's easy! check my blog What's going on inside the constructor? 2 Kudos Message 2 of 7 (1,304 Views) Reply 2 Kudos Re: "Error Code 1172" .NET Invoke Node returns null after 20+ hours tst Knight
The typical message you will see is similar to: 1172, kLVE_DotNetException, A .NET exception occurred.
In LabVIEW 8.0, more information was added to the Now I get the error 1172. Lycangeek Active Participant 08-09-2007 12:33 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator And also check outhttp://detritus.blogs.com/lycangeek/2005/05/network_paths_a.html Brian This fixed Error 1172 for me.
The C# programmer tested the DLL pretty thoroughly, including downloading LabView 2011 and making sure LabView could call the DLL. I'm a product development manager in California. Lastly, when using the constructor node, if you change the selected file by one of the same name (example:Me comparing all the ILAS.Headless.dlls I had) LabVIEW does not update the functions What could make this crash after 20+ Hours?
Error 1172 Exception has been thrown by the target of an invocation. >> Request for the permission of type 'System.Net.WebPermission, System, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Please tell us why. Added union code group with "-url" membership condition to the Machine level.Success I was hoping the VI would now work correctly but I am still receiving the same error! If they are on my local hard drive there is no problem.
I have also created a VI that runs this command with a loop rate of 30 mS Currently, I have made a new EXE with the aforementioned changes