Home > Labview Error > Labview Error 1172

Labview Error 1172

This includes assemblies called from a network drive. 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. How do dragons not burn themselves? Why? http://edsdefence.com/labview-error/labview-error-1172-net.php

The root cause of the error will be related to the .NET Exception Message, as 1172 is a generic error code for any .NET Exception.Note:In LabVIEW 8.0 and later, you will 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. Share this post Link to post Share on other sites rfessler 0 I've come back for more. Shared assemblies must be installed in the GAC.

As soon as I receive their answer, I will post it here. This Global Assembly Cache stores .NET assemblies specifically designated to be shared by several applications on that computer. 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

I thought that maybe the constructor wasn't being called, but I added some code to the constructor to write to a file and that functioned as expected. Click theAddbutton and navigate to the location of all the assemblies that you want to call. 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. 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.

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 So the first question to me would be, how was this DLL even tested? Now this seems to work with no error. When distributing built applications, make sure the target computer has the .NET Framework installed that corresponds with the called .NET assembly.

This is a great forum. thanks The Rookie Nope, that's what you have to do. Then I try to build the project again, including this new method in the build source. I attached a Word document that I received from the engineer in China that describes the problem.

Philip_Courtois Active Participant ‎10-18-2004 11:23 AM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator Hi Richard,Here�s a KnowledgeBase describing Find lane lines Is space piracy orbitally practical? I made a new project, with one new class inside. All rights reserved.

All rights reserved. have a peek at these guys That is the driver for the serial-to-USB converter (on the little dongle that is plugged into the USB port). 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 delete the numbers uniq -c created Is there a name for this kind of comparator?

Sign in here. The C# programmer tested the DLL pretty thoroughly, including downloading LabView 2011 and making sure LabView could call the DLL. Therefore I would say this is behaving exactly as expected and not a bug. check over here That function worked fine and didn't throw any errors.    I am completely stumped as to why this is happening.

The SDP-B (EVAL-SDP-CB1Z) and not the SDP-S is the required controller board for the AD5780 evaluation system. It's easy! I will forward your questions/comments to the engineers in China.

There's a function that I call to pass some XML strings to the control, which then handles filling in the data.

And responses come back via lines being toggled high and low.) But the DLL is written to communicate with the board under test via a second communication channel. I'll come back with their replies as soon as I receive them. I make one call to the test function in a flat sequence structure prior to my event loop, so it runs as soon as the VI is loaded. 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

Neither of these functions throw that type of exception. I appreciate any help I can get! Lycangeek Active Participant ‎08-09-2007 12:32 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report to a Moderator How exactly are you increasing this content I appreciate any help I can get!

It's easy! Error 1172 Exception has been thrown by the target of an invocation. >> Request for the permission of type 'System.Net.WebPermission, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. I would suspect making a call to "Reinitialize to Default Values" would throw away the .NET control object and recall the constructor, if anything. Vim: what are all the possible swapfile extensions?

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?