02-28-2007 03:04 AM
02-28-2007 04:41 AM - edited 02-28-2007 04:41 AM
Hello Schoolworkwork,
I do not understand your question. Could you please precise it a bit more ?
If what you try to do is to split an .UIR file containing n*panels in n*.UIR files, you should first save your .UIR file into a .TUI one - trough Options >> Save in text format. It means that your .UIR file will be saved as a text file that you will be able to open and edit.
Then, you will have to divide this .TUI file containing n*panels into n*.TUI files. Please note that each .TUI file has to contain a [TUI Header File] and that in each .TUI file, you will need to set you panel ID as [Panel001] (If you plan to have m*panels, you have to set the ID panels from [Panel001 to [Panel00m]). After this kind of work, you should reimport the .TUI file into CVI to recreate the .UIRs - trough Options >> Load from text format.
Don't hesitate to provide us with more details if this is not the kind of information you need.
Regards,
Message Edité par Mathieu Steiner le 02-28-2007 04:46 AM
02-28-2007 06:01 AM
02-28-2007 06:40 AM
Hello back,
Then, you should try the following functions:
SetPanelAttribute (panelHandle, ATTR_TITLE, "MyNewPanelName"); // for panels only
SetCtrlAttribute (panelHandle, PANEL_NUMERIC, ATTR_LABEL_TEXT, "MyNewControlLabel"); // for controls labels
Regards,