-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathNiFpga_OpenScanFPGAHost.h
More file actions
92 lines (79 loc) · 3.35 KB
/
Copy pathNiFpga_OpenScanFPGAHost.h
File metadata and controls
92 lines (79 loc) · 3.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/*
* Generated with the FPGA Interface C API Generator 15.0.0
* for NI-RIO 15.0.0 or later.
*/
#ifndef __NiFpga_OpenScanFPGAHost_h__
#define __NiFpga_OpenScanFPGAHost_h__
#ifndef NiFpga_Version
#define NiFpga_Version 1500
#endif
#include "NiFpga.h"
/**
* The filename of the FPGA bitfile.
*
* This is a #define to allow for string literal concatenation. For example:
*
* static const char* const Bitfile = "C:\\" NiFpga_OpenScanFPGAHost_Bitfile;
*/
#define NiFpga_OpenScanFPGAHost_Bitfile "NiFpga_OpenScanFPGAHost.lvbitx"
/**
* The signature of the FPGA bitfile.
*/
static const char* const NiFpga_OpenScanFPGAHost_Signature = "1231F3EA55E51420E4B49A468F928016";
typedef enum
{
NiFpga_OpenScanFPGAHost_IndicatorBool_Averagedimagedisplayed = 0x10032,
NiFpga_OpenScanFPGAHost_IndicatorBool_FrameGalvosignalwritedone = 0x1006A,
NiFpga_OpenScanFPGAHost_IndicatorBool_Frameacquisitionfinish = 0x1002E,
NiFpga_OpenScanFPGAHost_IndicatorBool_Framewaveformoutputfinish = 0x1003E,
NiFpga_OpenScanFPGAHost_IndicatorBool_Imageaveragingdone = 0x10036,
NiFpga_OpenScanFPGAHost_IndicatorBool_WriteDRAMdone = 0x1006E,
} NiFpga_OpenScanFPGAHost_IndicatorBool;
typedef enum
{
NiFpga_OpenScanFPGAHost_ControlBool_CustomizedKalmangain = 0x10012,
NiFpga_OpenScanFPGAHost_ControlBool_Done = 0x1001E,
NiFpga_OpenScanFPGAHost_ControlBool_Enabledetector = 0x10006,
NiFpga_OpenScanFPGAHost_ControlBool_Enablescanner = 0x1000A,
NiFpga_OpenScanFPGAHost_ControlBool_ReadytoScan = 0x1002A,
NiFpga_OpenScanFPGAHost_ControlBool_WriteDRAMenable = 0x10076,
NiFpga_OpenScanFPGAHost_ControlBool_WriteFrameGalvosignal = 0x1007E,
} NiFpga_OpenScanFPGAHost_ControlBool;
typedef enum
{
NiFpga_OpenScanFPGAHost_ControlU16_Current = 0x10022,
NiFpga_OpenScanFPGAHost_ControlU16_Filtergain = 0x1001A,
NiFpga_OpenScanFPGAHost_ControlU16_Kalmanfactor = 0x1003A,
} NiFpga_OpenScanFPGAHost_ControlU16;
typedef enum
{
NiFpga_OpenScanFPGAHost_ControlI32_Elementsperline = 0x10048,
NiFpga_OpenScanFPGAHost_ControlI32_Numberofframes = 0x10064,
NiFpga_OpenScanFPGAHost_ControlI32_Numofundershoot = 0x10054,
NiFpga_OpenScanFPGAHost_ControlI32_Pixelclock_pulsewidthtick = 0x10040,
NiFpga_OpenScanFPGAHost_ControlI32_Pixelpulse_initialdelay = 0x10058,
NiFpga_OpenScanFPGAHost_ControlI32_Pixeltimetick = 0x10050,
NiFpga_OpenScanFPGAHost_ControlI32_Resolution = 0x10044,
} NiFpga_OpenScanFPGAHost_ControlI32;
typedef enum
{
NiFpga_OpenScanFPGAHost_ControlU32_Frameretracetime = 0x1005C,
NiFpga_OpenScanFPGAHost_ControlU32_Galvosignal = 0x10024,
NiFpga_OpenScanFPGAHost_ControlU32_MaxDRAMaddress = 0x10000,
NiFpga_OpenScanFPGAHost_ControlU32_Numofelements = 0x1004C,
NiFpga_OpenScanFPGAHost_ControlU32_Samplesperframecontrol = 0x10060,
NiFpga_OpenScanFPGAHost_ControlU32_Totalelements = 0x10070,
NiFpga_OpenScanFPGAHost_ControlU32_maxaddr = 0x10078,
} NiFpga_OpenScanFPGAHost_ControlU32;
typedef enum
{
NiFpga_OpenScanFPGAHost_TargetToHostFifoU32_TargettoHostFIFO2 = 3,
NiFpga_OpenScanFPGAHost_TargetToHostFifoU32_TargettoHostFIFO3 = 2,
NiFpga_OpenScanFPGAHost_TargetToHostFifoU32_TargettoHostFIFO4 = 1,
NiFpga_OpenScanFPGAHost_TargetToHostFifoU32_TargettohostFIFO1 = 0,
} NiFpga_OpenScanFPGAHost_TargetToHostFifoU32;
typedef enum
{
NiFpga_OpenScanFPGAHost_HostToTargetFifoU32_HosttotargetFIFO = 4,
} NiFpga_OpenScanFPGAHost_HostToTargetFifoU32;
#endif