It's easy! And the dongle with the serial-to-USB converted was also already developed as a component in our consumer product. 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 Both the development environment and the executable use the exact same DLL code. have a peek here
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. And if so, any tricks involved in getting it to run ? /søren Siriusly : sorry no, was not able to solve the problem. I will forward your questions/comments to the engineers in China. 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 http://digital.ni.com/public.nsf/allkb/B15CE9F2715434C386256D3500601878
I really have my fingers crossed that this forum can help us solve this problem. 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 Sound & Vibration Temperature ARM DAQ DAQ Modules Software Other Products Support Resources Offices News Legal Privacy Copyright © Data Translation. One method (called numberToNumber) has a input type double, and a double output.
Register a new account Sign in Already have an account? Who is the highest-grossing debut director? The test fixture was supposed to be released to the electronics manufacturer three weeks ago for testing on a pilot production run. 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
Gender roles for a jungle treehouse culture What does a profile's Decay Rate actually do? Share a link to this question via email, Google+, Twitter, or Facebook. Sign In Now Sign in to follow this Followers 0 Go To Topic Listing LabVIEW General All Activity Home Software & Hardware Discussions LabVIEW General .NET Control Error 1172 - Only https://forums.ni.com/t5/LabVIEW/net-error-1172/td-p/2475016 Uploading a preprint with wrong proofs Is there a difference between u and c in mknod Yinipar's first letter with low quality when zooming in Is there a mutual or positive
All rights reserved. How do I fix this? The C# programmer tested the DLL pretty thoroughly, including downloading LabView 2011 and making sure LabView could call the DLL. But when the developers in China tried to call the DLL they get the error.
All rights reserved. https://lavag.org/topic/14342-getting-error-1172-when-trying-to-call-a-dll/ Some object references need to be called as static ones using a PROPERTY NODE. The project comprising of one labview class. This includes assemblies called from a network drive.
Can I stop this homebrewed Lucky Coin ability from being exploited? navigate here The sdpAPI1.dll is a .NET assembly. 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 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?
So the first question to me would be, how was this DLL even tested? I do have the vi in the same directory as the .NET assembly, and the assembly has been added as a reference to LabVIEW. the method does nothing). Check This Out But just out of curiosity, what did you mean by access "static" methods or properties?
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 It has no options, just a button to create the assembly. 0 Kudos Message 3 of 10 (13,299 Views) Reply 0 Kudos Re: Why am I getting Error 1172 when trying 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.
Thanks in advance for any help. This free libarary (GMap.NET) has had over153.197 downloads and despite its nam supports: Google Maps, Yahoo maps, BING maps, ARGGis maps, Open Street maps, OVi maps etc. The big question is if Gmaps will run in G, i.e.will it run in LabVIEW ?. Does it assume some port number? (FTDI base deviced each time they are plugged in, they may appear with different port number) Is FTDI based device (serial-USB converter) made by you
I'm working in LV2010. Sign in here. Can't a user change his session information to impersonate others? http://cygnussoft.com/labview-error/labview-error-88705.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 Jump to content LabVIEW
The class has two methods. DLL_err.png 9 KB 0 Kudos Message 10 of 12 (1,177 Views) Reply 0 Kudos « Previous 1 2 Next » All Forum Topics Previous Topic Next Topic Privacy | Terms of Are serial connection parameters on FTDI properties page set to the same values as the device on the other side of serial cable expects? Register a new account Sign in Already have an account?
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, 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 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 Why?
I am using an SDP-S control board with the AD5780 evaluation kit. Sign in here. I.e. Share this post Link to post Share on other sites ShaunR 695 LabVIEW Archetype Members 695 3,480 posts Version:LabVIEW 2009 Since:1994 Posted May 27, 2011 Hi Rolf - thank you