SightLine Applications Command, Control, and Script API  v3.5
List of all members
SLAReadWriteNuc_t Struct Reference

Description

Used to save or load NUC/DPR tables as well as set a table to be applied on startup.

typedef struct {
u8 cameraIndex;
u8 reserved;
u8 nucReadWriteMode;
SVPLenString_t fileName;

When saving tables, the file extension {.nuc, .dead} will be appended to the end of the filename provided; filename.nuc will treated the same as filename. Files are stored on the microSD card.

Note
To clear the default table, send a zero length fileName with 0x30 or 0x40 nucReadWriteMode.
See also
Special note in SLAGetParameters_t regarding getting the ReadWriteNuc params.

Message ID 0x36

Byte Offset Name Description
4cameraIndexCamera Index
1500: only applies to camera index 2
5reservedReserved
6nucReadWriteModeFunction that will be performed on the filename
BitsValueDescription
0 - 30Do Nothing
1Save NUC Table
2Load NUC Table
3Save Dead Table
4Load Dead Table
5 - 15*Reserved*
4 - 70Do Nothing
1Set NUC Table to be loaded as default on startup
2Set Dead Table to be loaded as default on startup
3Clear NUC Table to be loaded, so that no table is loaded on startup. fileName is ignored in this mode.
4Clear Dead Table to be loaded, so that no table is loaded on startup. fileName is ignored in this mode.
5 - 15*Reserved*
7 fileName.len string length
8-...fileName.str Filename for NUC/Dead table to be acted on. See File Recording
NOTE: A blank filename will not be accepted unless nucReadWriteMode is 0x30 or 0x40.