02-06-2025 12:34 PM - edited 02-06-2025 12:45 PM
Hi @ altenbach
There is something wrong. Indicated data are wrong. The graph of mass flow rate? The timer cause error when stop the while loop.
How can fix these issues?
Thanks
Alhabeeb
02-06-2025 01:47 PM - edited 02-06-2025 01:48 PM
Hi alhabeeb,
@alhabeeb wrote:
Indicated data are wrong. The graph of mass flow rate? The timer cause error when stop the while loop.
You really need to learn to provide useful information with your questions!
02-06-2025 05:36 PM
@alhabeeb wrote:
Hi @ altenbach
There is something wrong. Indicated data are wrong. The graph of mass flow rate? The timer cause error when stop the while loop.
How can fix these issues?
The word "something" is an understatement here!
Why would you replace the large index array with a few shorter ones? Your start indices are obviously wrong, they should be 5 and 9, not 6 and 10. Also if you want to start with index=zero, you don't even need to wire that.
As has been mentioned, do NOT use value property nodes, just wire as before. (You currently cannot tell if the property is read before or after the terminal has been written, but the outcome depends on that. Race condition! Property nodes are also computationally very expensive).
There is no "timer" that can cause any errors.
02-07-2025 03:56 AM
@ GerdW
I really appreciate what you have done to me. Let's make my question clear ^_^
Dear @ altenbach,
1- Why did you replace saving file by a table?
2- About the index, does the index in the index array represent the number of the physical channel?
3- What is the difference between these induces in your code , and what are they representing?
Thanks
Alhabeeb
02-07-2025 09:46 AM
02-10-2025 12:00 PM
Hi,
Thanks a lot for your help.
Just check for me please, whether adding ER to the mass flow chart is correct or not the.
Thanks
ALHABEEB
02-10-2025 09:30 PM
You still have the wrong indices wired to some of the index array nodes. Did you understand what I said last time?
02-11-2025 03:11 AM
Hi,
With this
In total I have 11 elements. I split first two (m_prim and m_sec) for the mass flow rate chart, then from the rest, I split first 5 to T_chart and the rest goes to P_chart as shown in the pic. below. It is good.
But when I added ER to the mass flow rate chart:
I got this?!
How can I fix it?
Thanks
Alhabeeb
02-11-2025 03:25 AM
Hi alhabeeb,
@alhabeeb wrote:
In total I have 11 elements. I split first two (m_prim and m_sec) for the mass flow rate chart, then from the rest, I split first 5 to T_chart and the rest goes to P_chart as shown in the pic. below. It is good.
But when I added ER to the mass flow rate chart:
You don't "add", but you create a 2D array from elements!
And you do this creation in the wrong order!
Why don't you create a 1D array from your two m_* elements and one ER element and then build a 2D array from this 1D array to plot in the chart? (And so you would apply the very same algorithm as is used with the other charts!)
02-11-2025 04:09 AM
@GerdW a écrit :
Why don't you create a 1D array from your two m_* elements and one ER element and then build a 2D array from this 1D array to plot in the chart? (And so you would apply the very same algorithm as is used with the other charts!)
How can I do that? The other two charts come directly from the acquired elements but ER is for the division of the two acquired elements.
Thanks
Alhabeeb