SightLine Applications Command, Control, and Script API  v3.5
SightLine File Recording

This section consolidates information related to file recording (SnapShots,Video, NUC tables, etc.).

WARNING

SightLine Applications recommends that all microSD cards be formatted before being used with SightLine hardware. See EAN-File-Recording.pdf.

Notes

File Naming

If file name ends with a non-numeric character, the file will save to <FileName>_NNNN.jpg (1500) or <FileName>_C_NNNN.jpg (3000/4000) where NNNN is an incrementing count, starting at 0 and maxing out at 4294967295 and C is the camera index (3000/4000 only). If file name ends with a numeric character (0-9), file will save to <FileName>.jpg. For values of NNNN less than 10,000 the file name count will pad 0's.

1500:

If you use FileName... And then: You should see... Note
Hello DoSnap (0x60) Hello_0000.jpg Count starts at 0
Hello DoSnap (0x60) Hello_0001.jpg Count increments
World DoSnap (0x60) World_0000.jpg Count restarts when FileName changes
Hello42 DoSnap (0x60) Hello42.jpg Count is not appended for FileName ending in a numeric character

3000/4000:

If you use FileName... And then: You should see... Note
Hello DoSnap (0x60) Hello_2_0000.jpg Count starts at 0
Hello DoSnap (0x60) Hello_2_0001.jpg Count increments
World DoSnap (0x60) World_2_0000.jpg Count restarts when FileName changes
Hello42 DoSnap (0x60) Hello42.jpg Count is not appended for FileName ending in a numeric character

(e.g. with Command Camera = 2)

Directories

Examples:

If you use FileName... And then: You should see... Note
filenametest DoSnap (0x60) /media/mmcblk0p1/filenametest_0000.jpg not directory name
filenametest/ DoSnap (0x60) /media/mmcblk0p1/filenametest/0000.jpg assumes a directory already exists called filenametest
filenametest/myfilename DoSnap (0x60) /media/mmcblk0p1/filenametest/myfilename_0000.jpg assumes a directory already exists called filenametest
./filenametest/myfilename DoSnap (0x60) /media/mmcblk0p1/filenametest/myfilename_0000.jpg assumes a directory already exists called filenametest