09-24-2008 03:41 PM
kmous wrote:
Every thing is there , the lengh means the time in seconds so you change the length of time on Scale X but why u are asking about this ? we gonna have to add this to the header file only same for Samples to be collected 🙂 is this hard ?
You mean, the only thing you were asking was to add the existing length (sorry.. I did not see it earlier.. I will look for it) to the header?
LOL!! yep.. that should be easy..
I totally didn't get that one I must be due for a vacation... LOL!! 😄
09-24-2008 08:41 PM - edited 09-24-2008 08:43 PM
The forum is not helping with timeouts and me having to retype what I wrote... It's not helping.. 😠
Enough bickering about the forum... There's plenty with the code I've been seeing.. 😮
Wow. What a messy code! It's full of Local Variables! Whoever wrote it should take some LV courses!
I've modified the code. But there are a few things you didn't specify. For instance..
Length is NOT a variable. It is a free label. I am guessing that you wanted seconds. I hope you wanted seconds because that is what you are gettiing. Have you looked at the code at all? I attach it to this post.
Also, since you did not specify a default value for length, the header may have zero since nothing was specified.. It should be the value specified if you do select to enter the seconds.. Otherwise, hopefully a zero will magically appear if nothing is specified. I won't test that hypothesis..
I wrote a whole bunch of stuff which I've forgotten plus I'm too tired to even try to think about it.
So here goes.. See attached..
09-24-2008 08:45 PM
Here's the code...
09-24-2008 08:47 PM
09-25-2008 08:08 AM
09-25-2008 08:29 AM
Ray , Yea i saw that the default value is 0 😞 I want it 20but dont worry I DID MODIFY IT and it is working fine 🙂
Can we also add Samples to be collected to the header file ? I asked for that already 🙂
UMM Just of of curiosity , can we add a letter behind the cell or just beside it indicate that second cell is : Sampling rate , Third cell is Length(time/s) third cell : samples to be collected ?
Btw the VI is missing the save to file POPUP (Prompt popup to save a file) 😞
Thank you RAy:manhappy:
09-25-2008 09:45 PM
kmous wrote:Item 1: default value of 20.. DOne
Item 2: add Samples to be collected ( I asked for that already 🙂 ) - you did? I placed a hook. Can be done.
Item 3: add a letter to indicate that second cell is : Sampling rate , Third cell is Length(time/s) third cell : samples to be collected ? <= you mean 4th cell, right?
Can be done with item 2. Why not simply put the names instead of a letter. If a letter which letter do you want? A, B, C? or S, L, S? that last one would be confusing..
Item 4: save to file POPUP (Prompt popup to save a file) - Done
09-25-2008 09:46 PM
You'll also need this one (eventually) 😉
09-26-2008 10:42 AM
Item 3: add a letter to indicate that second
cell is : Sampling rate , Third cell is Length(time/s) third cell :
samples to be collected ? <= you mean 4th cell, right? YES SORRY 😞 my mistake
Can be done with item 2. Why not simply put the names instead of a letter. If a letter which letter do you want? A, B, C? or S, L, S? that last one would be confusing..Sure Yea we put names is that easy to do ? 🙂 ?
I will look at the new code now .
09-26-2008 11:31 AM
Ray , I want also the popup to save the file by writing a name in the path line , I mean I dont want students to look for .xls file , i want them to write it in the path (i dont want to create .xls files and then browse for them) do you understand me ?