LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

continuous acquisition and recording - best method

I record four thermocouples when I press a button and can carry on recording for up to 2 hours until I press the button again. I want to take the whole data set and record it in a file and wondered what the best method was. I am using the following a the moment and wondered what your thoughts were
 
nice 
0 Kudos
Message 1 of 5
(3,735 Views)

Hi nice,

That is surely not the best way to achieve what you want to do.

The better way would be to save each iteration's values into the file as you acquire and keep appending to that file.

This is more effeicient as you are not using vi's memeory to save all the values in an array to save it finally.

Sometimes, if your data becomes too big, your VI might not be able to store all the data in its memory and eventually crash

Here is a better way to do it

Regards,

Dev

 

0 Kudos
Message 2 of 5
(3,709 Views)

would it be possible to get this in version 8 and not 8.2

What is with charging for changing within a version number are NI not making enough cash!!! At least have the decency to pretend you have done enough to change it to version 9 and make us pay

Message 3 of 5
(3,676 Views)

Oh sorry,

Just yesterday, I reverted back to LabVIEW 8.0 for some project requirement

I do not have any other system around with LabVIEW 8.2Smiley Sad

Could somebody with 8.2 please open the vi I attached, save it for 8.0 and help out our friend??

0 Kudos
Message 4 of 5
(3,667 Views)

Hi there

Here's the vi in 8.0.

Depending on the hardware you're using the measurements may be quite noisy. When I use thermo couples I take 20 or 30 readings at a faster scan rate and then average them out. If you do this over a power line cycle as well this will help to remove mains noise.

Ian

0 Kudos
Message 5 of 5
(3,659 Views)