01-16-2009 11:50 AM
Dennis Knutson wrote:
From my point of view, you have relied on Ray to do every piece of LabVIEW coding and it is a personal project between the two of you.
I hope it is not a personal project between the two of us!! 😮
As I explained to kmous, I am extremely busy and don't have much time to help. What I am curious of is why others are not stepping in to help him out.
We help out by improving the code of other participants on this forum, so why should kmous be treated any differently?
The difficult part that I see is that there are additional requirements after a code change is posted.. For instance, the need to change the data filename as in kmous' last post...
I do encourage others to join in and look at his code.. Similar to what happened with krispikernals (I think that was the name). And hopefully this thread is coming to a close, right kmous?
RayR
01-16-2009 12:44 PM
<FORUM RANT ON> Why is there a shortcut key which deletes everything you type????? I just spent nearly 30 minutes providing detailed description on how to fix everything and as I wrote my name at the bottom, it CLEARED!!!! everything!!! I really don't feel like typing everything again!! <OFF>
kmous,
I need to find a way to describe how to do the changes and how you can learn from the code changes I did so that you can be self-sufficient in the future.. - sigh - 😞 I really don't have the luxury of time to retype everything..
I will do a much shorter version within your text below.. Sorry it will be short, but I will not retype everything.. This post won’t include all the detail and explanation as my original writing did..
1-Yes the stop button must stop the Daq and re-initialize the physical channel and also the Daq refresh time. so User can choose another settings (like another refresh rate, another Daq and maybe another file name).
I noticed something , if we stop the vi and do another test using same file , the daq keep writing on the same file ? can we manage that i a way that with new test and same file name , the daq will overwrite the data ?
In the producer loop (top) stop event, change “stop” state to “initialize”. In the stop state, put a DAQ close. Since initialize clears up everything as well as setting the filename, then it should be getting you closer to the solution. The way the file setting was done in the original code allows it to append to the file, in the save state. You can include a piece of code in initialize to look for the filename and delete the file if it already exists.
2-Yea you are right 🙂 The pause button must pause reading from the DAQ.
This will be tricky…. The reason is that although you are not reading the DAQ device, it continues to run and fills the buffer. Upon subsequent read, it reads all of what remains in the buffer. You should do a search on the forum to find out how others have implemented this.
3- i noticed sometimes , when i do start at the beginning , the line on the graph goes fast , this is normal i guess at the begining right ?
It is related to what was described in items 1 & 2 above.
Here what i meant in my previous msg : see attached.
the values are 1000 , 2000 etc so we divide by 1000 to get the 1 s , 2 s
Are you the original author of this code? If so then you should have known that the values were already in ms, so no need to multiply or divide anything.. This was confusing in the original code..
01-18-2009 02:42 PM - edited 01-18-2009 02:48 PM
I hope it is not a personal project between the two of us!! ![]()
As I explained to kmous, I am extremely busy and don't have much time to help. What I am curious of is why others are not stepping in to help him out.
We help out by improving the code of other participants on this forum, so why should kmous be treated any differently?
The difficult part that I see is that there are additional requirements after a code change is posted.. For instance, the need to change the data filename as in kmous' last post...
I do encourage others to join in and look at his code.. Similar to what happened with krispikernals (I think that was the name). And hopefully this thread is coming to a close, right kmous?
JoeLabView wrote:
Dennis Knutson wrote:
From my point of view, you have relied on Ray to do every piece of LabVIEW coding and it is a personal project between the two of you.I hope it is not a personal project between the two of us!! 😮
As I explained to kmous, I am extremely busy and don't have much time to help. What I am curious of is why others are not stepping in to help him out.
We help out by improving the code of other participants on this forum, so why should kmous be treated any differently?
The difficult part that I see is that there are additional requirements after a code change is posted.. For instance, the need to change the data filename as in kmous' last post...
I do encourage others to join in and look at his code.. Similar to what happened with krispikernals (I think that was the name). And hopefully this thread is coming to a close, right kmous?
RayR
My spirometry proleme , i did resolve it by my self since someone gave me an idea using built path and file dialog , so i did it my self.
when people step and help , i would be more happiest but since Ray was the only one who realy helps from his heart , then we were the only two who followed the thread. this is how people help !!!! RAY u are the best. I WILL SEND U AN EMAIL TO UR WORK ADDRESS
01-18-2009 07:07 PM
Hi kmous,
I am unhappy with Dennis' post. Let's take this offline.. Maybe I've over-extended my welcome at this site.
I didn't realize it was a private forum 😞
I won't put roadblocks to people who need help..
RayR
01-18-2009 08:52 PM
01-18-2009 10:00 PM
Michael,
You're right. I should have stayed out of the whole thing.
Ray,
If I have offended you, I apologize. You've had more patience and contributed a lot to this forum and I don't want to see you go anywhere.
01-20-2009 09:11 PM
Hi Dennis,
Sorry about the whinning...
I've been too tired to think straight... Over working and not having time for fun things or hobbies...
I'm sure this whole thing was a misunderstanding... sorry.
🙂
01-22-2009 01:37 PM
Raymond when do you usually check your work email address ?
thank you
01-28-2009 02:52 PM
kmous wrote:Raymond when do you usually check your work email address ?
thank you
udont check NI forum any more right 🙂 ? might be wong ahah
02-09-2009 03:32 PM
Could someone save the attached files in LV8.2 please ? Thank you