LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem using LabView Call Library in conjunction with RTX

Hello

I have the following problem: I am working on a project where I want to communicate withe a Profibus-card (Hilscher CIF-50PB) using LabView 8.0 Real-time. Hilscher is providing an RTDLL-Driver. I am calling this driver with a Call Library Function Node. When I call the init function the driver creates two handles of the type "void*". These handles need to be passed to every other function call of this drive. How do I have to configure the Call Lib Node? Please help...

Thanks bisbus
0 Kudos
Message 1 of 2
(2,598 Views)

Hi bisbus,

To get dlls to work with RTX and LabVIEW the following must be true:
1. Your dlls must be of type .rtdll.
2. Your dlls must not depend on other files, like other dlls.
3. You must register your .rtdlls with RTX by using the following command in a command window: rtssrun /dll <path to my dll>.rtdll
4. In the Call Library Node, you must specify the name of the dll as "mydll.*" and not "mydll.rtdll".  Also, once the dll is registered in step 3, you don't need to include the full path to the rtdll.  Just type in the name of the dll "mydll.*"

Please check out the following discussion forum for a little more information on using dlls with RTX.

Labview (RTX) Real Time DLL Question
http://forums.ni.com/ni/board/message?board.id=170&message.id=158881&requireLogin=False

Hope this helps.

Regards,

S. Bassett

Message 2 of 2
(2,587 Views)