06-10-2015 10:24 AM - edited 06-10-2015 10:24 AM
Hi all,
The formating of the block diagram is messed up, I can't see some parts of it. The front panel is fine. I am using labview 2014 with windows 7 now, but the program was design with labview 2013 with windows 7. Any suggestion what should I do to solve the problem?
Thank you
06-10-2015 10:35 AM
Messed up is not a technical term, post what you mean with images demonstrating this. Does it happen in other versions of LabVIEW? Does this happen on other machines? Does this happen on all VIs? Was it always like this? What changed when this started happening? Post the VI. Can you roll back in SCC and does a previous copy also behave like this?
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-10-2015 10:45 AM
I tried with both window and mac, and they are all messed up, mac was worse. I attatched the VI below. Thanks for your quick response.
06-10-2015 10:51 AM
I also tried to clean up a little bit myself, all I did was clean the wires, but I still can't see the full block diagram.
06-10-2015 11:29 AM
Wow you are in trouble my friend. Something happened to where it looks like the maximum front panel, and block diagram size has been reached.
http://digital.ni.com/public.nsf/allkb/62D66358BBF8A87186256FC50077FA17
This can cause very strange behavior and block diagram cleanup can't be used.
I don't think yoiu are going to be able to restore your VI without reverint to a previous copy in SCC.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-10-2015 12:52 PM
Sorry I am new to labview, what do you mean by "reverint to a previous copy in SCC"
Is there anyway I can solve the problem?
06-10-2015 01:26 PM
We are hopefully assuming you have this code in a Software Code Control, like Tortiose SVN, GIT, Mercurial, etc. That way you can revert to the last version that worked. This has nothing to do with LabVIEW other than the fact that you should be storing your code in an SCC.
As your VI is now, you cannot do anything. You need to go back to a previous copy. If Hooovahh is correct in that your block diagram size went that large, then you really need to rethink your architecture, create subVI, and/or just do some general cleaning up of the code.
06-10-2015 01:29 PM
@Liu9079 wrote:
Sorry I am new to labview, what do you mean by "reverint to a previous copy in SCC"
Is there anyway I can solve the problem?
Oh sorry it was a typo I meant "Revert to a previous copy in SCC" which is to mean get an older copy of your source from source code control. The fact that you are posting here looking for help, makes me believe you have no backup copy of the source. LabVIEW sould not have done what it did, but in the future having proper SCC and regular backups can prevent this from happening again. These types of issues are hard for NI to debug and fix because they can't reproduce the event that messed up your VI.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-11-2015 01:18 AM
The current versions of both OS X and Windows should have some built-in automatic backup. It's not a replacement for SCC and I don't know what logic it uses for when to back up files, but it can sometimes be used to get out of situations like these. In Windows, you can access this by right clicking the file and selecting Restore previous versions. This will bring up a dialog where you can see versions that were saved for you and can try to open one of them.
06-11-2015 07:30 AM
Oh and another way you may have an accidental backup. When LabVIEW crashes and there are unsaved changes, the temporary VI will be saved to <My Documents>\LabVIEW Data\LVAutoSave Some times you can find a backup of a previously unsaved crash there.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord