Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe-1085 C code documentation

Solved!
Go to solution

What C API do I use that can tell me how to get the serial from the PXIe-1085, and later send or retrieve data to any cards inserted?

 

Where can I find the C API for System Configuration API 17 functionality as well?

 

The readme for the PXI Platform Services 17.0 says to visit ni.com/info and enter the Info Code pximxisysmon." for more information about System Monitor features. This code does not exist.

 

Also, NI-DAQmx is the only API mentioned in the PXIe-1085 manual found here, is it only used for dynamic routing? Thanks.

 

0 Kudos
Message 1 of 6
(3,774 Views)

What other hardware are you using besides PXIe-1085 (this is just the chassis)?

 

System Configuration API should allow you to read serial number from your hardware.

 

NI System Configuration Functions
http://zone.ni.com/reference/en-XX/help/373242G-01/nisyscfgcvi/ni_system_configuration/

 

NI System Configuration 17.0
http://www.ni.com/download/ni-system-configuration-17.0/6764/en/

 

But to do outputs and inputs, you will need NI-DAQmx (comes with DAQmx API).

 

NI-DAQmx 17.1.0
http://www.ni.com/download/ni-daqmx-17.1/6836/en/

 

If you are looking for the C API and do not have LabWindows/CVI installed, make sure to do a custom install and elect to have LabWindows/CVI C API installed locally. The recommended install always goes off what other NI software is installed on your computer, and if you don't have LabWindows/CVI, it will think you do not need C API.

0 Kudos
Message 2 of 6
(3,744 Views)

Thanks for the reply AvatarAang.

We are using the 8880 controller card and 5665.

I do already have the ANSI C API install already.

I came across the First link for the functions, and it looks like they are tied into CVI? We do not want to be tied into CVI to access the hardware.

 

 

Also there are attributes labeled in MAX about the chassis such as VI_ATTR_INFT_NUM, VI_ATTR_RSRC_NAME, VI_ATTR_MODEL_NAME. Should able to access these through NI-DAQmx as well?

0 Kudos
Message 3 of 6
(3,739 Views)

"This library enables LabWindows/CVI and C applications to interact with the NI System Configuration API."


Do you just mean you will not be coding in the LabWindows/CVI development environment? You don't need to use LabWindows/CVI.

0 Kudos
Message 4 of 6
(3,712 Views)

I am using Visual Studio and we would not like to use CVI.

0 Kudos
Message 5 of 6
(3,709 Views)
Solution
Accepted by topic author SunDontShine

The C API is not specific to LabWindows/CVI, you can use a different ADE if you like. What language are you planning to code in? NI-DAQmx has .NET support as well.

0 Kudos
Message 6 of 6
(3,704 Views)