06-16-2008 11:22 PM
06-17-2008 03:15 PM
06-18-2008 12:25 AM
But right now the req is
Please see the attached VI and help me in modifying with my requirement.
cheers,
Suneel
06-18-2008 05:45 PM
06-18-2008 11:33 PM
Thanks Jeremey,
Looks like this is the ideal example....
But right now i dont have enough effort hours left to implement it to my VI's....
But for sure out of my interest i will come on the weekend and work for it...
Thanks again for you help....
Now i am supporting one of our other project which need a proper timer concept...
Sorry for putting here but again needed ur help...
Requirement is something like this....
This i am trying to implement today....
Any help from your end is very much appreciable..
Cheers,
Suneel
06-19-2008 12:03 PM
Hi Suneel,
You could have your button press execute a case statement which gets the current value of the millisecond timer (Tick Count (ms) VI in the Timing palette), and then record the value again after your other button press, and then subtract the two.
06-29-2008 05:33 AM
Hi Jeremy,
This is Suneel, today i tried to impement waveform_extractor.vi to my program.
But unfotunately thats not working out.
I've attached the VI where i am getting broken arrows for the same logic of waveform extraactor .vi
also attached the .vi
Please repair it and re-send the same
Awaiting for ur reply
Cheers,
Suneel/svelamal
06-29-2008 07:09 AM - edited 06-29-2008 07:09 AM
That is because you have multi-channel sound data and the output of the Sound File Read is an array of waveforms. See image below:
I added an index array just to show you that there is in fact an array of waveforms. Now, the rest of the code will not be happy with dealing with a single waveform, and I do not know which channel information you want to deal with.
RayR
06-29-2008 10:59 PM
06-29-2008 11:49 PM
Joe/Jeremey,
I am facing some new issue with the VI,
Frequency and Duty cycle are coming but the problem is something like the JPG attached.
Its not frequent and only coming for a particular part of the waveform
Is it waveform (.wav) dependent, if so let me know how to debug this.
Attached the VI (modified), snapshot of error and also wavefile (.wav)
P.S: error coming only when the yellow lines selected to the first quarter of the wave.
Cheers,
Suneel.V