LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Blackfin CustomInit() function to set static IP at run-time

Hi,

I am trying to set a static IP address at run-time in the BF537. I understand this requires setting a global variable called g_vdkIPAddress before the IP stack is initialized, and this can be achieved by writing a function "CustomInit()".

 

How do I write a CustomInit() function and insure it gets called before the IP stack is initialized?

 

Thank you,

-Kipp 

0 Kudos
Message 1 of 2
(5,811 Views)

Hi Kipp,

 

The function can be found here. 

C:\Program Files\National Instruments\LabVIEW 8.5\Targets\ADI\Embedded\vdk\common\lv_init\lv_init.c

 

Thank You,

Jaidev 

Senior Product Manager
National Instruments
0 Kudos
Message 2 of 2
(5,795 Views)