Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

cifX

National Instruments is offering a way to integrate external DLLs and Shared Libraries into LabVIEW. 
The Hilscher CIFX driver for Windows contains such an external DLL by default, necessary for Windows applications to getting access to the CIFX hardware and the running
software. And this DLL can be integrated into LabVIEW making the generic CIFX-API available under NI LabVIEW.

A manual

...

provided with the CIFX-API describes the functions and the handling, which must be implemented in the LabVIEW application.

The CIFX-API DLL (cifX32DLL.dll) itself is available in 32Bit and 64Bit version, installed during the installation of the CIFX driver for Windows
and depending

...

on the version of the Windows operating system, the ciX32Dll.dll will be installed in different directories:

Installation path of the cifX32DLL.dll
Windows 32 BitWindows 64 Bit
32Bit only32Bit DLL64Bit DLL
.\Windows\System32.\Windows\SysWOW64.\Windows\System32

Necessary header files and the library files to the DLLs can be found under the driver installation directory (.\cifX Device Driver\SDK)
which also depends on the Windows operating system.

CIFX Driver installation directory: 'cifX Device Driver
Windows 32 BitWindows 64 Bit
.\Program Files\.\Program Files\


Additional Information:

How a DLL or Shared

...

Library is integrated in LabVIEW is described by National Instruments and not a part of the Hilscher driver.
Please consult the National Instruments Support on how to do this.

http://www.ni.com/tutorial/3009/en/

http://digital.ni.com/public.nsf/allkb/DCB90714981A1F148625731E00797C33

Driver Example CIFX

Please follow this link, to a Driver Example:

...

View file
nameLabVIEW-based Hilscher CIFX API to distribute AS IS.zip
height150


Info

This zip file “LabVIEW-based Hilscher CIFX API V2.zip” is provided “AS IS” with No warranty or support from Hilscher.  It was developed by a third party and is being provided to you as an EXAMPLE for development of your own driver.  

Usage of this material is entirely at

...

your own risk.


netHOST

To use the netHOST with LabView, the procedure is the same as with the cifx Card. But you also need to import the Connector dlls called "netXTransport.dll" and "TCPConnector.dll" with the proper header file "cifXUser.h"

To have

...

access to all the functions of the TCPConnector.dll you may have to add the same functions manually via "Call Library Function". Choose the needed function and add the proper parameters by hand. The following screenshots

...

show an example for netXConSetConfig.

Image Modified

Picture 1: Enter the "Call Library Function" dialog.


Image Modified

Picture 2: Open the .dll file and choose the needed function.


Image Modified

Picture 3: Add all the proper parameters