LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

ActiveX and Renishaw RCU10

I am trying to talk to a Renishaw RCU10 Compenstator.  I have access to a DLL.  I am using the ActiveX controls to call the DLL.  I can open the COM port to the device.  That uses ActiveX Class RCUSYSTEMLib.IRCUSystem.  From this ActiveX Class I can also gain access to all other functionality by use of methods and properties.  See Renishaw 1.bmp.  However, this method does not work as I get error -2147024809 "The parameter is incorrect."  I assume that the error is from the Index.  I have tried the number 0 and 1, represented as an U8, I8, U16, I16, U32, I32, DBL, and a string.  I get the same results every time. 

 

I tried another way of reading data from the RCU10 by using a different ActiveX class.  RCUSYSTEMLib.IRCU.  See Renishaw 2.bmp.  When running this code I get Error Code -2147221164.  From reading other forum posts, it seems like I need to register(re-register) my DLL.  However when trying to register I got an error.  See Renishaw DLL.bmp. 

 

I am using LV 8.6 and Windows XP.  Can anyone help?

Download All
0 Kudos
Message 1 of 3
(3,358 Views)
In your first picture, you have it!  In the Index Variant, just put in the serial number of the RCU unit or the Sensors, and then all of the references work.  The Index should be a String converted to a Variant.
0 Kudos
Message 2 of 3
(3,333 Views)

Send me the code of your application.

 

Joseph

 

0 Kudos
Message 3 of 3
(3,330 Views)