09-07-2024 07:09 AM
I observe that the previous time indicator subVI on the front panel shows values in hundreds or thousands. I could not understand why, although the time indicator subVI on the frontal panel is fine and in seconds or mS. Could you please guide me...
Kind regards
Hasham
09-07-2024 08:53 AM
Not sure what is going on. Try the following.
09-07-2024 11:53 AM
@Hasham622x wrote:
I observe that the previous time indicator subVI on the front panel shows values in hundreds or thousands. I could not understand why, although the time indicator subVI on the frontal panel is fine and in seconds or mS. Could you please guide me...
The current an previous times are relative, only the difference is meaningful. I am not sure where you get mS (millisiemens). That's not a time unit.
If you have problems with code, attach the code!
09-18-2024 06:00 AM
Hi,
First of all sorry for late reply and same time thanks for your reply. As this code is working and now I want read run time of code without FOR/WHILE loop.
Kindly please guide me.
As I attached LV19 version code.
Kind regards
Hasham
09-18-2024 06:04 AM
Hi,
First of all sorry for disturbing you all. I want to read the run time of the code without the FOR/WHILE loop.
Kindly please guide me.
I have attached the LV19 version code.
Kind regards
09-18-2024 06:30 AM
Hi Hasham,
@Hasham622x wrote:
As I attached LV19 version code.
Even though you claim to have attached a LV2019 VI (and also named the file as such) you failed in doing so: your VI is in LV2022…
Please don't create duplicate posts in different threads for the very same question.
@Hasham622x wrote:
As this code is working and now I want read run time of code without FOR/WHILE loop.
Generic answer as I cannot open your code:
Get the timestamp at start of your VI and before finishing, subtract both timestamps. THINK DATAFLOW to define the execution order!
09-19-2024 08:31 AM
@Hasham622x wrote:
Hi,
First of all sorry for disturbing you all. I want to read the run time of the code without the FOR/WHILE loop.
Kindly please guide me.
I have attached the LV19 version code.
Kind regards
I cant see your code so I am answering with some arbitrary code : )
09-22-2024 03:16 AM
Hi,
Sorry for the late reply. I tried to use timestamps in the code, but I could not get any values... I attached an old version of the code, and if you don't mind, please guide me...
Kind regards
Hasham
09-22-2024 03:17 AM
Hi,
Sorry for the late reply. I have attached the LV19 version of the code.
Kind regards
Hasham
09-22-2024 03:19 AM
Hi,
Sorry for the late reply. I tried this example but did not get values.
I attached my code LV19 version.
Kind regards
Hasham