LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

rslinx writetag

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?:

 

0 Kudos
Message 1 of 2
(2,603 Views)

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.

Ian M.
National Instruments
0 Kudos
Message 2 of 2
(2,578 Views)