NI VeriStand Add-Ons Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get PXI (Pharlap OS) Mac Address using C code ?

Hello everyone,

I would like to use NI Veristand Simulation Model (using extern dll) in RT target (pharlap OS).

I create my C-code using NI VeriStand Model Framework and I'm able to deploy  my dll inside the target.

Problem: I would like to get the Pharlap MAC Address Target inside my C code.

Pharlap ETS uses a Win32 subset API.

Have you some suggestion on what API (or library or command),  RT compliant, can I use for getting PXI (Pharlap) MAC Address ?

I tried netbios using a code like this:

http://tangentsoft.net/wskfaq/examples/getmac-netbios.html

but it use NetAPI32.lib library that isn't compliant for RT Target.

Thank you in advance,

Cosimo

0 Kudos
Message 1 of 1
(3,263 Views)