LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Policy of Disk File access (organize)

Hello,
I am facing a trouble for the stream data file access .
My project need to mount many PLC and FieldPoint modules ,so there are many I/O points(items) ,for each item ,I need to save its measured value to a binary file ,under the circumstance without using SQL Database ,I would like to organize these data into one stream file ,because creating a individual file for each item is not good . Can you give me an idea of how to make such a file access (organize) policy ? Your advise is highly appreciated .Thanks.

David
0 Kudos
Message 1 of 2
(2,806 Views)
Hello

You could create structs that would be organize according to devices and the channels associated with them, and then write the structs to a file. You could also just write ACSII rows and columns ( like Excel ). But its upto you to choose between storage space and code simplicity.

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 2
(2,806 Views)