mbus Port Count.vi

Description
The Port Count function provides the number of ports available for any given data bus type.
| Parameters | ||
|---|---|---|
| error in | in | error conditions that occur before entering the function |
| portType | in | selected data bus type |
| sessionHandle | in | reference to the current Multibus session |
| sessionHandle | out | reference to the same Multibus session |
| portCount | out | number of ports corresponding to the selected data bus |
| error out | out | error information |
| function return | out | function execution status |
Handle parameters are available as input and output. Output is a copy of the input and may be used to daisy chain successive VIs and reduce wire density.
Availability
Available in Multibus VI 1.0 and later.