08-04-2014 11:31 PM
LabVIEW can come with the feature where we can change control values on run time for more effective debugging and quick solution.
Here my idea to implement this feature can open opportunity to cange control value of a code running in loop and we can check control value change effect same time. No need to run code again and agin with different inputs.
08-04-2014 11:43 PM
@Himanshu_Goyal wrote:
LabVIEW can come with the feature where we can change control values on run time for more effective debugging and quick solution.
Here my idea to implement this feature can open opportunity to cange control value of a code running in loop and we can check control value change effect same time. No need to run code again and agin with different inputs.
I am sorry, I don't understand what you mean. Are you proposing an Idea or sharing your thoughts? Can you please explain little more detailed?
08-05-2014 12:37 AM
08-05-2014 02:02 AM
08-06-2014 01:17 AM
Hi Himanshu
It is possible to change the control value at run time, if the control is placed inside the loop but not if the control is outside the loop.
As, LabVIEW follows dataflow model for running VIs, every node on the block diagram executes when it receives the required input and it executes only once and passes the output to the subsequent node in the path. A loop is also a node, it accepts the input and executes the code inside it. A code running inside a loop does not accept a new input from a control outside the loop when the loop is running. But if the control is placed inside the loop the code accepts a new input, thus enabling you to change the control value at run time.
If you have any more queries, feel free to ask.
Regards,
Rohit Joshi
08-06-2014 02:47 AM