LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel freezing, while using the Dynamic Register of Events

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-

0 Kudos
Message 1 of 13
(4,961 Views)

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.

 

 

 

Certified LabVIEW Architect.
Ohiofudu Israel

0 Kudos
Message 2 of 13
(4,948 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 13
(4,937 Views)

Hi Ben,

 

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

0 Kudos
Message 4 of 13
(4,903 Views)

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

0 Kudos
Message 5 of 13
(4,902 Views)

Hi sibana,

 

can you please post your vi structure?? not the complete code.

 

 

Ohiofudu

CLD

Certified LabVIEW Architect.
Ohiofudu Israel

0 Kudos
Message 6 of 13
(4,896 Views)

From the FP menu bar

 

Operate >>> Data Logging >>> Log...

 

To set the log file.

 

Similarly to retrieve the logged sesion.

 

Ben

 

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 7 of 13
(4,866 Views)

Hi Ben,

Can you please elaborate this "Logging" functionality?

I have never used it..Eager to know.Smiley Indifferent

 

 

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 8 of 13
(4,859 Views)

@Gak wrote:

Hi Ben,

Can you please elaborate this "Logging" functionality?

I have never used it..Eager to know.Smiley Indifferent

 

 


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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 13
(4,851 Views)

@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..."

 

DoNotLock.png

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 10 of 13
(4,848 Views)