Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snapshot function #4

Open
Paras-Bajra opened this issue Jan 17, 2025 · 5 comments
Open

Snapshot function #4

Paras-Bajra opened this issue Jan 17, 2025 · 5 comments

Comments

@Paras-Bajra
Copy link

Paras-Bajra commented Jan 17, 2025

Hi Jasper,

I wasn't able to create a snapshot. Is this function still under development?

I'm using the latest version v0.1.5 with PLCSIM Adv v6.0

Regards,
Paras

@jasperdekeuk
Copy link
Owner

Hi @Paras-Bajra,

Thanks for creating an issue!

The snapshots functionality is implemented but the instance needs to be powered off.
Can you power off the instances you want to take snapshots from and try again please. If that does not work, can you elaborate with some printscreen on what you see.

@jasperdekeuk
Copy link
Owner

Ps: don't hesitate to give feedback!
Reading back my last comment, I'm wondering whether snapshot is the best name for this feature.

@Paras-Bajra
Copy link
Author

Thanks for the quick response.

I can take snapshots while the instance is powered off but I'm not sure how to use this function properly. Is this snapshot function similar to snapshots in SIMIT?

I was expecting this function to be available while the instance was powered ON so i can save and restore the system to know state while being online to the PLC.

@jasperdekeuk
Copy link
Owner

The idea is that it takes a "snapshot" of the SW+HW that is loaded in the PLC instance. This way you can e.g. download different versions of PLC code to the PLC instance, take a snapshot and easily switch between versions.

I can see why it is misleading and should probably rename it to archive or something similar..

I have no experience with the snapshot functionality of Simit, but I'm guessing it saves all the values of the variables at a certain point and you can then reload it afterwards? Is this the functionality you are looking for?

@Paras-Bajra
Copy link
Author

Ah ok. It makes sense how you've implemented the snapshot/archive function.

And yes, with snapshot function in SIMIT, it basically allows to save all the values so you can reload it afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants