10-23-2006 04:10 AM
10-24-2006 01:46 PM
Hi,
While it may be easy to say that everything looks fine with the code, it can be very difficult to see the big picture and understand the exact problems without being able to see the data being produced. It would be very helpful if you could include some of the "chaotic" data, in the form of either a front panel screenshot or, better yet, just include your VI in a form that others could use to test (this would require simulated data, of course).
Peter
12-19-2006 11:20 PM
Hi,
Sorry for the very late reply. I was trying to rectify the problem myself all this while, but I am still having problems. Attached is the vi which I had made.
For verifying purpose, my input wave (the one to be captured) is 100Hz, Vpp=3V and my triggering wave is 5Khz. The sample rate is 600k and the no, of samples to read is 50. Ideally, i should be having 25trigger points per waveform of the 100hz wave and after each trigger i should have 50 data points, so it is something like trigger, read 50 points, wait for the next trigger etc. I also attempt to record the time for each trigger.
The data which i collected is quite disappointing as i cannot see the 50 points after each trigger, and also the time which i recorded is not correct as in the period of the wave is not 1ms but 15s instead.
Pls kindly take a look at the vi and point out any mistakes which i have made. Really appreciate your help.
Thanks.
Regards,
lfw
12-20-2006 07:12 PM