pipx40_getSubCounts

 

VB

Function

pipx40_getSubCounts (ByVal vi As Long, ByRef inSubs As Long, ByRef outSubs As Long) As Long

C++

ViStatus

pipx40_getSubCounts (ViSession vi, ViPUInt32 inSubs, ViPUInt32 outSubs);

 

Parameter

I/O

Description

vi

in

Instrument handle

inSubs

in

pointer/reference to variable to receive the number of INPUT sub-units

outSubs

out

pointer/reference to variable to receive the number of OUTPUT sub-units

Return Value

0 = Successful operation. Negative values are error codes and positive values are warnings. To get a description of the error, pass the error code to pipx40_error_message.

Description

Obtains the numbers of input and output sub-units implemented on the specified card.