Pointing to the appropriate version of .NET (4.0.30319) If i point it to v4.5.50709 it fails asks me to install it (it is in the program manager). 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. Please feel free to post a CAR number here and update us once you know more about how/when this will be resolved. 0 Kudos Message 4 of 9 (3,133 Views) Reply I will update this thread with what I find out! 0 Kudos Message 8 of 9 (3,111 Views) Reply 0 Kudos Re: .NET Control Error 1172 - Only in executable rfessler http://robertwindows.com/labview-error/labview-error-1172-net.html
Is there a trick to dodging? Neither of these functions throw that type of exception. 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 Can you send that out to China and see what error log it produces (if any).
I would still encourage the original poster to contact their NI representative in the hope that this improves the usbaility of this feature over time. asked 4 years ago viewed 910 times Blog How Do Software Developers in New York, San Francisco, London and Bangalore… Related 2What causes the ProcessorArchitecture to lock to x86 or MSIL?1.NET Generated Wed, 30 Nov 2016 23:41:16 GMT by s_hp84 (squid/3.5.20)
For more information about error handling, please seeHandling Errors in NI LabVIEW. Solved! Share this post Link to post Share on other sites Create an account or sign in to comment You need to be a member in order to leave a comment Create I'll come back with their replies as soon as I receive them.
All rights reserved. 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 problem you have (as Rolf is saying) is you have a black-box that is't happy and no way to tell why it isn't happy (Labview can only tell you it this I would say that this probably falls under the category of "bug", simply on the basis of the unusual error you reported that indirecftly indicates the issue.
Neither of these functions throw that type of exception. I ended up solving the problem! Join them; it only takes a minute: Sign up Labview 2011 used to Build .net assembly, error 1172 up vote 0 down vote favorite I am using labview 2011. It's easy!
Showing results for Search instead for Did you mean: Reply Topic Options Start Document Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the AError 1172 is a generic LabVIEW error indicating there was an error thrown during a .NET assembly call. The SDP-B (EVAL-SDP-CB1Z) and not the SDP-S is the required controller board for the AD5780 evaluation system. Can anyone help?
Shared assemblies are placed in the Global Assembly Cache. this contact form 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 current community chat Stack Overflow Meta Stack Overflow System.ArgumentNullException: Key cannot be null. 00000015 114.37963104  Parameter name: key 00000016 114.37963104  at System.Collections.Hashtable.get_Item(Object key) 00000017 114.37963104  at NationalInstruments.LabVIEW.SyncInvokeTable.LookupControl(Object key) 00000018 114.37963104  at NationalInstruments.LabVIEW.DNRuntime.InvokeMethod(Int32 invokeType, Type type, 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
Have a great day. Was the assembly tested on a windows box with a Chinese or Japanese localisation? I have opened it and viewed it and scanned it for anything malicious. have a peek here When distributing built applications, make sure the target computer has the .NET Framework installed that corresponds with the called .NET assembly.
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 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 Members 0 2 posts Version:LabVIEW 2012 Since:2011 Posted July 22, 2013 This has been solved! See this thread: http://forums.ni.com/t5/LabVIEW/NET-Control-Error-1172-Only-in-executable/td-p/2497534 Share this post Link to post Share on other sites Create an
This works just as expected in the development environment, but when I build an executable and run that, the control just sits there without being properly filled in. I expect this is because you are using the incorrect SDP board. In the case you describe, I would have expected that either: The control reference was destroyed and re-created (possible giving you unusal data due to the state of the object now This got me thinking that something is destroying the reference to the control somewhere in my code.
For more trouble-shooting steps for using an assembly from a network drive, please see KnowledgeBase 3C8J8HPC. The C# programmer tested the DLL pretty thoroughly, including downloading LabView 2011 and making sure LabView could call the DLL. Sign In Now Sign in to follow this Followers 2 Go To Topic Listing Calling External Code All Activity Home Software & Hardware Discussions LabVIEW (By Category) Calling External Code Getting Check This Out I will forward your questions/comments to the engineers in China.
Very interesting, thanks for responding. All rights reserved. I did some testing to see where the function calls fail. This is a great forum.
Please Contact NI for all product and support inquiries. Now, is this a bug that I should notify National Instruments about, or is it expected behavior? The code for the DLL calls was already written before we started to develop the LabView app and fixture. Register a new account Sign in Already have an account?
That function worked fine and didn't throw any errors. See Here OH FOR SHAME! if you blank the value of the reference you can no longer talk to the object. Richard2950 Member 10-13-2004 01:47 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator If the vi and the .NET
I would like to build a labview project into a .net assembly. Jump to content Calling External Code Existing user? 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 That call doesn't throw any errors, but if I make another call to it within my event loop, it fails.
The sdpAPI1.dll is a .NET assembly. LabVIEW Application Builder should automatically save assemblies that are not registered in the GAC to the data subdirectory. 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 The .NET philosophy is that it shouldn't matter where things reside.Rich 0 Kudos Message 1 of 10 (13,474 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying