06-24-2024 10:43 AM
@Bob_Schor wrote:
Note the use of the "And Array" functions to return a single Boolean if the Arrays are the same.
Bob Schor
You can delete the for loop after the equal node. 'And Array Elements' will work on a 2D-Array and return a single boolean.
06-24-2024 12:02 PM
@UliB wrote:
You can delete the for loop after the equal node. 'And Array Elements' will work on a 2D-Array and return a single boolean.
Or just right-click on the Equals and choose the comparison type to "Aggregates".
Also, I tend to use "Create or Replace" for the Open/Create/Replace File option. If the file already exists and you have it to just "Create", you will get an error. By using "Create or Replace", I know I will have the latest data in that file.
06-25-2024 01:26 AM
@crossrulz wrote:
@UliB wrote:
You can delete the for loop after the equal node. 'And Array Elements' will work on a 2D-Array and return a single boolean.Or just right-click on the Equals and choose the comparison type to "Aggregates".
I learned something new, thanks.
06-25-2024 03:33 AM
Hello Bob,
There was indeed something fishy in my Write Binary VI that I didn´t detect before. It is now working as intended!
Also, your example introduced me to some new functions that I was completely unaware before, but that seem quite handy to deal with file paths. Thanks!