12-12-2019 10:15 AM
I used a NI 9361 for counting and save the data to a file. The rate is set at 10 Hz, However, the saved X-value in the file is weird as following. I expected to save time in the X-value. Any one knows what the X-value means? and how to save time in the file?
| X_Value |
| 0 |
| 1 |
| 2 |
| 3 |
| 4 |
| 5 |
| 6 |
| 7 |
| 8 |
| 9 |
| 2.026 |
| 3.026 |
| 4.026 |
| 5.026 |
| 6.026 |
| 7.026 |
| 8.026 |
| 9.026 |
| 10.026 |
| 11.026 |
| 3.033 |
| 4.033 |
| 5.033 |
| 6.033 |
| 7.033 |
| 8.033 |
| 9.033 |
| 10.033 |
| 11.033 |
| 12.033 |
| 4.034 |
| 5.034 |
| 6.034 |
| 7.034 |
| 8.034 |
| 9.034 |
| 10.034 |
| 11.034 |
| 12.034 |
| 13.034 |
| 5.031 |
| 6.031 |
| 7.031 |
| 8.031 |
| 9.031 |
| 10.031 |
| 11.031 |
| 12.031 |
| 13.031 |
| 14.031 |
| 6.032 |
| 7.032 |
| 8.032 |
| 9.032 |
| 10.032 |
| 11.032 |
| 12.032 |
| 13.032 |
| 14.032 |
| 15.032 |
| 7.033 |
| 8.033 |
| 9.033 |
| 10.033 |
12-27-2019 01:03 AM
Dear qing,
If you want to save the data u need to create a shared variable and use it in the host vi and that shared variable must be linked to another variable by aliasing and that another variable must me call in the main vi so that you get the data in the main vi.