ef_manu Posted May 20, 2013 Report Share Posted May 20, 2013 Hi, I am trying to acquire voltages from circuit. I got a waveform that I attached to this post. I just want signals from time .002 to .007 in that graph. For selecting particular sample, what will I do? I don't have enough knowledge in labvie... So please help me. Thanking you, Manu Quote Link to comment
Stagg54 Posted May 20, 2013 Report Share Posted May 20, 2013 It you only want to change what is displayed on the graph do the following:1. Right click on the x axis -> Deselect autoscale X2. Highlight the leftmost value on the x axis (in this case 0) and you should be able to change it to whatever you want. You can do the same thing for the leftmost value.If you want to actually remove the samples from the signal and then do some calculations, then it is more complicated. Quote Link to comment
crossrulz Posted May 20, 2013 Report Share Posted May 20, 2013 To programmatically get a subset of a waveform, use Array Subset. You will need to get the Y out of the waveform and figure out the start sample index (sample time/dt) and number of samples to grab ( (end time-start time)/dt + 1). 1 Quote Link to comment
Jordan Kuehn Posted May 20, 2013 Report Share Posted May 20, 2013 Two approaches. The first should be what crossrulz suggested. 1 Quote Link to comment
ef_manu Posted May 21, 2013 Author Report Share Posted May 21, 2013 Hi Jordan, crossrulz, stagg Thank you for your great reply.. Your help saved my time... I tried array subset method.. This is working fine in my case... Thank you all Manu Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.