02-22-2013 03:58 PM
Any one have sample code for writeTag for RSlinx dll?
Getting ReadTag works, but Write Tag keeps generating error -6571.
the rockwell dll has a "BOOL" parameter in c sharp, but Labwindows when creating .NET wrapper, does not. I'm using an unsigned short, which might be causing a problem?:
02-25-2013 08:32 PM
That error is a .NET Library error code for an exception being thrown by the target being invoked. If the function is looking for a boolean then it would throw this error. Since CVI is a C based IDE and not C# you can't directly call intol the dll without getting these types of exceptions.