LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

ivi channel count

In the IVI library, there are various functions for retrieving the channel info from the virtual channel mapping table for a driver session. E.g. Ivi_GetInfoFromResourceName, GetChannelIndex, etc.

 

How do I get the number of channels that are actually in the table, short of scanning through the list with GetNthChannelStringn until it returns NULL?

0 Kudos
Message 1 of 3
(2,972 Views)

Greetings,

 

I took a look through some of the documentation and didn't find anything that jumped out in particular other than attributes of specific types of IVI driver, which IVI driver are you using?

 

 

Product Support Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,956 Views)

It's the IVI package 4.1, Labwindows CVI 8.1.

I finally found the information: you have to use the IviConfigServer library, which is located in the /ProgramFiles/IVI directory (per the IVI-3.5 Configuration Server Spec). This lets me explore the configuration file. The main problem is that unless you know to look for this dll, there's no references to it in the documentation for the regular LabWindows IVI library.

0 Kudos
Message 3 of 3
(2,948 Views)