05-26-2011 03:37 AM
i am making a setup for the data acquistion using the Data acquisition card NI 6025 e and labview. i am reading the values of voltage and current of the batteries. i want to make the log file of all the data so that i can put that in equations. i am unable to make the log files. please help me in that
Solved! Go to Solution.
05-26-2011 03:54 AM
Logging the data is easy simply use the "Streaming to file concept". But how you want to store the data? in ascii or binary or any other format.You can also make use of the TDMS.. search the LabVIEW examples for more details. There are many examples for the same (search word "Binary", "ascii", "TDMS"
05-26-2011 04:29 AM
i would like to have the data in excel or text file
05-26-2011 06:38 AM
Yeah, so go ahead using a TDMS file....
You can use the free TDM Excel Add-In which allows you to read your files directly in Excel - so you'll get best of both worlds:
- super fast streaming performance
- readable by Excel
You can either use the version already shipping with LabVIEW or look for an update at: TDM Excel Add-In
Greetings from sunny Aachen
Stefan
05-27-2011 09:01 AM
If you're looking for how to get started with this, head over to the example finder (Help >> Find Examples).
Search "TDMS"
Pick one of the examples starting with "TDMS Streaming"
This should be able to get you a really good template to start from.
07-05-2011 01:48 PM
but myexamples are not working still it is saying NI service locator not working
i am unable to make it run
help me
07-05-2011 01:52 PM
how to select the data rate so that it loggs the data after every second
i save the data but it saves it with data rate i dont know
but causing problem
i want to logg data after every one second
help me
07-06-2011 10:20 PM
As far as your problem with the NI Service Locator is concerned, you can follow the steps in this KnowledgeBase article to clear that problem up. If you cannot find the NI Service Locator in your list of services, follow the same steps but instead with "NI System Web Server."
In order to log data every second, you could put your data logging function inside a loop alongside a 1000 ms wait function. However, I'm interested in why you need to log your data at such a strict interval. The act of saving a file to disk is a relatively slow process, why must it be done every second? What kinds of problems is it causing?
07-07-2011 12:05 AM
hi
first of all thanks that you showed interest in my work
1. i have found NI Servive locator but it is not running and when i try to run it i get error like " could not start the NI Service LOcator service on the local computer error: 2 the system cannot find the find the file specified"
2. i am building a data acquistion setup to acquire data from the batteries. i need to save this data in computer after every one second . now there are two types of data rates.
overall i want that it may read thousand of samples in a second but log data after every second.
3. i also need your help in logging it. right now i am logging data by clicking on wave form and and saving it to excel file. i want that it auto matically loggs the data in my computer untill my loop stops
plz help me in these regards
thanks
07-07-2011 02:06 PM
this is the vi file
plz correct it
i would be thankfull