LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to send ethernet layer 2 frame ?

Hello,

 

I need to send Ethernet O.S.I Layer 2 frames using Labview 2014.

 

The frame will be like that :

source MAC address (6 bytes) + destination MAC address (6 bytes) + protocole (2 bytes) + datas (54 bytes)

 

The only functions I have found are TCP and UDP (layer 3). Is there any function related to layer 2?

 

How can I send this kind of frame?

 

Thanks in advance for your help

0 Kudos
Message 1 of 2
(3,046 Views)

As far as I know, I don't think this is possible - LabVIEW just communicates with the OS which then communicates with the ethernet device and therefore you only have access to the Level 4 transport layer (TCP/UDP).

 

The only way I think to do this would be to create the create the data link layer yourself (e.g. using digital I/O). I'd imagine that would be a lot of work though.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 2
(3,030 Views)