Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
84488members
353708posts

HMI project broken via gitignore file on M172

Modicon PAC Forum

A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.

Solved
obscuresc
Ensign
Ensign
0 Likes
6
1802

HMI project broken via gitignore file on M172

Hi all,


I've been using Git for version control with EcoStruxure Machine Expert - HVAC for a while and I've been gradually integrated a good ignore file. However, I've recently run into an issue with a fresh clone that won't open any of the HMI project in the Display tab i.e no project details appear.


Below is the ignore details for the project in question.

 

Spoiler

# build files
**/Build
**/*.bin
**/*.a
**/*.CFN

# download files
**/Download

# doc images
*/HMI/docImages

# previous versions
**/PreviousVersions

# workspace file
**/*.wkpx

# USB files
USBCWDXHybrid_28IO
USBCWDXHybrid_42IO

# backups
**/Backup
**/ChangeTargetBackup

# simulation files
**/*.imgx.simul
**/*.WKSX

What have I ignored that would have caused this?

Also, are there any other files I can safely ignore?


Cheers,

Jack

Tags (1)

Accepted Solutions
obscuresc
Ensign
Ensign
2
1679

Hi Re: HMI project broken via gitignore file on M172

Hi all,

 

I solved this issue.

On load of the project, the HMI output tab indicated that one of the PLK files for a bitmap was missing.

While the PLK was not ignored, it also was not tracked by Git.

On retrieval of this file, the project would load correctly.

 

Thanks.

See Answer In Context

Tags (1)
6 Replies 6
S_Stolyarov
Lieutenant JG
Lieutenant JG
0 Likes
2
1795

Re: HMI project broken via gitignore file on M172

I'm sorry not answering you instead asking, but I really want to know more for what reason and how you ignore something in the project?

Tags (1)
obscuresc
Ensign
Ensign
1
1788

Re: HMI project broken via gitignore file on M172

Hi @S_Stolyarov 

 

Git allows you to specify an ignore file ".gitignore", documentation is below.

 

https://git-scm.com/docs/gitignore

 

EcoStruxure builds a significant amount of build files during its compilation and also maintains a backup process. Many of these files are recognised as binaries and cannot use the standard diff process; typically storing file changes as being a completely new file. This results in huge commits and I think generally recognised as being bad practice to commit build files.

 

Cheers,

Jack

Tags (1)
S_Stolyarov
Lieutenant JG
Lieutenant JG
0 Likes
0
1782

Re: HMI project broken via gitignore file on M172

Hi @obscuresc ,

 

Thank you for the exploration! This is very interesting, I'll go through this topic at my leisure.

Tags (1)
obscuresc
Ensign
Ensign
2
1680

Hi Re: HMI project broken via gitignore file on M172

Hi all,

 

I solved this issue.

On load of the project, the HMI output tab indicated that one of the PLK files for a bitmap was missing.

While the PLK was not ignored, it also was not tracked by Git.

On retrieval of this file, the project would load correctly.

 

Thanks.

Tags (1)
Bastian_Schmitz
Commander Commander
Commander
0 Likes
1
1670

Re: Hi Re: HMI project broken via gitignore file on M172

Thanks for the additional information. That will help other people which would work with GIThub a lot. I think in that case you have always to look that you update your files in the case you work with image files. Every imported image file will be saved as seperate *.PLK file. That is the internal Image format of ESME HVAC - Display.

Tags (1)
obscuresc
Ensign
Ensign
0 Likes
0
1664

Re: Hi Re: HMI project broken via gitignore file on M172

Hi @Bastian_Schmitz 

 

No worries. I can't recall if I specifically didn't stage the files or if I had, at one point, ignored them.

 

Are there any other files that I've missed that I can safely ignore?

In particular, the *.RSM file is quite large and is treated as a binary blob.

 

Thanks,

Jack

Tags (1)