setVoltage()

Description

Sets a fixed voltage on an output channel until the next time the channel is triggered

Syntax

setVoltage(channel, voltage)

Parameters

Returns

None

Examples

% 1. This produces a fixed -7.5V voltage on output channel 2

P.setVoltage(2, -7.5);