11-24-2010 04:37 AM
Hi Every one,
I need to log the all the front panel user activity, For this task I am using the dynamic register of events just for storing the label and value, for the value changed control.
I am already using a static event structure inside the loop for doing specific tasks.
I have introduced the dynamic event structure only for logging the front panel values in the VI. After using the dynamic event structure if I change the values rapidly means then my front panel freezes.
I don't know the reason why the front panels freezes, Kindly help me in solving this issue.
Thanks in advance-
11-24-2010 05:37 AM
Hi sibana,
Try and use one Event structure.No need for the second Event and Loop.Kindly post your vi we can help you out.
Thanks.
Ohiofudu
CLD.
11-24-2010 07:19 AM
When using dynamic event regstration, the default it to "lock fron panel " until the event completes. You can shut this off by right-clicking the event regitsration node.
Another idea:
For simple apps my boss will use VI logging. It may be helpful to you as well.
Ben
11-25-2010 04:06 AM
I can't able to shut off the "lock front panel" option by right-clicking it.
What do you mean by VI logging , Is it possible for me to explain me in detail.
If you r having the Vi for the VI logging means post it, It will be helpful for me.
Thanks-
Sibana
11-25-2010 04:11 AM
Hi Ohiofudu,
I am adding the logging part in the already running code.
so I can't able to use the single event structure.I need to use the two event structure for my application.
Is there any other way for logging the front panel user actions without using the dynamic register for the events.
I need to log only the front panel value change action alone, details required are Label name and changed value.
Thanks-
Sibana
11-25-2010 04:57 AM
Hi sibana,
can you please post your vi structure?? not the complete code.
Ohiofudu
CLD
11-26-2010 06:40 AM
From the FP menu bar
Operate >>> Data Logging >>> Log...
To set the log file.
Similarly to retrieve the logged sesion.
Ben
11-26-2010 06:59 AM
Hi Ben,
Can you please elaborate this "Logging" functionality?
I have never used it..Eager to know.
11-26-2010 07:45 AM
@Gak wrote:
Hi Ben,
Can you please elaborate this "Logging" functionality?
I have never used it..Eager to know.
I have never used it myself. My boss has used it for projects that never made it my desk.
In a nutshell...
It is a built-in feature that logs all FP changes and lets you replay them.
Here is a link that talks all about it.
I last tested it back in about LV 6 and the one "gotcha" at that time was it depended on a static FP (by static I mean no controls added or deleated from the FP to be able to replay since at that time the FP data was just flattened as if it was a big cluster and saved to disk. SInce unflatten depends on the data type being correct, changes to thew FP would goof it up.
Ben
Ben
11-26-2010 07:51 AM
@sibana wrote:
Hi Ben,
I can't able to shut off the "lock front panel" option by right-clicking it.
...
Thanks-
Sibana
When you rightclick a dynamic event regitration node you get a pop-up that let you disbale "Lcok FP until..."
Ben