« Back to Product

Documentation

PJ_SetVoltage

 boolean PJ_SetVoltage (int $InstanceID, float $Volt) 

Parameters

InstanceID

Device ID

Volt

Voltage to which the output is to be set

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Sets the output to Volts for the device with ID InstanceID. Values higher than 10V are limited automatically.

Example

//Sets the output voltage to 5.30 volts
PJ_SetVoltage(12345, 5.30);
Any questions?