LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

block diagram error

Solved!
Go to solution

Hi

 

I'm doing charge discharge cycle of battery using labview 2011.. On the block diagram, I using Formula Node to change the charge discharge operation when the battery reach certain level...the battery is connected to input DAQ assistant.. but when i connect the input DAQ assistant to formula node, an error appear....

Block Diagram Errors
-You have connected two terminals of different types.

Details
These cannot be wired together because their data types (numeric, string, array, cluster, etc.) do not match. Show the Context Help window to see what data type is required.
The type of the source is Dynamic Data.
The type of the sink is double [64-bit real (~15 digit precision)].

please help me....

0 Kudos
Message 1 of 8
(3,886 Views)

My block diagram picture as reference...

0 Kudos
Message 2 of 8
(3,885 Views)
Solution
Accepted by rosinah

You have mismatched data types. You need to convert from the express datatype to dbl

_____________________________
- Cheers, Ed
0 Kudos
Message 3 of 8
(3,877 Views)

What happens if X is between 1 and 5? Y1 and Y2 = 0?

 

That logic is easily (and better) done in LV. 

 

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 8
(3,862 Views)

how to convert the express datatype to dbl??? can you show me... 

0 Kudos
Message 5 of 8
(3,848 Views)

if x=1, battery will charge until 5...if x=5, battery discharge until 1...y2=0 only show the charge/discharge waveform...

0 Kudos
Message 6 of 8
(3,838 Views)

I already got the solution....thank you yenknip and yameada for helping me...thanks a lot

0 Kudos
Message 7 of 8
(3,826 Views)

Your second formula node makes no sense, it just changes the name of the variables. Simply move the Else to the 1st one and use those outputs.

 

/Y 

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 8
(3,806 Views)