Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help formatting info.

I've been trying to save a temp. reading every 5 secs. I have a daqbook w/ a dbk82 using 15 type T thermocouples.With the example i hae the text file saves as so, 5 secs, 10 secs, 15secs..etc then the temps. also it isn't taking just one reading from each channel, its taking more like 10. how do i get 1 reading taken from each chaael every 5 secs....without lagging the rest of the system for 5 secs.
0 Kudos
Message 1 of 3
(2,674 Views)
here is the example
0 Kudos
Message 2 of 3
(2,674 Views)
Hello VinnyC,

What hardware are you using to read the temperature? Is the dbk82 hardware that acquires temperature or are you using National Instruments hardware?

Your example just has the file I/O stuff and doesn't contain anything relating to the acquisition. If you have NI hardware you are acquiring with and are having problems I could help you out with that.

It seems to me that you will just need to acquire 1-point at a time in the case structure. You have the case structure setup to write to the file every 5 seconds, so if you read one point within the case structure and write that to file within the case structure, this should solve your problem. If you are using an NI DAQCard, you could use the 'AI Sample Channels VI' within the case which takes one
sample from each channel each time it's called.

I hope this helps.

Regards,

Todd D.
NI Applications Engineer
0 Kudos
Message 3 of 3
(2,674 Views)