From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Functions: DAQmxGetSystemInfoAttribute and DAQmxGetDeviceAttribute

Would like to obtain full details on the Purpose, Parameters, and Return value for the following functions since this info does not show up in the NI-DAQmx C Reference Help.
1) DAQmxGetSystemInfoAttribute()
2) DAQmxGetDeviceAttribute()

Thanks
0 Kudos
Message 1 of 2
(4,640 Views)
Hi,

It sounds like you are using CVI, correct?

CVI and our ANSI C functions are a little different when it comes to property nodes. For example:

- In CVI you would call DAQmxGetDeviceAttribute() and in the parameters for the function you would choose which attribute you wanted to get. This is a feature of CVI. Simply type DAQmxGetDeviceAttribute and hit Ctrl+P. This will bring up a window that allows you to configure the function call.

- In ANSI C you have a function call for each specific property. So you would call DAQmxGetDevProductType for example to get the product type. In CVI the function call would look something like DAQmxGetDeviceAttribute(ProductType)

CVI has this as an added feature. However, you can still make the regular ANSI C property function calls in CVI.

All of these are listed under the "properties" tree in the DAQmx C Function Help. For the two functions you were asking about, you would look under the "List of Device Properties" and the "List of System Properties."


-Sal
0 Kudos
Message 2 of 2
(4,629 Views)