syncAllParams()

Description

Sets the Pulse Pal device to match the parameters in the Pulse Pal object's fields.

  • For code readability, the fields do not use zero-indexing to specify channels (i.e. setting phase1Voltage[1] sets output channel 1, while phase1Voltage[0] is unused.)

Syntax

syncAllParams()

Parameters

None

Returns

None

Example

myPulsePal.isBiphasic[1] = 0 # Specify that output channel 1 uses monophasic pulses

myPulsePal.phase1Voltage[2] = 7 # Specify that output channel 2 uses 7V pulses

myPulsePal.interPulseInterval[1:5] = [0.2]*4 # Specify inter-pulse interval = 0.1s for all output channels

myPulsePal.syncAllParams() # Write all fields of the myPulsePal object to the Pulse Pal device