billyt Posted April 13, 2008 Report Share Posted April 13, 2008 I'm attempting to test a network protocol analyzer and need to build an app that sends formed and malformed XXX/IP over Ethernet packets. Has anyone generated a generic Layer 1/2 packet using LabVIEW exclusively such that specific values for the Ethernet MAC header and IP header, etc can be all dynamically set or written a LV wrapper around say Winpcap functions? All I see in LabVIEW is the lame Layer 4 TCP/UDP functions. My collegues are attempting to push me away from LabVIEW saying it is too high level of a language for "real" programming. Please help me prove them wrong... Thanks, Billy T Quote Link to comment
Yair Posted April 13, 2008 Report Share Posted April 13, 2008 QUOTE (billyt @ Apr 12 2008, 06:20 AM) saying it is too high level of a language for "real" programming. They're probably right about that one, if that's their definition of "real", but that's like saying a Rolls Royce isn't a real car because you can't do "real" driving in it. That said, QUOTE Has anyone generated a generic Layer 1/2 packet using LabVIEW exclusively such that specific values for the Ethernet MAC header and IP header, etc can be all dynamically set or written a LV wrapper around say Winpcap functions? I haven't looked into http://forums.ni.com/ni/board/message?board.id=170&thread.id=175885&view=by_date_ascending&page=1' target="_blank">this, but it might help. Quote Link to comment
billyt Posted April 14, 2008 Author Report Share Posted April 14, 2008 Yen, hey thanks for the lead, looks promising actually...I'll try it on Monday indeed. I didn't think about searching NI's website...doh! Yes also "real" was intended to imply low level network programming. There is no question LabVIEW rocks for high level automation/command/control/etc Rolls Royce style as you say...I just need a unicycle to get a simple packet or 2 out Quote Link to comment
Rolf Kalbermatter Posted April 15, 2008 Report Share Posted April 15, 2008 QUOTE (billyt @ Apr 12 2008, 11:12 PM) Yen, hey thanks for the lead, looks promising actually...I'll try it on Monday indeed. I didn't think about searching NI's website...doh! Yes also "real" was intended to imply low level network programming. There is no question LabVIEW rocks for high level automation/command/control/etc Rolls Royce style as you say...I just need a unicycle to get a simple packet or 2 out Well they probably are of those kind who think anything but C programming is to high of a level :-) and assembly programming is the real thing. And they might be right in certain areas. After all you don't use a normal comfort car for off road driving, but on the other hand an old jeep with unsynchronized gear shift really sucks for normal street traffic and lets be fair how much of off road driving do most of us here do? Rolf Kalbermatter Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.