Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
My process control program needs "Blinking" effect to some of the objects on the displays. Currently it's been accomplished manually by XStoreColors every 1/4 seconds. However, this program will be run on a 750 as a host and the displays will be sent to a VAX 3100. In this situation, 15% of the host CPU time was spent on the polling and changing colors. To our customer, which is unbearable. Then I proposed the "Blinking" effect may be done by the 3100. Is it possible to let two processes, one runs on the host, one runs on the workstation share the same default colormap and the process runs on the workstation will be able to change some of the colors? The documentation says you must have already allocated the color index using XAllocColorCells reserved before you can change the colormap. Is there a way of doing this or just my imagenation?? Thank you in advance for any help!! Wayne Chang
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
567.1 | Why not? | HANNAH::MESSENGER | Bob Messenger | Mon Apr 10 1989 14:55 | 8 |
Re: .567 You could set the colormap ID as a property of the root window, for example, or pass it some other way. Seems to me that it would work, since colormap ID's are known to the server (unlike widget ID's for example). -- Bob | |||||
567.2 | KONING::KONING | NI1D @FN42eq | Mon Apr 10 1989 15:45 | 7 | |
Random comment: your workstation is about 10 times as powerful as your "host". So wouldn't it make sense to put all the computation on the workstation? You'd get the work done MUCH faster and could stop overloading the poor old 750. paul | |||||
567.3 | Thanks for your help!! | HSOMAI::CHANG | Mon Apr 10 1989 16:44 | 19 | |
Re: -1 I absolutely agree with you. Customer has many VAXes installed in years (ranges from 750, 785 to 6220, 8700, 8800) and VAXStation is one of the many display devices they have. Yes, Eventually all other display devices will be replaced and by that time we could do lots lots things on the VAXSTATION. Re:-2 Thanks. I tested it and it works. Now the process runs on the VAXStation allocates the color cells and start to blink. The process runs on the host just simply use these colors. Thanks again. Wayne Chang |