Industrial Communications

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a C or CPP interface manuals for NI EthernetIP Driver?

I would like to program EthernetIP communication from a Visual C++ application for Windows or from WindRiver Workbench application for cRIO/sbRIO.

I planned to use NI EthernetIP driver for this task. There is no help information about C interface for NI EthernetIP driver in LabView Help System.

And then I try to generate C Code (for code examples of using C interface) from "LabView CCodeGenerator" it's need the Password for "EthernetIP Set Assembly Instance Data.vi" for successful generation.

How to interact with NI Ethernet IP driver from C, CPP code? 

0 Kudos
Message 1 of 2
(5,829 Views)

Hi yuri, 

 

There is no c-support as the entire toolkit is coded in LabVIEW. However, rather than use the c-code generator to generate code you can create a wrapper for the library with a dll. This approach should allow you to use Visual C++ as long as the LabVIEW run-time engine is also installed. 

 

I can't think of a way you will be able to get Vxworks c-support. 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 2 of 2
(5,824 Views)