07-22-2023 12:41 AM
Hi, someone can help me?, I have an input of an array1D (ItemNames), and an output of the same array that is modified with another VI (NewItemNames), the problem I have is that when I run the VI and select a date with the Time Stamp, my string indicator is not updated. I know it's because it's outside the Event Case, but if I add it inside as another condition, the program stops when selecting a date. I also couldn't use a while loop because the program wouldn't close when I clicked the cancel or OK buttons. I tried to use while loop or modify the event case, but it didn't work. I need the event case condition to remain the same, as I mentioned, the information that arrives is modified from this VI.
Solved! Go to Solution.
07-22-2023 01:37 AM
You write to start date and deadline in two places in parallel, and whatever writes last wins.
07-22-2023 02:49 AM
Yeah, I know that, I tried to used an event case for that but it didn't work :(.
07-22-2023 03:35 AM
@Mocte117 wrote:
Yeah, I know that, I tried to used an event case for that but it didn't work :(.
I have no idea what that means!
07-22-2023 03:56 AM
So you apparently want to update the string when the data is selected. You need an event for that.
07-22-2023 04:23 AM - edited 07-22-2023 05:07 AM
See if this can give you some ideas...
(If the ItemNames input does not contain a valid date, the current date is filled and the error canceled by wiring to the next structure.)