02-14-2019 04:16 AM
Hi All
Is there any Difference between running continuously and While loop apart from Conditional terminal in while loop?
Solved! Go to Solution.
02-14-2019 04:20 AM
You refer to the "Run Contiously" button in the icon bar?
You shouldn't use that. The issue is that most users press the "Abort" button to stop execution which could be fatal. Not necessarily fatal for humans (but possible) but more on hardware (if used) and at least software data integrity.
So get used to always implement loops in case you need repetative execution.
02-14-2019 04:24 AM
Yes, I am referring to Run Continuously in the icon bar.
I have got the point that it's not recommended to use Run Continuously, but is there any difference in term of execution of the VI.
02-14-2019 04:31 AM
Things that contain "First call" might not behave the way you expect.
Not sure what differences there are behind the scenes though.
0xDEAD
02-14-2019 06:50 AM
@deceased wrote:
Things that contain "First call" might not behave the way you expect.
Not sure what differences there are behind the scenes though.
0xDEAD
There are several ways to specify a number base. In documents, the most proper way is: "DEAD hexadecimal", or "DEAD hex"; even "DEAD16" is considered acceptable. In computer programming languages we find things such as:
Ada 16#DEAD#
Assembler 0DEADh
Basic &hDEAD
C 0xDEAD
Fortran Z"DEAD
Pascal $DEAD
I don't understand why people so often choose an icky way (0x...) to designate hexadecimal in documents.
02-14-2019 07:33 AM
@paul_cardinale wrote:
@deceased wrote:
Things that contain "First call" might not behave the way you expect.
Not sure what differences there are behind the scenes though.
0xDEAD
There are several ways to specify a number base. In documents, the most proper way is: "DEAD hexadecimal", or "DEAD hex"; even "DEAD16" is considered acceptable. In computer programming languages we find things such as:
Ada 16#DEAD#
Assembler 0DEADh
Basic &hDEAD
C 0xDEAD
Fortran Z"DEAD
Pascal $DEADI don't understand why people so often choose an icky way (0x...) to designate hexadecimal in documents.
I would think its probably the most recognised way to denote it.
I will change to $DEAD for now as hark back to the simpler days of the Motorola 6800 assembly. I just hope I don't Halt and Catch Fire.
$DEAD
02-14-2019 07:52 AM
It's more a question of "habit", both Good and Bad.
Bob Schor
02-14-2019 02:02 PM
@LV_COder wrote:I have got the point that it's not recommended to use Run Continuously, but is there any difference in term of execution of the VI.
02-15-2019 02:00 AM - edited 02-15-2019 02:02 AM
@altenbach wrote:
A VI running under "run continuosuly" cannot be stopped normally, just aborted. This can be dangerous, e.g. the 100kV source controlled by it may remain turned on, putting people and hardware in danger.
You don't have to abort. You can click the "run continuously" button a second time and the VI finishes normally.
02-15-2019 06:23 AM
@UliB wrote:
@altenbach wrote:
A VI running under "run continuosuly" cannot be stopped normally, just aborted. This can be dangerous, e.g. the 100kV source controlled by it may remain turned on, putting people and hardware in danger.You don't have to abort. You can click the "run continuously" button a second time and the VI finishes normally.
Correct. But most users don't know this and do use ABORT....