LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PCI Device via Call Library Function

Hello NI developers! Searched through the forums and nothing found for this topic.
---------------------------------
I have a program that reads data from PCI board memory. Stuck with using CIN's and decided accomplish this task with Call Library Function Node.
---------------------------------
I use linux Ubuntu and program C code, LabView 7.1 i specify -lpci library for compiling my code. and use header file included.
---------------------------------
1) How to pass to Call library function node - parameter which is defined in "pci.h" as a structure with pointers?
2) Do I need to write wrapper for it ? If so is there well manuals?
3) Can I compile my entire program (which uses functions defined in pci.h and in library libpci.so) as a shared library .so and call functions directly from my library? or I should call those functions only from libpci.so separetely?
Thank you in advance! Message Edited by bI on 03-22-2008 08:14 PM Message Edited by bI on 03-22-2008 08:15 PM

Message Edited by bI on 03-22-2008 08:16 PM
0 Kudos
Message 1 of 2
(2,378 Views)
P.S: I use mmap( .... ) function to return a pointer to memory where data is.
0 Kudos
Message 2 of 2
(2,330 Views)