andreaC Posted September 5, 2013 Report Share Posted September 5, 2013 Hi all, I have a problem using.NET with LabVIEW 2012. I open LabVIEW example SimpleTaskMonitor.vi and, when it starts, I receive Error 1172 (See attachment). Installed .NET version on my machine are: v2.0 - 3.0 - 3.5 - 4.0. I also followed this procedure but LabVIEW returns the same error. Thanks Quote Link to comment
Yair Posted September 8, 2013 Report Share Posted September 8, 2013 Error 1172 is just a generic error which means there was an exception returned from the .NET call. You have to look at the source string (which is shown in the dialog) to see the actual details of where the problem was, and you can see here that it says that the format of the string is incorrect. I'm assuming that the reason is that either the names there are localized (although I wouldn't expect them to be for something like this) or that they're using characters which are invalid in your locale. You can start by using probes to see exactly where the error comes from (it says "creating", so it's probably the constructor). You should also look through the documentation of the PerformanceCounter class to see which names it expects. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.