PulsePal object fields

int isBiphasic[5];

float phase1Voltage[5];

float phase2Voltage[5];

float restingVoltage[5];

float phase1Duration[5];

float interPhaseInterval[5];

float phase2Duration[5];

float interPulseInterval[5];

float burstDuration[5];

float interBurstInterval[5];

float pulseTrainDuration[5];

float pulseTrainDelay[5];

int linkTriggerChannel1[5];

int linkTriggerChannel2[5];

int customTrainID[5];

int customTrainTarget[5];

int customTrainLoop[5];

Trigger channel parameters:

int triggerMode[5]

A PulsePal C++ object has fields representing output and input channel parameters.

  • The fields are automatically updated when programming a single channel.

  • If you change the object's fields directly, you can sync all fields with PulsePal using the syncAllParams function.

  • 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.). This matches how the channels are marked on the instrument.

Output channel parameters: