From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Register callback for "Save vi" event

Hi,

 

I would like to detect and do some action when my vi has been changed (or saved). Do I have any opportunity to catch that event, or could I catch "viChanged/Saved" event somehow?

 

Thanks for help,

Balint

0 Kudos
Message 1 of 4
(2,568 Views)

These links should get you started:

http://forums.ni.com/t5/LabVIEW/My-First-Nugget-Directory-Changed-Event/m-p/1407552

http://forums.ni.com/t5/Example-Program-Drafts/Event-based-File-and-Folder-Watcher/ta-p/3502878

 

The FileSystemWatcher can be configured to monitor a specific file.

 

Ben64

 

Message 2 of 4
(2,524 Views)

Hi Ben64,

 

thanks for the hint, it will solve a part of my problem. So I have to detect vi changes since the last LabVIEW run. On the other hand I have to do some action if affected vi changed in memory (without disk save). Do you have any idea for my latter problem?

 

Thanks,

Balint

0 Kudos
Message 3 of 4
(2,480 Views)

Check modification.png/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 4
(2,476 Views)