You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README(en).md
+20-20Lines changed: 20 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
[English](./README(en).md) | [中文](./README.md)
4
4
5
-
NEVSTOP TagDB is an advanced data management library designed specifically for the LabVIEW environment, providing efficient reading, writing, storage, and sharing of configuration and Tag data. Through optimized data structures and caching mechanisms, it offers reliable data persistence and real-time data access solutions for LabVIEW applications.
5
+
NEVSTOP TagDB is an advanced data management library for LabVIEW, providing efficient read/write, storage, and sharing of configuration and Tag data. With optimized data structures and a built-in caching layer, it delivers reliable data persistence and real-time access for LabVIEW applications.
6
6
7
7
## Directory Structure
8
8
@@ -25,7 +25,7 @@ NEVSTOP TagDB is an advanced data management library designed specifically for t
25
25
26
26
### 1. Flexible Data Storage
27
27
- Supports persistent storage of configuration data and Tag data
28
-
-Automatically supports conversion and storage of all LabVIEW data types through VIM (VI Macro)
28
+
-Supports read/write and automatic type conversion for all LabVIEW data types via VIM (VI Macro)
29
29
- Specially optimized for Reference type data to ensure efficient storage and retrieval
30
30
31
31
### 2. Multi-thread Safety
@@ -34,9 +34,9 @@ NEVSTOP TagDB is an advanced data management library designed specifically for t
34
34
- Supports data access and synchronization across VIs and tasks
35
35
36
36
### 3. High Performance Design
37
-
- Implements efficient caching mechanism for fast data access
37
+
- Implements an efficient caching mechanism for fast data access
38
38
- Optimized data structures to reduce memory usage and improve retrieval efficiency
39
-
- Supports name-based DBRef acquisition method, similar to LabVIEW Named Queue, simplifying programming patterns
39
+
- Supports name-based DBRef lookup (similar to LabVIEW Named Queue), simplifying cross-VI data access patterns
| TagDB-Set Lock.vi | Locks/unlocks TagDB to restrict or allow adding new Tags |
81
81
82
82
### Utility Functions
83
83
@@ -94,20 +94,20 @@ NEVSTOP TagDB is an advanced data management library designed specifically for t
94
94
## Best Practices
95
95
96
96
### Data Management
97
-
-**Data sharing in multi-threaded environments**: Use TagDB as a data sharing center between multi-threaded applications, avoiding the use of global variables
98
-
-**Configuration information storage**: Store system configuration information in TagDB for easy import/export and version control
99
-
-**Temporary data caching**: Utilize TagDB's caching functionality to achieve asynchronous updates and fast access to data points
100
-
-**Control reference management**: Store LabVIEW frontpanel control References for convenient dynamic UI manipulation
97
+
-**Multi-threaded data sharing**: Use TagDB as a shared data hub across threads, replacing global variables
98
+
-**Configuration storage**: Store system configuration in TagDB for easy import/export and version management
99
+
-**Temporary data caching**: Leverage TagDB's caching to enable asynchronous updates and fast access to data points
100
+
-**Control reference management**: Store front-panel control References for dynamic UI manipulation
101
101
102
102
### Performance Optimization
103
-
- For frequently accessed data, consider using TagDB's caching mechanism
104
-
-When performing bulk data operations, properly use batch operation functions to improve efficiency
105
-
-Appropriately use the locking feature to prevent data modification during critical operations
103
+
- For frequently accessed data, make use of TagDB's caching mechanism
104
+
-For bulk data operations, prefer batch operation functions to improve efficiency
105
+
-Use the locking feature during critical operations to prevent unintended data modification
106
106
107
107
### Debugging Techniques
108
-
- Use the three built-in Probe tools to monitor the status and data changes of TagDB during runtime
109
-
-Regularly check the database status using TagDB-Status.vi to detect issues in a timely manner
110
-
- Use TagDB-Change Detector.vi to monitor changes in specific Tags, facilitating debugging of complex interaction logic
108
+
- Use the three built-in Probe tools to monitor TagDB state and data changes at runtime
109
+
-Periodically check database status with TagDB-Status.vi to catch issues early
110
+
- Use TagDB-Change Detector.vi to watch specific Tags for value changes, aiding in debugging complex interaction logic
111
111
112
112
## Example Programs
113
113
@@ -117,14 +117,14 @@ The library includes multiple example programs demonstrating usage in different
117
117
-**TagDB Application Example**: Practical application demonstration with a complete model configuration system
118
118
-**TagDB For Control Reference.vi**: Example of handling Reference type data for UI controls
119
119
-**TagDB Multi-Thread Example**: Usage example in multi-threaded environments
120
-
-**TagDB Read Data Example.vi**: Comprehensive example showing various reading operations including single read, elementname read (for Cluster data), and regular expression read
121
-
-**TagDB Write Data Example.vi**: Comprehensive example demonstrating various writing operations including single write, elementname write (for Cluster data), and recursive data structure write
120
+
-**TagDB Read Data Example.vi**: Comprehensive read example covering single read, element-name read (for Cluster data), and regular expression read
121
+
-**TagDB Write Data Example.vi**: Comprehensive write example covering single write, element-name write (for Cluster data), and recursive data structure write
122
122
-**TagDB Using regexp Example.vi**: Regular expression query example
123
123
-**TagDB Refresh UI Value.vi**: UI value refresh example, showing how to update UI control values in real-time
124
124
125
125
## Installation Instructions
126
126
127
-
Install the VIP package using VIPM (VI Package Manager)
127
+
Install the VIP package using VIPM (VI Package Manager).
0 commit comments