06-20-2019 09:42 AM
Hi,
Till yesterday, I have made changes to the block diagram of the VI i was working on.
Suddenly, the block diagram is not accessible. What could cause this? The front end seems working perfectly fine. I just cant access the back end.
I have some important stuff in that file.
06-20-2019 09:53 AM
If we were standing by your computer, we would ask that you "let us try". Why don't you attach the VI that you cannot open, tell us which version of LabVIEW you are using, and "let us try" -- if we are successful, we promise to return your (now repaired) VI to you.
Bob Schor
06-20-2019 09:56 AM
Hi,
here is the VI.
I am using 2018 version.
06-20-2019 12:11 PM
@siril01 wrote:
Hi,
Till yesterday, I have made changes to the block diagram of the VI i was working on.
Suddenly, the block diagram is not accessible. What could cause this? The front end seems working perfectly fine. I just cant access the back end.
I have some important stuff in that file.
Important enough that you have a source code repository that you regularly commit your changes to? Best to wear your seat belt before you get into an accident!
06-20-2019 01:15 PM
@siril01 wrote:
Hi,
Till yesterday, I have made changes to the block diagram of the VI i was working on.
Suddenly, the block diagram is not accessible. What could cause this? The front end seems working perfectly fine. I just cant access the back end.
I have some important stuff in that file.
Why? I can't be sure, but it seems like someone may have saved this file with the option to not save the block diagram.
If not, then somehow the file was corrupted during a save operation. But since otherwise the file seems to be opening okay, just no block diagram, I think it is the former.
06-20-2019 02:01 PM
Which repo do you suggest?
Does github work well with LABVIEW files?
I gotta setup something cause this thing happened to me twice and I had to do the entire control design from scratch.
06-20-2019 02:28 PM
Perhaps you accidentally set the VI to "Run Mode"? To revert click Operate -> Change to Edit Mode, or alternatively use the shortcut Ctrl + M
06-20-2019 02:56 PM - edited 06-20-2019 02:58 PM
Hi siril,
open your VI. Then
1. Open the "Windows" menu: the option to open the block diagram window is grayed out, which suggest you removed the block diagram. (It's your fault.)
2. Open the VI properties and go to the "Memory usage" tab: no memory for any block diagram items, which suggests you removed the block diagram. (It's your fault.)
cause this thing happened to me twice and I had to do the entire control design from scratch.
So you already did that failure before - and still you don't use any backups (not even a simple ZIP of the project each day?) or use a full SCC system?
Come on: doing an error once is ok. But doing the same error twice…
06-20-2019 03:29 PM
@siril01 wrote:
Which repo do you suggest?
Does github work well with LABVIEW files?
I gotta setup something cause this thing happened to me twice and I had to do the entire control design from scratch.
I've used SVN with the TSVN front end. It works well, especially if you set your LabVIEW projects (and their files) to separate the compiled code from source.
However, that's just my personal preference. I think it's more important that you have a repo, not which flavor it is. 🙂
06-21-2019 02:56 AM
Switched from SVN to Git, also using GitHub. All work fine. I don't use LabVIEW IDE integration.
Make sure you configure Git to (and SVN to be sure) to tread LV files as binary files. We don't want Git to merge them!
See LabVIEW-and-git and (different) LabVIEW-and-git.