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

3 次查看(过去 30 天)
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
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 个)

社区

更多回答在  Power Electronics Control

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by