LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

stop without exit


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

Message 41 of 51
(2,944 Views)

<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..


 

Message 42 of 51
(2,931 Views)

I hope it is not a personal project between the two of us!!  :smileysurprised:

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

Message Edited by kmous on 01-18-2009 02:48 PM
LV 8.2
0 Kudos
Message 43 of 51
(2,907 Views)

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

Message 44 of 51
(2,893 Views)
Hey Dennis, just like they say on TV, if you don't like the show, don't watch!


Michael Aivaliotis
VI Shots LLC
Message 45 of 51
(2,873 Views)

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.

Message 46 of 51
(2,859 Views)

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.

 

🙂

Message 47 of 51
(2,776 Views)

Raymond when do you usually check your work email address ?

thank you

LV 8.2
0 Kudos
Message 48 of 51
(2,734 Views)

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

LV 8.2
0 Kudos
Message 49 of 51
(2,662 Views)

Could someone save the attached files in LV8.2 please ? Thank you

 

LV 8.2
0 Kudos
Message 50 of 51
(2,572 Views)