The DncDataSet component can also be set from the standard Visual Studio property window, but a dedicated setting screen is provided.
To display the setting screen, please see Set the component properties.
From this setting panel, it is possible to set the buffer type, the data type stored in the buffer, and the buffer size.
This is valid when DncDataSet is referenced in the task settings of DncDaq.
Automatically set the DncDataSet according to the input task settings.
Referring component |
Input Task setting /Data Linkage setting |
Corresponding DncDataSet setting |
Setting content |
DncDaq |
Sampling settings |
Storage mode |
When enabled:
FIFO |
Access type |
Data type |
Analog: float |
|
Reference Channel/Bit/Port |
Data set unit |
The data set unit is set according to the number of channels, the number of bits, and the number of ports. |
|
DncFFT |
- |
Storage mode |
FIFO |
- |
Data type |
float |
|
Number of sampling channels |
Data set unit |
<If the linkage type is FFT/DFT Result> "Number of sampling channels +1" is set. Following "Frequency", the power spectrum for each channel is stored.
<If the Linkage Type is Smoothing Result or No Calculation> "Number of sampling channels" is set. |
②Reference task No.
Indicates the Task No. of DncDaq to be linked.
③Buffer Mode
Specifies the buffer mode for DncDataSet.
Item |
Description |
FIFO |
Run DncDataSet in FIFO buffer mode. |
RING |
Run DncDataSet in RING buffer mode. |
Variable |
Run DncDataSet in Variable mode. |
④Data Type
Item |
Description |
int32 |
Prepare an int32 type buffer. |
float |
Prepare a float type buffer. |
byte |
Prepare a byte type buffer. |
⑤Data Set Unit
Specifies the unit of data to write to the buffer.
For the image of data set unit, please refer to Basic Usage.
⑥Buffer Size
Specifies the prepared buffer size.
⑦Buffer Unit
Select the buffer unit from x1, x1000, x1000000.
⑧Use Memory Size
Indicates the total capacity of the buffer created. (This item is for display only.)
Memory size used = ⑤Data Set Unit x ⑥Buffer Size x ⑦Buffer Unit x ④Data Type (int32, float type is converted to 4Byte)
⑨Number of event occurrence data stored (Data Set Unit)
Sets the number to generate data storage event in units of datasets.
If this setting is 0, no data storage event will occur.
⑩Export button
Displays a dialog to save the setting information being edited in the ini file format (xxx.ini).
⑪Import button
Displays a dialog to specify the ini file format (xxx.ini) to be read.
⑫OK button
Saves the settings and closes the settings screen.
⑬Cancel button
Closes the settings screen without saving the settings.