Set or query the digital IO port function. Parameter func: DIO | DINPUT | TOUTPUT | TINPUT | OFFCOUPLE | ONCOUPLE | INHIBIT Description DIO: Ordinary digital IO port for input/output. DINPUT: Only as input, output is ignored. TOUTPUT: Trigger output, BOST and EOST for the list. TINPUT: Trigger input, can be selected as the source of the trigger signal. OFFCOUPLE: Synchronize the output Off state of each channel (couple on), only one pin can be configured for this function, and the polarity of the pin is fixed. ONCOUPLE: Synchronize the output On state of each channel (couple on), only one pin can be configured for this function, and the polarity of the pin is fixed. INHIBIT:
Refer to OUTPut:INHibit:MODE command. Return value Return DIO | DINPUT | TOUTPUT | TINPUT | OFFCOUPLE | ONCOUPLE | INHIBIT For example DIGital:PIN1:FUNCtion DINPUT /* Set PIN1 pin function to DINPUT */ DIGital:PIN1:FUNCtion? /*Return DINPUT */ Digital IO Polarity : DIGital:PIN :POLarity Command format DIGital:PIN :POLarity DIGital:PIN :POLarity? Function description Set or query the polarity of the digital IO port. Parameter pol: NEGATIVE | POSITIVE Description NEGATIVE: When In is 1, the actual level on the pin is low. POSITIVE: When In is 1, the actual level on the pin is high.
Return value Return NEGATIVE | POSITIVE For example DIGital:PIN1:POLarity POSITIVE /* Set PIN1 pin polarity to POSITIVE */ DIGital:PIN1:POLarity? /*Return POSITIVE */ Digital IO Output : DIGital:OUTPut:DATA Command format DIGital:OUTPut:DATA Function description 21