syncToDevice()

Description

Sets the parameters on the device to equal the parameters in Properties of PulsePalDevice.

Note that syncToDevice() is not necessary if the autoSync property is set to true.

Syntax

confirmed = syncToDevice()

Parameters

None

Returns

Examples

% 1. This disables autoSync, changes two parameters of ch2 and then synchronizes them to the device in one write

P.autoSync = false;

P.phase1Voltage(2) = 10;

P.phase1Duration(2) = 0.01;

P.syncToDevice()