LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

savind data with time stamp

Hello
 
I have this program (attached) with a 'write to measurment file'. The problem i have is that i want 4 signals saved and he only saves 1000 samples and then he stops. He just has to save all the samples from every channel.
 
And when I want to measure Dc voltages he only has to take 1 point per second or per minute. How can I change this easy?
0 Kudos
Message 1 of 13
(3,565 Views)

Hi stekkie,

you write only the data from the last iteration to the file. Use a shift register to store your data over the whole time or write it in every iteration to the file.

Mike

0 Kudos
Message 2 of 13
(3,547 Views)
Hi,
 
I'm not getting it right i guess... i can't find a 'shift register' in the functions palette? and what do you mean with an iteration?
 
thx in progress!!
0 Kudos
Message 3 of 13
(3,544 Views)

Hi stekkie,

to get a shift register, right click on your while loop and there it is. Here is an example for you.

Mike

0 Kudos
Message 4 of 13
(3,539 Views)

Thank you Mike

But it's seems not te be working over here... when I press the enable button he isn't logging the data. I tried to put the 'write to measurment file' in the loop but then i have the same problem. Maybe I have to change anything to box at the left where this stands in: "00:00:00,000 - DD/MM/YYYY"?

bye

0 Kudos
Message 5 of 13
(3,508 Views)
Hi stekkie,
sorry for that, try this one.
Mike


Message Edited by MikeS81 on 05-06-2008 10:30 AM
0 Kudos
Message 6 of 13
(3,505 Views)

Hi Mike

I really appreciate your help but it's seems that the data stops just when it reaches the outgoing shift register. I runned with 'highlite execution' and saw that he stops there. I tried several things but it's not coming true.

thx in advance

stekkie

0 Kudos
Message 7 of 13
(3,498 Views)

Hi stekkie,

i don´t know what you mean. I get data and can save it. Can you upload your vi, with your values saved as default?

Mike

0 Kudos
Message 8 of 13
(3,495 Views)
I don't get it either... Can you explain to me short what your circuit does? I am new to labview so I have to search everything for myself 🙂
0 Kudos
Message 9 of 13
(3,490 Views)
Hi stekkie,
i get the data over several cycles with timestamp=current time and dt=1. I have only a simulated card. Where do you get an error?
Mike
0 Kudos
Message 10 of 13
(3,472 Views)