07-27-2011 03:38 PM
Hello,
I've been working on a relatively complicated .vi that has a good amount of case structures and flat sequences. As I was testing the front panel and going back and forth between the block diagram, the block diagram became entirely black -- all I see is a black background -- no wires, blocks, etc. I am still able to add blocks through the menu but can't actually see them being placed or anything. Is there a way to fix this, or revert back to normal? I would really not like to redo all this work...
Thanks,
Bryan
07-27-2011 03:43 PM
I am able to run the .vi operate it using the front panel as if nothing is wrong, I'm just unable to edit the block diagram.
I just Ctrl+A'd the block diagram and pasted onto a new .vi -- block diagram is back to viewble/normal!
07-27-2011 03:46 PM - edited 07-27-2011 03:51 PM
I think there are some unusal observations of you exceed a certain diagram size ( e.g. 16000 (?) in pixels). How big is your diagram?
(Other possibilites are issues with your video card, graphics driver, or color depth setting of the OS.)
07-27-2011 04:49 PM
It must be hardware problem. your problem looks interesting though.
07-27-2011 06:46 PM
The diagram was pretty big -- there was an errant label at the very bottom. Dimensions were about 16000 x 1000. Made it much smaller (about 2000 x 1000), so hopefully there won't be any issues like this any time soon. Also if anyone was wondering, restarting LabVIEW or my computer did not solve the problem...the only thing I could figure out was to ctrl+A and copy everything to another .vi.
Thanks.
07-28-2011 03:59 AM
You are aware of that it is possible for you to make subvi's?
That will help you reduce the size of the block diagram for you vi's.
What is a good amount of case structures and flat sequences?
Use of Flat sequences diagram screams of insufficient use of dataflow.
08-08-2011 08:28 AM
A good amount of case structures and flat sequences is 0-2 and 0-1 respectively (in a single .vi). 😉
(there's exceptions to every rule, but if you need more, you probably need more sub vi's)
/Y