PulsePalSDSettings()

Description

Saves or loads all current channel parameters to a file on Pulse Pal's microSD card.

  • Only Pulse Pal 2 has a microSD card. This function will return an error when connected to Pulse Pal 1.

  • Settings files can be subsequently saved and loaded with this function, or from the thumb joystick menu.

Syntax

PulsePalSDSettings(filename, op)

Parameters

  • filename: a character array containing a filename with the .pps extension

  • op:

    • 'load' to load the file from the microSD card

      • Loading overwrites all current parameters on the device and parameter fields of the PulsePal object

    • 'save' to save the channel parameters loaded on the device to the microSD card

    • 'delete' to delete the parameter file from the microSD card

Returns

None

Example

% 1. This code saves the current device parameters to a file

PulsePalSDSettings('myFile.pps', 'save')

% 2. This code loads a settings file from the device

PulsePalSDSettings('myFile.pps', 'load')

% 2. This code deletes a settings file from the device

PulsePalSDSettings('myFile.pps', 'delete')