From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Long term countdown timer

First, "borrowal" is not a word.

 

Second, doesn't Bowen's message give you a clue what to to?

 

Whenever the current time is greater than the due date, then the boolean is true.

0 Kudos
Message 11 of 33
(1,217 Views)

Hello

i did implement what you told me.but i am getting an error

because i have to connect the updated status to the concatenate string as shown in the string

0 Kudos
Message 12 of 33
(1,213 Views)

@ Raven

I did implement it

but i am having error

0 Kudos
Message 13 of 33
(1,208 Views)

Well think about it.  You are trying to concatenate a Boolean data type to a string.  What do you want to be placed in that string when the Boolean is True?  What do you want to be placed in there when the Boolean is False?

0 Kudos
Message 14 of 33
(1,202 Views)

i didnt want to key in manually if the latter return it or not on time..

i wanted it to be autogenerate automatically.

when the boolean is true: the date is exceeded and there ( is a notif (Misplaced) or led light up) representing that it is exceeding the limit of returning the equipment.

when it is false, it shall written Ok as the status

yeah concatenate this information so that i can store it in my database which i did with excel

0 Kudos
Message 15 of 33
(1,196 Views)

Then you will need to wire the boolean to a Select function that will return "Missing"  (or whatever) if True and "OK" if false.

 

Your manipulation of the date/time record cluster is not what BowenM showed you in is example.  Why did you change that?

0 Kudos
Message 16 of 33
(1,191 Views)

Yes sir, what Mr BowenM show me is that the date is constant, but me i wanted to get the data autogenerate also. like i did 

in my VI, i add 7 days. 

But when i am trying to implement say thing for the time. I am unable

correct me if i am wrong

0 Kudos
Message 17 of 33
(1,181 Views)

sir i try to redo it

n follow what you told me and Mr BowenM says

 

This is what i am getting. Even though i am trying to connect it to the concatenate string, i am getting

error

 

0 Kudos
Message 18 of 33
(1,173 Views)

I would recommend looking at the online LabVIEW tutorials
LabVIEW Introduction Course - Three Hours
LabVIEW Introduction Course - Six Hours

 

Figuring out why wires are broken is a basic LabVIEW skill.  Hover over the wire with Context Help turned on will tell you why that wire is broken.

 

Spoiler
You've got two sources.

Bowen showed you when current time - checkout time is greater than 7 days, you are overdue.

 

You proceeded to program when Current time + 7 days - Current time is >= 7 days, you are overdue, but complicated it further by converted time to the date/time cluster than back again.

0 Kudos
Message 19 of 33
(1,170 Views)

thank u very much

i will try it and check it out

thanks for helping

0 Kudos
Message 20 of 33
(1,158 Views)