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.
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.
03-23-2014 03:50 PM
@ BowenM
Sir i wanna ask why did u minus the current time with the check out time you added yourself.
I will be grateful to know more about what u show me, i will make sure i can implement it in my
own VI
03-23-2014 04:00 PM
Zahkay-
You have two variables 'check out time' and 'current time'- both in seconds. Tell me, how would you calculate the time the item has been checked out in seconds? Not in LabVIEW, just in words?
03-23-2014 04:04 PM
03-23-2014 04:17 PM
The current time is the time of the computer which i put in my VI.
for the check out i would have take the total second of all the 7 days
sir
is it okie
03-23-2014 04:18 PM
03-23-2014 04:20 PM
ohh yeah. u r right . simple logic.
i am sorry for asking this kind of ques. Actually i was trying lots n lots that at the end i confuse myself
but i wanted to ask , but in the VI, the check out time is constant.
i have to manually insert for all for the constant check out time.
03-23-2014 04:23 PM
actually sorry for this term database
to make it more clearer,
i am trying to monitor the laboratory equipment in and out by student.
actually when i am putting the output in the concatenate string,
there is an error.
03-23-2014 04:37 PM
03-23-2014 10:36 PM
Yeah for the error, i can solve it.
But in the vi, the check out date was constant which is assigned by the user.
This is my issue.
the check out data , i dont know when it is.( i donr want it to be constant)
i hope , i am clear now
03-23-2014 10:53 PM
When people give you an example of code that is a constant, it is to show you what the calculations would be. Obviously, in a real app, it wouldn't be a constant. It is up to you as the programmer to replace it with whatever input works in your application. You need to start thinking for yourself at some point of time since it is YOUR project.