LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Showing digital pulse from SCC-DI01 into waveform graph

HI,

 

I am trying a simple VI to read battery voltage. The problem comes when I try to connect the "data assistant" block to the "waveform block" ... it show the bad connection.

 

Error mssg: you have connected two terminals of different types. The type of the source is boolean ..... the type of the sink is dobule.

 

Specs: Labview 8.5.1, SC-2345 connector block, SCC-DI01 digital input module, PCI-6251 DAQ Card.

 

Thanks,

Sine

0 Kudos
Message 1 of 3
(2,591 Views)

Hi,

 

If you are trying to get a measure of the volts given by you battery I am afraid you cannot use this module since it is intended for digital input/output, not analogical. However, you can still get to know if you battery is working or not. This module can detect a positive voltage as a digital 1 or zero voltage as a digital 0. Thus, when acquiring a signal with this module, all data will be represented as a boolean array. If you want to represent this signal, you can convert it to a 16-bit integer using the VI Boolean to (0,1) which can be found in the conversion palette.

 

Best regards.

0 Kudos
Message 2 of 3
(2,568 Views)

Hello,

 

I assume you are using your PCI card to acquire this voltage input? Could you tell me more about your code or post a screen shot? If you are using the Daq assistant, you can connect the output to a Numeric Indicator or Graph Indicator to read the voltage.

 

Regards,

 

Anna K.

National Instruments
0 Kudos
Message 3 of 3
(2,553 Views)