Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find the nixnet.h and .lib at the NI-XNET Drivers?

Hy,

 

I'm using:

Hardware: NI-XNET| Driver: NI-XNET 1.5| OS: Windows| Programming language: C++ (QT environment)

 

I suppose that I'm missing somethingSmiley Wink, but I want to include the nixnet.h and .lib at my project and can't find them...

 

Thanks for advance,

Aviad

 
 
 

 

0 Kudos
Message 1 of 5
(9,633 Views)
Obviously that I missed something ...
Everything worked out!
All the best


 

0 Kudos
Message 2 of 5
(9,626 Views)

Hey.. i have a quick question for you.

 

Did you use QT Creator with VS2010 compiler? or with MINGW, OPENGL?

 

If you used MINGW, did the nixnet.h and nixnet.lib work with the compiler?

 

Cheers,

Adeel

 

0 Kudos
Message 3 of 5
(9,148 Views)

Hi,

 

I use Qt 4.8.1 with MinGw.

 

It's work fine (debug mode, I don't try the release mode).

 

If it's can be useful, I add those lines for the pro. file:

NIPATH = "C:/Program Files (x86)/National Instruments/NI-XNET"
NICOMP = "C:/Program Files (x86)/National Instruments/Shared/ExternalCompilerSupport/C/lib32/msvc"

INCLUDEPATH += $$NIPATH
INCLUDEPATH += $$NICOMP

LIBS += -L"C:/Program Files (x86)/National Instruments/Shared/ExternalCompilerSupport/C/lib32/msvc" -lnixnet \

Hope I was helping here,

Aviad

0 Kudos
Message 4 of 5
(9,131 Views)

thanks, it works perfectly!!!

0 Kudos
Message 5 of 5
(9,020 Views)