12-05-2019 09:30 AM
I am tasked with using a function generator to send a voltage across a diode and measure the voltage of the diode with an oscilloscope and then use this data to plot current versus voltage then record a second diode.
I have the part of changing the voltage on the function generator and reading the voltage on the oscilloscope but I cannot figure out how to record the data (onto any file) and read the data back to use for a plot or for a formula. I've tried messing around with write to measurement file but don't understand it and am not sure if recording on Excel would be better.
Attached is what I have so far. Please help.
12-05-2019 10:04 AM
I would just use Format Into String to create a tab delimited text (Set Voltage and then measurement) and use Write To Text File to write that string. Of course, you need to use the Open/Create/Replace File before your loop and Close File after your loop.
12-09-2019 04:17 PM
Is there any way you could show me? I'm not too well versed in this based off of the class I'm in and I'm not getting help from my prof.
12-09-2019 11:24 PM
I've somewhat figured out that I don't need to save the data to a file but instead I can use the data directly. The problem I face now is plotting. I've made some progress; can anyone help?