06-11-2012 09:05 AM
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....
Solved! Go to Solution.
06-11-2012 09:07 AM
My block diagram picture as reference...
06-11-2012 09:11 AM
You have mismatched data types. You need to convert from the express datatype to dbl
06-11-2012 09:33 AM
What happens if X is between 1 and 5? Y1 and Y2 = 0?
That logic is easily (and better) done in LV.
/Y
06-11-2012 09:54 AM
how to convert the express datatype to dbl??? can you show me...
06-11-2012 09:57 AM
if x=1, battery will charge until 5...if x=5, battery discharge until 1...y2=0 only show the charge/discharge waveform...
06-11-2012 10:22 AM
I already got the solution....thank you yenknip and yameada for helping me...thanks a lot
06-11-2012 12:33 PM
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