5. Solaris SDK
Description
Sets DDS multiplier value
Example
struct dds_command_t ddscmd;
ddscmd.cmd_id = COM_SET_DDS_MULTI;
ddscmd.data.cmd_byte[0] = DDS_MULTIPLY_BY_3;
ddscmd.cmd_len = 1;
ioctl (fd, DDSCOMMAND, &ddscmd);
Command 0x49
DDS period value
Description
Sets DDS period value
Example
struct dds_command_t ddscmd;
ddscmd.cmd_id = COM_SET_DDS_PERIOD;
ddscmd.data.cmd_number = period;
// [0, 0xFFFFFF]
ddscmd.cmd_len = 4;
ioctl (fd, DDSCOMMAND, &ddscmd);
Command 0x4A
DDS tuning word
Description
Sets DDS tuning word
Example
struct dds_command_t ddscmd;
ddscmd.cmd_id = COM_SET_DDS_TUNEWORD;
ddscmd.data.cmd_number = tuneWord;
ddscmd.cmd_len = 4;
ioctl (fd, DDSCOMMAND, &ddscmd);
Command 0x4F
pci_req_fw_ver
Description
Request firmware version
Example
/* Get Firmware Version */
get.arg = GETDATA_DTFW;
ioctl (fd, GETDATA, &get);
Command
0xF4,0xF5, 0xF6, 0xFE
pci_req_assembly
Description
Request Model, Serial Number, Assembly Number and Hardware FAB
Example
/* Get TFP Model */
get.arg = GETDATA_TFPMODEL;
- 216 -
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com