LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

raw Ethernet LAbWindows

Hi. I'm developing an automated test suite for some new hardware that has an ethernet capability. The tool we choose to automate the test suite was Labwindows/CVI. Now the ethernet capability has been recently added and it is a majority of the work. It turns out that they only use level 1 and 2 of the OS-7 model and so we need an API or dll to access it. We were thinking of using something that we can capture the ethernet packets and then do the processing ourselves since it is a custom protocol.

Does anyone have any suggestions?
0 Kudos
Message 1 of 5
(4,129 Views)
Hello

CVI does not have an api for capturing raw ethernet packets. You might try checking out some third party libraries for this, like WinpCap

Thanks

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 5
(4,129 Views)
"bilalD" wrote in message
news:506500000005000000B8220100-1042324653000@exchange.ni.com...
> Hello
>
> CVI does not have an api for capturing raw ethernet packets. You might
> try checking out some third party libraries for this, like
> href="http://winpcap.polito.it/">WinpCap


Why not open raw sockets through winsock2 directly? As far as I know does
Winsock2 support raw socket access.

Rolf
0 Kudos
Message 3 of 5
(4,129 Views)

Hi,

 

I am developing a Interface to read raw packets in CVI using Winpcap library.

 

I am very new to CVI, so need help in integrating and running Winpcap with CVI.

 

Please could you give the steps on how to integrate Winpcap.

 

I tried adding Winpcap and my sample files for packet dump but am receiving errors in basetsd.h and Win32-extensions .h file in VC folder.

 

Thanx.

0 Kudos
Message 4 of 5
(3,363 Views)

WinPcap has a new web site now:  http://www.winpcap.org/

 

0 Kudos
Message 5 of 5
(3,349 Views)