pipx40_readInputPattern
Function |
pipx40_readInputPattern (ByVal vi As Long, ByVal subUnit As Long, ByRef pattern As Long) As Long | |
ViStatus |
pipx40_readInputPattern (ViSession vi, ViUInt32 subUnit, ViAUInt32 pattern); |
Parameter |
I/O |
Description |
vi |
in |
Instrument handle |
subUnit |
in |
Numeric variable indicating in which sub-unit actions will take place |
pattern |
out |
Pointer/reference to the one-dimensional array (vector) to receive result |
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 current state of all inputs of a sub-unit.
Remarks
Although this function is defined to place its result in an array, input sub-units are not expected to exceed 32 bits in size, so a simple Long variable is actually sufficient to receive it.