WHICH INPUT CHANNEL HAS TO BE INITIALIZED , analog input CH or digital input CH for DC VOLTAGE?

HELLO,
i have DC voltage(2.5V) which i want to plot using NI USB 6255, whether i should use the analog input or digital HW channel has to be initialized.
even if i acquire data from digital i/o channel i will get logic 1 or logic0 so how to obtain the same voltage which i give as input
plz anyone help me
Manjunath

 採用された回答

Pedro Villena
Pedro Villena 2012 年 10 月 10 日
編集済み: Pedro Villena 2012 年 11 月 8 日

0 投票

If you want to plot the exact voltage in matlab, use an analog input channel. The digital channels are in TTL range voltage (0-5 volts), and if you adquire a signal of 2.5V, you will get a noisy digital signal [0 1].
or
Try to configure the analog channel in Differential Mode. In this mode, you gonna use 2 channels, one for posistive pole, and the other for negative pole.

2 件のコメント

MANJUNATH
MANJUNATH 2012 年 10 月 10 日
i want to plot 2.5V, its supply from battery (chargeable cell), i tried with analoginput but the plot was same even when the signal input was removed .
MANJUNATH
MANJUNATH 2012 年 10 月 11 日
thanks for the support Mr. Pedro Villena , problem got resolved , a grounded resistor was added before the signal being connected to DAQ.

サインインしてコメントする。

その他の回答 (0 件)

コミュニティ

カテゴリ

ヘルプ センター および File Exchange で Signal Generation, Manipulation, and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by