LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

info NIDAQmx_NewPhysChanAOCtrl() not found

I use F1 to find info on the NIDAQmx_NewPhysChanAOCtrl() function.  Nothing is found.  Can anybody help?

0 Kudos
Message 1 of 4
(4,631 Views)

Google is your friend - and RobertoBozzolo, see his answer here

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

Well, I would like detailed info on that function, just like other functions that I use F1 with.  I did find the site you showed, but it is not enough.

0 Kudos
Message 3 of 4
(4,624 Views)

Hi hn_sofec,

 

The reason you can’t find the help for that function by pressing <F1> is that a specific help file doesn’t exist for that function.

 

When you press <F1>, it uses the index in the help to search for that function name. It finds the same page you would find if you opened the help, went to the Contents tab, browsed to Library Reference>>NI DAQmx Library>>NI DAQmx C Functions, and picked out the particular function you were looking for. When you install DAQmx, it installs the DAQmx Library Help into CVI so that the function help is searchable this way just like it is for most of the built-in CVI functions.

 

The DAQmx I/O Control functions are not actually part of the main DAQmx library, even though they are only available if you install DAQmx. Instead, they’re included under the Tools library in CVI as custom controls.

 

If you open the help and navigate to Tools Library>>NI DAQmx IO Controls, you will see that there is a single help topic.

It says, among other things: “Refer to the function panels for function and parameter help for these controls.”

 

So, instead of hitting <F1>, you’ll need to hit <Ctrl+P> to recall the function panel first and then hit <F1> to get to the help. It’s an extra step, but if you compare this to other DAQmx functions, you’ll find that the information in the function panel help is identical to the information in the help files. You just don’t have the benefit of seeing it all in one place for the DAQmx I/O controls.

 

The other post Wolfgang pointed to also shows you how to use and get to the functions, and how to access the function help from the Library tree instead of going through the function panel. Most of the built-in DAQmx examples use the I/O controls, so there are also a lot of places you can look to see how to use the functions.

 

Is there something specific with that function you have a question about?

0 Kudos
Message 4 of 4
(4,595 Views)