06-08-2012 09:38 AM
You're very strict, Dennis...
I am trying to learn how to do that, but I'm alone and I'm spending along time to do this job. I was just asking for some help... I didn't ask people to do my homework. I will have a look at that tutorial by the way, as I have a lot of them but I do not find them useful for my problem, it takes time to get familiar with Labview, especially for a newbie like me
06-08-2012 09:53 AM
Well, you said you looked at the example. It will start logging as soon as you click the run button and will stop when you click on the stop button. You said you wanted manual control and this provides exactly what you asked for. There are other examples such as Cont Acq&Graph Voltage-To File(Binary).vi that also display the acquired waveform and also include the manual stop.
Try something and if you run into problems, post your code. The people are much more responsive to help requests of that type instead of 'please give me the code' types.
06-08-2012 10:43 AM
I didn't ask for the code! there's a guy (namely crossrulz) who actually posted a VI image, I just wanted him to send me the original VI he built, in order to study each box with the context help button, it doesn't seem to me a lazy request... in any case, thank you for the advice and for the link to the videos, which I hadn't found yet...
06-08-2012 11:47 AM
There's the example code that ships with LabVIEW, as I mentioned in an earlier post to this thread:
"Help...Find Examples...Hardware Input and Output...DAQmx...Analog Measurements...Voltage...TDMS Logging -- Cont Log Data Only.vi".
You'll be able to use the context help -- or, better still, have access to the actual help files -- for each subVI. Have a look at that VI, I'm pretty sure it will help you. LabVIEW's Example Finder has a lot of great example code. I find it to be a really helpful resource.
(By the way...the functions that crossrulz shows in his snippet are found in the example VI I originally directed you to (and am directing you to again), which indicates that you didn't look at the example I mentioned. Try looking at it now.)
(Um, also...when you ask someone to post an original VI they built, you are asking for code. )
I'm not trying to be mean, but when three people try to point you in a direction and suggest places to look, and your response is to come back and ask for code, it leaves a certain impression. If you'd either looked at the example VI or followed the link I gave you, you would have found code -- so it's kind of clear that you didn't do either one.
I'm sorry if we upset you. Please try to see how it looks from our side of the fence. We are trying to help.
06-08-2012 12:12 PM
Dear Diane,
you're right, but I must have a problem in my installation of Labview and I couldn't open that specific example.... In this very moment I don't even have the installation DVD (I have to ask the IT centre) so I can't repair this problem either... I opened similar examples to understand how they work.
In any case thank you for the advice, I'm learning little by little how to operate Labview, surely in some time I won't bother you again with my simple for you, but for me not so straightforward questions...
Emanuele
06-08-2012 01:18 PM
Do check out the link I provided earlier then...I posted a VI there that will likely be helpful to you.
If you can't open the specific example I directed you to, of course that is not your fault. It's kind of strange that you can open the other DAQmx examples, but not that one. Hmm. Weird. I'm glad you can look at the other examples, they should help you a lot.
Also, crossrulz told you where on the palette to find the function he shows in his snippet(DAQmx...DAQmx Advanced Task Options...Configure TDMS Logging.vi), so you should have been able to find it and have a look at it on your own without his having to post it as a VI.
So, I think there's just a slight misunderstanding here. Asking questions because you don't know the answer makes perfect sense and no one will fault you for that. Asking questions and then not looking where you were told to look, or trying things you were told to try, does get folks a little irritated. I directed you to two places where you could find helpful code -- and instead of looking at them, you came back and asked for code. So you got kind of a sharp answer to that post.
In any case, as I said, I'm not trying to upset you or be mean. Asking questions is great. So is following the advice you're given. I think it was the second part you might have missed. Keep at it, and don't be afraid to experiment, read the LabVIEW help, and browse through the Example Finder. When you find yourself stuck (happens to all of us!), post your specific question along with what you've done to try to solve the problem yourself. We really are happy to give advice or point you in the right direction.
06-11-2012 01:38 PM
Dear Diane,
thank you a lot for your time and your advice.
Best wishes also for your work.
Emanuele