04-17-2020 12:23 PM
Hi,
I created a 2D array and with an Index Array I am extracting information from each row, but instead of selecting rows 0 to 6 in the Front Panel, I need to display the days of the week. Any ideas to help me please?
I am trying with a Format Value Function, but it is not working for me:
Thanks in advance for suggestions!
George
Solved! Go to Solution.
04-17-2020 01:12 PM
I believe the %w code just takes a date/time and outputs the index (0-6) which is not what you want.
There may be a fancier way to do it, but I would just make a constant array of strings, where each string is the text for the day of the week and use the index you've already got to select one of those and output it.
04-17-2020 01:54 PM
An enum would work too.
04-18-2020 07:13 AM
Thanks a million, this worked perfect!!! 😀