pipx40_getMaskState
Function |
pipx40_getMaskState (ByVal vi As Long, ByVal subUnit As Long, ByVal channel As Long, ByRef state As Integer) As Long | |
ViStatus |
pipx40_getMaskState (ViSession vi, ViUInt32 subUnit, ViUInt32 channel, ViPBoolean state); |
Parameter |
I/O |
Description |
vi |
in |
Instrument handle |
subUnit |
in |
Numeric variable indicating in which sub-unit actions will take place |
channel |
in |
Channel whose mask state is to be reported |
state |
out |
Pointer/reference to variable 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
Reads the current state of the specified output channel's mask (VI_OFF = unmasked, VI_ON = masked).