Is it possible to calculate ohm law with data acquired with a daq using matlab script?

2 views (last 30 days)
Hello everyone, I would like to know if is it possible to obtain voltage data with a daq or usb 6009 to calculate ohm law continuously? for example with a variable voltage source, vary the voltage and by means of the daq acquire the voltage data and with matlab calculate the current flowing through a resistance constantly?.
I would appreciate if someone could help me please.

Answers (1)

Tatvam Dadheech
Tatvam Dadheech on 5 Jul 2019
Yes you can acquire voltage data using digital trigger. Following documentation explains how daq command can help you do the same:
I assume that the resistance constant value have been defined and now that shold help you find the current and thus verify Ohms law.

Categories

Find more on Periodic Waveform Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!