01-09-2008 09:17 AM
01-09-2008 10:30 AM
01-09-2008 11:32 AM
01-09-2008 11:49 AM
I am changing the "State" cluster in the init code. Not setting the boolean anywhere except the "Panel re-size" event of teh Facade. I would not think the pnael re-size event is firing unless I am re-sizing the control.
If i stumble across the cause I'll post back.
Ben
01-09-2008 12:08 PM - edited 01-09-2008 12:14 PM
I was hesitant to post the XControl but I am only limiting the community's ability to help and learn.
Here is the project in LV 8.2.1.
This XControl is intended to be a color ramp that can be used to illustrate gradiants in a system. I am using it to illustrate the temp change across heaters and heat exchangers.
Please keep in mind that this is my first attempt at developing an XControl from scratch. I also do not concider this a finished XControl since I have not added mtethods to define the color ramp yet.
If you have any ideas, fire away!
Otherwise I hope it helps someone!
Ben
01-10-2008 07:41 AM
Re: The above example and XControls and non-visable FP's under LV 8.2.1
I found out yesterday that the image of an XControl will not update if the FP is not visable. THis appears to have been fixed in LV 8.5.
Still haven't figured out the save thing yet.
Ben
01-11-2008 09:35 AM
Hi Ben,
I opened up your color ramp VIs and I could not get the save dialog to display upon opening. I also used your xcontrol in different VIs, and I still could not produce the dialog. I used LabVIEW 8.2.1 and LabVIEW 8.5. Please let me know how I can reproduce this issue, thanks!
01-11-2008 09:46 AM
Meghan wrote "I could not get the save dialog to display upon opening. "
No, not a save dialog on open.
When you open the VI there is an asterisk next to the name in the title bar.
Are you telling me you did not get the asterisk?
I just had another engineer try it on his machine and he got the asterisk.
Even after he saved it and closed it, on re-open he got the asterisk.
Ben
01-11-2008 09:58 AM - edited 01-11-2008 09:58 AM
See image for the asterisk.
Ben
01-11-2008 10:06 AM