Add an event command to safely remove media
Create an event that prepares the SD card that is in the HMI device for safe removal. When triggered, the event prevents the files on the SD card from becoming corrupt or read-only.
Prerequisites
Create an event to trigger the command:
- Touch press.Occurs when touching the item on the screen that is configured with the event.
- Touch release.Occurs when releasing the item on the screen that is configured with the event.
- Key press.Occurs when pressing the specified key.
- Key release.Occurs when releasing the specified key.
- Button behaviorOccurs when releasing the button.
- Project eventOccurs when the executing condition is met.
- Select the graphic element configured with the touch or key event.
- In thePropertiespane on theEventstab, selectAdd Command.
- Expand theHMI Device Configurationcommand category and selectSafely Remove Media.TIP:To create an indication of when the SD card is safe to remove, use the status from the DataLogStatus system tag.
Provide Feedback