04-27-2013 04:01 PM
I'm studying for the CLD and I notice that one of the requirements is this:
Develop block diagrams to fit a screen resolution of 1024 x 768.
When I create a new VI, its resolution is slightly too big: 1110 x 768.
When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
Is there a clever way to do these things?
04-27-2013 04:18 PM - edited 04-27-2013 04:19 PM
@bmihura wrote:
I'm studying for the CLD and I notice that one of the requirements is this:
Develop block diagrams to fit a screen resolution of 1024 x 768.
When I create a new VI, its resolution is slightly too big: 1110 x 768.
When I create a subVI via the menu item Edit >> Create SubVI, it is way too small: 800 x 543.
For both methods of creating new VIs, I would like to specify both the screen position and window size. But if that is not possible in LabVIEW, I'd like a quick way to make this happen. I see some property nodes for VIs where I could write a subVI that could do this for the front panel, but that is awkward. And it does not apply to block diagrams.
Is there a clever way to do these things?
It doesn't mean the default size of the window. It means once your code is complete, your block diagram should be small enough that you can see all your code when its on a monitor of that resolution. Before you test, set your computer monitor resolution to 1024x768. Write your code. If all the code on your block diagram can be seen without scrolling, you will be fine. They won't measure this explicitly. They are basically just saying "you shouldn't have a huge block diagram."
04-27-2013 05:04 PM - edited 04-27-2013 05:05 PM
If you do not want to reset your screen resolution, then drop a Flat Frame decoration on your block diagram. Expand it to something slightly smaller than the size you want. Remember that the size of the decoration is smaller than the window or screen. Make your code fit inside the decoration and you will be fine. It is probably best to delete the decoration before submitting the exam so the graders do not wonder why it is there.
Afterthought. Do this for one VI. Get it to the size you like. Then duplicate this VI for all your subVIs and the size should be the same.
Lynn
04-27-2013 10:24 PM
OK, now that's the kind of clever I was looking for; thank you!