ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW and EPOS DLL: Inaccessible VCS_SetHomingParameter Function Despite Header Declaration

Hello Ni community

I'm having trouble calling the VCS_SetHomingParameter function from an EPOS DLL within LabVIEW. According to the DLL's header file, this function should be available for use (HomingMode_DllExport BOOL __stdcall VCS_SetHomingParameter(...)).

However, when I try to use the "Call Library Function Node" in LabVIEW, it's not listed among the available functions.

Has anyone encountered a situation where a function declared in an EPOS DLL header is not accessible from LabVIEW or is it just not there anymore ? Are there any specific settings or considerations within the EPOS library that might affect the visibility of this particular function? Since I don't have acess to the EposCmd.h file I don't know how to do this Any insights or alternative approaches would be greatly appreciated my idea was "simply" to add a DLL wrapper around the EposCmd.dll with some fonctions like EtherCAT or Homing to do the calibration of the motors.

Thx in advance 

 

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

The actual version of the EposCmd32.dll and EposCmd64.dll is 6.8.1 and both export the function VCS_SetHomingParameter().

 

Judging by the screenshots, the problem lies in front of the keyboard. 

 

image (3).png shows in sorted order some exported functions from VCS_GetVelocity... to VCS_Open...

(Functions beginning with VCS_Set... are not shown on this screenshot.

 

gjprjrjfmr.png shows that you tried to find a function beginning with VCS_HomingPara

 

...If you search for VCS_SetHomingParameter() you simply have to look for VCS_SetHomingParameter()

 

 

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