03-30-2012 04:06 PM
Yeah I think it's not a very good idea to have different units in the same array, but it's too late to fix that because I have done quite lot of work already :(.
How did you connect between "equal" and "select" because of different types of data (boolean and cluster of boolean)? The line is broken.
03-30-2012 04:21 PM
As I have different units in the same array, should I separate the main array into 2 portions for flow and pressure in order to split the units? or limit the user to adjust the units which are proper for each value, such as flow with only l/hr or l/min and pressure with only bar or pascal? Which one do you think it's better?
03-31-2012 04:24 PM
@Angkrit wrote:
[...]
How did you connect between "equal" and "select" because of different types of data (boolean and cluster of boolean)? The line is broken.
Right-click on the Equals node and change the comparison mode.
03-31-2012 04:26 PM
@Angkrit wrote:
As I have different units in the same array, should I separate the main array into 2 portions for flow and pressure in order to split the units? or limit the user to adjust the units which are proper for each value, such as flow with only l/hr or l/min and pressure with only bar or pascal? Which one do you think it's better?
The first option sounds easier. Unless there's a compelling reason to write the validation code to implement the second, I'd go with KISS.
04-02-2012 06:07 AM
I already tried to split the units as in the attacment, but I'm also confused with writing the code. Could you please take a look? it's pretty confusing for me. 😞
04-02-2012 07:08 AM
Sorry for the wrong attachment. Here is the new one I already did. I tried to split the units already and wrote a new code for it but it's still not working :(.
04-03-2012 04:34 PM
Hi Angkrit,
Can you please elaborate on what you are looking to do still? What is not working about your VI? What functionally are you trying to add? It is not very intuitive how exactly the VI should function, what is the Save, Active, and No. for?
Tim O
04-03-2012 05:10 PM
Thanks for helping but I already got my vi that I was expecting already. Thanks