09-04-2008 12:51 AM
Hi Anybody got idea how to change colors of LCD/VFD controls from SGC-Tek?
I have tried but could not. When I try to make myself a nest cluster of clusters of LEDs, I can change colours but I can't do the same thing with LCD/VFD controls.
Please check at LCD/VFD controls
Clement
09-04-2008 06:56 PM
Hi Clement,
Without being able to get into the code for these VIs or rebuilding the entire indicator into your own custom indicator (defeating the purpose of using these pre-made ones) I do not see a way to change these colors. They are copied from the custom indicator on the supplied VIs which you cannot edit. I would contact the supplier if you really want to change the colors for some reason.
Cheers,
09-05-2008 03:59 PM
I suspect this repsonse is somewhat mis-leading, the code has no effect on the control other than setting its state, although the route is somewhat tedious for the mod.
I would imagine that the control is set up so that the pixels didn't move around when they are being used as controls.
There are nested groups and locks on the controls, which might make the ordering in the cluster easier to manage.
The following should work....... 😉 it did for me
Open your own new VI
Open the main LCD VI
Open the Browse VI Hierachy
Drag and drop the LCD VI onto your own diagram
Create a cluster from the LCD VI's connector
Now ungroup the clusters and unlock them (this is tedious) if you create your own then you could be more imaginative in the structure, I leave that for homework.
Then import a new bitmap (gif) into the control
Now update the modified contol back into the master control
........ Told you it could be done, but I am not sure the pain was worth it.
BUT
Try the alternative control..... with colour settings as well, ANY colour and even some size control.
It was here http://members.lycos.co.uk/sgctek/
09-08-2008 10:27 AM
09-08-2008 11:56 AM
I agree the process is time consuming (hence I was very gratefull for what had been done).
My principle point was that the control was not locked and that it was therefore possible to do what was required
( even if there is / was a better solution available ).
I was waiting for someone to point out some other issues that I have come accross but it seems that level of detail is not required for 99.995% of LabVIEW users.
I would like to have been able to programatically iterate through the controls, but as I recall it is not possible due to restrictions on the required operations to perform the actual change (this may be out of date information as I have not checked out this functionality in the most recent versions of LabVIEW, perhaps you are more up to date).