Is it possible to create a directory on the SD card using a variable?
Yes it is.
' create a new directroy on the SD
card
DIM dirname AS
STRING(20)
dirname = "folder1"
FILE "MD"
dirname
folder_number = 3
dirname = "Folder" + STR(folder_number, 0)
FILE "MD"
dirname
dir d
Volume is MCCARD
Volume Serial Number is 7C15-2EFA
Directory of \
21/Sep/2020 14:59 171
TRIOINIT.BAS TRIOINIT.BAS
12/Sep/2019 11:52
<DIR> MC_FILES MC_FILES
28/Sep/2020 13:36
<DIR> FOLDER1 FOLDER1
28/Sep/2020 13:59 <DIR> FOLDER3 FOLDER3
Related Articles
AN-408 Using SD card to change IP Address
This document explains how to change the IP address, subnet mask and default gateway by using a SD card or micro SD card on Trio Motion Coordinator
Loading encrypted project from SD card
This is the content for the SD card TRIOINIT.BAS ' *** ' SD Card decryption demo. ' Prepared by Trio Motion Technology Ltd. ' ' *** PROJECT_KEY "O5/A6qXkaXc" FILE "LOAD_PROJECT" "training ecr1" Replace the key above with yours and use your project ...
SD card sizes
The max SD card size is firmware dependent. All the MC4/5/6 Motion Coordinators with the latest firmware can handle SD and Micro SD cards up to 64 GB. The card must be formatted FAT 32.
Recovery SD card file name
When recovery of a Motion Coordinator with the recovery boot system, a special file name is used for the firmware file on the SD card. Go to the Trio website www.triomotion.com, log in and go to the Software->All Firmware page. Select the firmware ...
How to recover the controller if the program is corrupt
Sometimes when the program is corrupted on the controller, there will be some errors thrown up such as: 1. Error Number 93, Program Corrupt 2. E06 Watchdog Trip error Resetting the controller back to default can recover this fault. To do that, you ...