LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

GetRTSystemInfo on PXI system

Hello,

 

I am looking for a way to get the mac address of a PXI system by using C-Code e.g. in CVI.

There is the function GetRTSystemInfo but according to the manual, this function is only supported on Windows.

Does anybody know if there is a similar function for RT systems?

I know that there is a VI "Get Target Information" that comes with LabVIEW RT. This VI is able to get the mac address when running on a RT system, which means it is possible.

I am just looking for a simple function that I can call from C-Code to get the mac address.

 

 

Thank you,

 

Christian

0 Kudos
Message 1 of 4
(2,910 Views)

Hi,

 

you can use the System Configuration API. I only used it in LabVIEW but this should also work for CVI to get the MAC adress of your RT target

 

http://joule.ni.com/nidu/cds/view/p/id/2613/lang/en

 

Cheers,

cheggers

Sascha
0 Kudos
Message 2 of 4
(2,897 Views)

Cheggers is right, you should use the NI System Configuration API. I think it is actually installed automatically with CVI, but I may be wrong. It will show up in the libraries as NI System Configuration. The function you will want to use is NISysCfgGetResourceProperty. I was just using this on RT the other day, so it should work.

National Instruments
0 Kudos
Message 3 of 4
(2,883 Views)

Thank you both.

I have downloaded it today and will try to get it running now.

 

Christian

0 Kudos
Message 4 of 4
(2,880 Views)