|
| 1 | +# DashR DAQ IV Curve Tracer |
| 2 | + |
| 3 | +Dash abstracts away all of the technologies and protocols required to build an interactive web-based application, and |
| 4 | +is a simple and effective way to bind a user interface around your R or Python code. To learn more about Dash, check out our |
| 5 | +[documentation](https://dashr.plot.ly/). |
| 6 | + |
| 7 | +## About the app |
| 8 | + |
| 9 | +`dashr-daq-iv-tracer` uses the graphic elements of Dash DAQ to create an interface for acquiring current-voltage I-V curves with a Keithley 2400 SourceMeter. |
| 10 | +[Try this demo app](https://github.com/plotly/dash-sample-apps/tree/master/apps/dashr-daq-iv-tracer) on the Dash Deployment Server. |
| 11 | + |
| 12 | +Also, you can access the Python version in the [Dash Gallery](https://dash-gallery.plotly.host/dash-daq-iv-tracer/). |
| 13 | +### IV Curves |
| 14 | + |
| 15 | +I-V curve is a good way to characterize electronic components (diode, transistor or solar cells) and extract their operating properties. It is widely used in electrical engineering and physics. |
| 16 | +The Keithley 2400 SourceMeter provides precision voltage and current sourcing as well as measurement. |
| 17 | + |
| 18 | +### dashr-daq |
| 19 | + |
| 20 | +[Dash-DAQ](https://www.dashdaq.io/) is a data acquisition and control package built on top of Plotly's |
| 21 | +[Dash](https://plot.ly/products/dash/). It comprises a robust set of controls that make it simpler to integrate data |
| 22 | +acquisition and controls into your Dash applications. |
| 23 | + |
| 24 | +## Getting Started |
| 25 | + |
| 26 | +### Controls |
| 27 | + |
| 28 | +- Single measurement mode: Adjust the value of the source with the knob at the bottom of the graph area and click on the `Single Measure` button, the measured value will be displayed. Repetition of this procedure for different source values will reveal the full IV curve. |
| 29 | + |
| 30 | +- Sweep mode: Set the sweep parameters `start`, `stop` and `step` as well as the time spent on each step, then click on the button `Start Sweep`, the result of the sweep will be displayed on the graph. The data is never erased unless the button `Clear Graph` is pressed, or if the source type is changed. |
| 31 | + |
| 32 | +- Dark/light theme: Click on theme toggle on top of the page to view dark/light layout. |
| 33 | + |
| 34 | +### Running the app locally |
| 35 | + |
| 36 | +Clone the git repo: |
| 37 | + |
| 38 | +``` |
| 39 | +git clone https://github.com/plotly/dash-sample-apps |
| 40 | +cd dash-sample-apps/apps/dashr-daq-iv-tracer |
| 41 | +``` |
| 42 | + |
| 43 | +Run `Rscript init.R` to install all of the required packages |
| 44 | + |
| 45 | +Run `Rscript app.R`: |
| 46 | + |
| 47 | +The app should automatically open in your default browser. If it does not, navigate to 127.0.0.1:8050. You should see something like this: |
| 48 | + |
| 49 | + |
| 50 | +## Screenshots |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
0 commit comments