LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to change colors of LCD/VFD controls from SGC-Tek?

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

 

 

 LCD Controls

 

Clement

0 Kudos
Message 1 of 5
(3,143 Views)

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, 

Brian A.
National Instruments
Applications Engineer
Message 2 of 5
(3,114 Views)

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.

LCD display 

 

It was here http://members.lycos.co.uk/sgctek/

 

 

Message 3 of 5
(3,102 Views)
Sorry if that was a bit misleading.  This process is really what I meant by "rebuilding the entire indicator" but it would have been better to explain.  By the time you unbundle and rebundle, it seems you might have just made your own from scratch.  Thanks for the thorough response Conseils!
Brian A.
National Instruments
Applications Engineer
Message 4 of 5
(3,070 Views)

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).

Message 5 of 5
(3,062 Views)