LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Getting access to logged data during acquisition

I'm using the simple data logger that is in the Labview Examples. How can I get access to that same data as soon as it comes in so that I can use it in a Visual C++ program? I dont have access to Measurement Studios.
0 Kudos
Message 1 of 3
(2,514 Views)
Hello RipGurl,

Thank you for contacting National Instruments.

To get immediate access to your data, it would be best to acquire directly from Visual C++ (VC). You can download an example for this from the NI Developer Zone at:

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3E9EB56A4E034080020E74861&p_node=DZ52302&p_source=External

If you need to use LabVIEW to acquire and log your data, you will not be able to access the data in VC until LabVIEW has finished writing to the file.
If you wanted access to the data closer to its time of acquisition, you would have to alter your data logger to write to multiple, smaller files. For example, you could have your data logger write separate files for every 5 minutes of sampling. VC cou
ld then read those files as soon as LabVIEW has finished writing them.

I hope this helps,

Sean C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,514 Views)
Thanks. I actually came up with that solution but I was having a bit of a problem implementing/modifying the simple data logger since I'm quite new to LabView and am working with limited time.

I'm considering other solutions in LabView as well.

Thanks for your help.
0 Kudos
Message 3 of 3
(2,514 Views)