LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

oscillscope project


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!!  😄

Message 361 of 401
(2,265 Views)

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

Message Edited by JoeLabView on 09-24-2008 09:43 PM
Message 362 of 401
(2,244 Views)

Here's the code...

 

Download All
Message 363 of 401
(2,241 Views)
Message 364 of 401
(2,240 Views)
What a mess LOL i liked that one. I will get back to you soon , The length is the time in seconds so yea it is the seconds there , if you see the Popup I attached , the defauklt value is 20 sec for the length and 25 for sampling rate 🙂 i will get back to u
LV 8.2
0 Kudos
Message 365 of 401
(2,217 Views)

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:

LV 8.2
0 Kudos
Message 366 of 401
(2,216 Views)

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


 

Download All
Message 367 of 401
(2,196 Views)

You'll also need this one (eventually) 😉

Message 368 of 401
(2,195 Views)

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 .

LV 8.2
0 Kudos
Message 369 of 401
(2,172 Views)

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 ?

 

LV 8.2
0 Kudos
Message 370 of 401
(2,164 Views)