LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you save waveform data w/ a variable iteration?

Solved!
Go to solution

No one is responding to my posts, Ive put three up in the last hour, does no one know how to do this? I don't think that is the problem.

Please help me, I need to save the waveform data however many times a second as the user says to, I have an already made "iteration timer" but it doesn't do anything.

Please, if you can, help me, I am using LV8.5.1.

 

Thank you

 

(I am a very new user.)

0 Kudos
Message 1 of 34
(3,953 Views)

Nick B. wrote:

No one is responding to my posts, Ive put three up in the last hour, does no one know how to do this? ...

Thank you

 

(I am a very new user.)


 

calling our knowledge into question is not going to get you an answer faster.

 

I (and everyone else that has a gold themed icon under thier name) are all just volunteers.

 

Speaking for myslef I am on-site with only 8.2 available so I can't help you with your code but I can give some advise.

 

1) The clearer your Q is the faster you will get an answer.

 

2) Post an image of your code and anyone can see it with having the right version.

 

3) Be very specific in what you are attempting, what you have tried and where you are having trouble.

 

4) Normal turn-around time for NI to reply to threads is 3-4 days so if you want a fst answer make it easy for the volunteers.

 

Ben

 

Message Edited by Ben on 08-19-2009 12:16 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 34
(3,941 Views)

I was not attacking anyone's knowledge, I did the opposite, I was saying I was pretty certain that people know how to do this, I myself, know nothing.

 

My code is really large, do you know how I could shrink it, or should I just post two full page pictures?

 

Sorry for any misunderstanding.

0 Kudos
Message 3 of 34
(3,935 Views)

Nick B. wrote:

No one is responding to my posts, Ive put three up in the last hour, does no one know how to do this? I don't think that is the problem.


I guess you are referring to this post. Sorry, most people know what a variant is, but a variant iteration stumped me, especially since the post only contained a few words. 😉

 

Don't post the same question multiple times! Please go back to all your questions and add a link to the one you want answered to avoid duplicate work.

 

0 Kudos
Message 4 of 34
(3,931 Views)

Ah sorry, I thought when they became a closed file icon with a down arrow that meant something... I don't know why I thought that, by variable iteration, I meant, I would be able to have a certain while/case loop iterate at a variable time, such as every 500ms.

 

Regarding my million separate questions, is it possible to delete other, previous questions? And I don't know much about anything, sorry for inconveniences.

0 Kudos
Message 5 of 34
(3,924 Views)
Parts.jpg
Message Edited by Nick B. on 08-19-2009 12:46 PM
0 Kudos
Message 6 of 34
(3,908 Views)

Hopefully that'll help someone know what Im talking about...

Or maybe it wont... Smiley Sad

0 Kudos
Message 7 of 34
(3,904 Views)

Search this forum for "Producer/Consumer".

 

That is a standard design pattern that uses one process (loop) to gather data and then using a Queue pass the updates to the Consumer. The consumer would be your data logging loop.

 

Jut make sure the acq is running faster than the max an toss the extra in the consumer.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 8 of 34
(3,875 Views)

By a 'variable iteration' do you mean you want to only save every 10th iteration (for example)?

You can do this with a little boolean logic:

 

variable save.PNG

 

This will let the user control how often to save, using the 'variable' control.


For example, if the user input : 10

The program would save on the 10th, 20th, 30th... etc iterations.

Cory K
0 Kudos
Message 9 of 34
(3,849 Views)

Oh, ok, and how long the iterations are would be decided by the box with the "i" in it?

I think I have a very confused idea of what an "iteration" is, by iteration, I meant a save (or a time gap between saves).

So I wanted the VI to save every n seconds. N being the number I plugged into the box.

Message Edited by Nick B. on 08-19-2009 02:26 PM
0 Kudos
Message 10 of 34
(3,843 Views)