LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Assign an IP address - DHCP Offer

Hello All,

 

I am trying to write a DLL which will assign a static IP address (192.168.2.10) to a board I want to communicate with in order to complete my TestStand code. When I run my DLL I can see DCHP Requests, but not Offers.  It seems that the eventtype for a UDPCallBack has to be UDP_DATAREADY.  I tried creating a TCP reader to read all packets, but that seems to also run into the same problem. If I could just get the transaction ID from the Offer I could give it the IP address.

 

What makes the eventtype UDP_DATAREADY?

 

Is there a way around this?

 

Is there a sample code that I haven't looked at that might help me solve this?

 

Is there a VISA command or NI Max function that can allow me to give this board an IP address?

 

Thank you,

Chris

 

P.S. One of the NI guys gave me the screen name CNorddy... lame, huh? 🙂

0 Kudos
Message 1 of 1
(1,663 Views)