01-28-2009 02:30 PM
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
01-29-2009 10:43 AM
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.
01-30-2009 12:31 PM
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.