05-14-2011 08:00 AM
Hi Im tring to read tow signals from an oscilloscope in different frequencies and making Amplitude/Frequensy tables for each of signals. but in my program I have tow problems.
1. During reading from the oscilloscope and writing to the textfile I get the whole array af the graf i.e (Amp/Time) but I only need the Pick to Pick value of the Amplitude not the whole array(not the whole array) .
2. I can't read the signal from chanel 2.
thanks for your help
Solved! Go to Solution.
05-14-2011 09:34 AM
1. You put the code in there to record the whole arrays and you did not put any code in there to fetch the Peak to Peak reading and record that. You can calculate the peak to peak with LabVIEW or use the scope to measure it.
2. Is the second trace visible on the scope?
Your code is very inefficient. You don't want to configure everything with each iteration. The only things that should be in the loop is the initiate and fetches. Also, the stacked sequence structure is unnecessary.
05-14-2011 10:07 AM
thanks for your quick answer
1. If there is a function in labview to return the Pick to Pick value of the measurement , could you please mention it.
2. No the second trace is not visable in the scope.
You are right, I althought recognized that there are som unnecessary parts in the loop but I didnt know exactly wich parts I could move out from the loop.
05-14-2011 10:52 AM
the first problem is solved now, I found the function, now Ihave the Amp/Freq table.