04-30-2014 01:13 PM
Another seemingly simple question, I have four thermal couples attached to a NI 9211 4ch Module. I would like to be able to monitor the temperature real time on the front panel and then every 4 hours write the current values to Excel with a time and date stamp. Just like a data logger would do at a set time interval. This seems so simple but after hours of reading and tutorial videos I can’t seem to get anything to work the way I want. Any guidance would be greatly appreciated.
I have pressure gauges and a switch counter in my VI also attached to a NI9205.
Thank you,
Chad
Solved! Go to Solution.
04-30-2014 01:30 PM
04-30-2014 03:23 PM
As you can probably tell I’m pretty new to Labview programing. The write to file VI I have in the outer loop just counts how many times a reed switch is actuated. I found that code in an example online, there is probably a more efficient way of doing it but it works for what I want it to do. Not sure how I would wire it differently without Dynamic data I’m taking continuous samples with the DAQ Assistant. If I could figure out a way to also write my temperature readings to that same file that would be great but not sure if that’s an option. Thank you for your help.
04-30-2014 03:25 PM
As far as the mutiple stop buttons. I want only one but every time I tried to wire them together in differnt ways or remove either one it would give me an error.
04-30-2014 05:10 PM
05-01-2014 12:36 AM
05-01-2014 01:12 AM
05-01-2014 12:13 PM
Hi cdteo,
You can probably incorporate part of this code to your program for logging data to excel on a timed basis. The link shows an example that uses the "Elapsed Time" Express VI to log data at a user-defined time interval
Continuous Acquisition with Timed Write to File
https://decibel.ni.com/content/docs/DOC-2432
Good luck with your project
05-01-2014 01:05 PM
05-01-2014 04:03 PM
Hello cdteo,
I am sending you two examples that you might find useful for your application.
Regards
Ernesto
Application Engineer
National Instruments