Labview Error Code 1172
Register a new account Sign in Already have an account? 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 The test fixture was supposed to be released to the electronics manufacturer three weeks ago for testing on a pilot production run. It is clean.) I hope the attached Word doc has enough information to help somebody diagnose the problem. http://distributedsimulation.com/labview-error/labview-error-1172.html
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 current community chat Stack Again thanks for all of your support it is greatly appreciated. .NET issue.png 123 KB 0 Kudos Message 6 of 7 (1,247 Views) Reply 0 Kudos Solution Accepted by Members 0 2 posts Version:LabVIEW 2012 Since:2011 Posted July 19, 2013 Hi everyone, I posted this over in the NI forums as well, but maybe I'll have more luck over I attached a Word document that I received from the engineer in China that describes the problem. http://digital.ni.com/public.nsf/allkb/B15CE9F2715434C386256D3500601878
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 Thanks for the reply Vugie. Both sub-VIs are running the same DLL file. How could a smaller country successfully take control of a much larger country? Is there some fundamental reason why I always run into this error?
The .NET developer insists that the "Method/Invoke Node" being called cannot output a null value and therefore the issue is in LabVIEW. 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. You can use the static methods or properties without first instantiating an object. AError 1172 is a generic LabVIEW error indicating there was an error thrown during a .NET assembly call.
Presumably the author of the assembly has a test harness of some description. You could probably log the reference value, the errors and maybe some other relevant values. Jump to content Calling External Code Existing user? http://forums.ni.com/t5/LabVIEW/quot-Error-Code-1172-quot-NET-Invoke-Node-returns-null-after-20/td-p/2570709 The project comprising of one labview class.
The connector on the SDP-B and SDP-S is the same so physically the boards (controller and Eval) might connect, however the SDP-S doesn't have the same number of peripherals available as Share this post Link to post Share on other sites PJM_labview 32 The 500 club Members 32 777 posts Version:LabVIEW 2009 Since:1998 Posted May 28, 2011 Not exactly what you Then I add a second method (called lvobject), this one has an input which is a generic Labview object (I leave it unwired, i.e. The problem is, when the assembly is called, I get an Error 1172 which says it can't find "ILASLIB.dll" which is a seperate .DLL (See 1172 msg.jpg).
I started out by creating a .NET Refnum control and then connecting that to a Property Node. https://lavag.org/topic/9706-using-net-and-getting-error-1172/ What steps would you take? 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 Thanks in advance for any help.
Are serial connection parameters on FTDI properties page set to the same values as the device on the other side of serial cable expects? his comment is here Click theAddbutton and navigate to the location of all the assemblies that you want to call. Are you stating that I should close the Create UN8 output that is feeding the "Constructor 1" VI as well? 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
The workaround is to replace the input/output objects with variants and then cast them as the required object. –labjunky Feb 13 '12 at 8:29 Follow this link to the I have opened it and viewed it and scanned it for anything malicious. For information about installing to the GAC, please see MSDN How to: Install an Assembly into the Global Assembly Cache. this contact form The Vi works great on my computer but once I moved it to the network it no longer works.
I will forward your questions/comments to the engineers in China. All rights reserved. The class has two methods.
Neither of these functions throw that type of exception.
Sign in here. I also checked out your webpage and used the caspol.exe as shown below C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322>caspol -q -machine -addgroup 1 -urlfile://E:/* FullTrust -name "Process Flow"Microsoft (R) .NET Framework CasPol 1.1.4322.573Copyright (C) Microsoft Share a link to this question via email, Google+, Twitter, or Facebook. Solution: Any exception thrown when calling a .NET object property or method is converted into LabVIEW error 1172.
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 I created the assembly using the LabVIEW .NET browser that I downloaded from NI. I see that FTDI is now in VCP mode (virtual Com Port). navigate here Thanks in advance, Samuel Tod Other Info: OS = Windows XP SP3 32-bit Labview version = 2011 32bit 1172 msg.jpg 67 KB Error 1172.jpg 70 KB 0 Kudos Message
Why are you passing the same reference to the +.NET Error Info function as both a scalar and an array? 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 Do any of you have other suggestions to avoid getting Error 1172? Both of the PCs are running XP SP3 and LV2011.
ADDQ VIPM"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones." 1 Kudo Message 4 of 7 (1,272 Views) 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?) Sign In Sign In Remember me Not recommended on shared computers Sign in anonymously Sign In Forgot your password? By default, when a.NET program is compiled, the assembly produced will be a private assembly.
Thanks, Solved! The SDP-B (EVAL-SDP-CB1Z) and not the SDP-S is the required controller board for the AD5780 evaluation system. That test passed at the development site in Mexico. It's easy!
Sign in here. Then I try to build the project again, including this new method in the build source. That is the driver for the serial-to-USB converter (on the little dongle that is plugged into the USB port). The “parameters” output from the constructor does not return the references that were input to the constructor therefore the references were left open.
National Instruments France NIDays 2016, le jeudi 10 mars au Palais des Congres de Paris Intervention exceptionnelle d'Adriaan ... 0 Kudos Message 2 of 5 (718 Views) Reply 0 Kudos Re: Can anyone help? Technique for changing Sitecore configuration for unit tests DDH Assumption Not Holding Why were people led to believe that the Apollo mission was fake in Interstellar? Go to Solution "Error Code 1172" .NET Invoke Node returns null after 20+ hours Siriusly Member 09-24-2013 03:21 PM Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print
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. Here is a bit of information that might be relevant that is not described in the attached word doc - it is about the communication channels (plural) between the PC and in Process Flow.vi Any ideas?
© Copyright 2017 distributedsimulation.com. All rights reserved.