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

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.

Risposte (1)

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.

Categorie

Tag

Richiesto:

il 5 Giu 2019

Risposto:

il 5 Lug 2019

Community Treasure Hunt

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

Start Hunting!

Translated by