Running Trends in RSLogix 5

BillyB

Member
Join Date
Aug 2006
Location
Cork
Posts
24
Hi,
I am trying to gain some data by utilising the trend feature in RSLOGIX 5. I have a trend set up and I walk away. Its logging the data but every so often it comes up with following error message.
"Unable to bit blit". Does anybody know what this error means. did a search and couldn't find anything?
 
Funny error message huh?

This has happened to me a few times...
From RA free know-base:

ID 26224

Question TrendX Error: Unable to bit blit Cannot draw.
trnsp.gif
Answer Problem:
The following error message appears in the Activity Bar while using RSTrendX ActiveX Controls.

TrendX Error: Unable to bit blit Cannot draw.

Cause:
Under most circumstances, TrendX is drawn to an off-screen bitmap and then the off screen bitmap is BitBlt()'d into place. This is done as a speed optimization, but if the BitBlt() fails, the cryptic error message about the BitBlt() failing is displayed.

Solution:
1). One option is to disable any screen savers which are currently being used while using RSTrendX. (this is the perferred solution)

2). The other option to suppress the error message would be to set the TrendX window style to transparent. When the window style is transparent, the drawing code can not use the off-screen bitmap for rendering and the BitBlt() call is not performed. The disadvantage with the transparent window style is that the drawing of TrendX is slower which can affect performance.

Additional Information:
Bit blit (bitblt, blitting etc.) is a computer graphics operation in which two bitmap patterns are combined into one. The name derives from the BitBLT machine instruction for the Xerox Alto computer, standing for "Bit Block Transfer". The pronunciation of BLT as "blit" dates back to block-transfer instructions on earlier computers. The development of fast methods for various bit blit operations was key in the evolution of computer displays from using character graphics, to using bitmap graphics for everything. Blitting is similar to sprite drawing, in that both systems reproduce a pattern, typically a square area, at different locations on the screen. Sprites have the advantage of being stored in separate memory, and therefore don't disturbe the main display. This allows them to be moved about the display, representing the "background", with no effect on it.

Blitting moves the same types of patterns about the screen, but does so by writing into the same memory as the rest of the display. This means every time the pattern is placed on the screen the display "under" it is overwritten, or "damaged". It is up to the software to clean this damage up by blitting twice, once to remove the damage, and then again to place the bit in its new location. As one might imagine, this makes blitting somewhat slower than sprite manipulation. However, blitting has one very big advantage, there's no physical limit to the number of patterns you can blit. Thus you can use blitting to display anything on the screen, including simulated sprites, whereas sprites are limited in number.

When first introduced the computers CPU typically had difficulty moving the bitmaps around in memory fast enough to be able to use blitting as the primary method of text display. For some time in the 1980's many home computers included either a co-processor or a special-purpose chip known as a blitter for this task. The CPU would send the bit blit operations to the blitter, which would then carry out the operation much faster than the CPU could. Modern graphics accelerators can be regarded as descendants of the early "blitters".
Problem: The following error message appears in Activity Bar while using RSTrendX ActiveX Controls. TrendX Error: Unable to bit blit Cannot draw.
Cause: Under most circumstances, TrendX is drawn to an off screen bitmap and then the off screen bitmap is BitBlt()d into place. This is done as a speed optimization, but if the BitBlt fails, the cryptic error message about the BitBlt failing is displayed.
Verify:
Cure: 1). One option is to disable any screen savers which are currently being used when using RSTrendX. (this is the perferred solution)

2). The other option to suppress the error message would be to set the TrendX window style to transparent. When the window style is transparent, the drawing code can not use the off screen bitmap for rendering and the BitBlt() call is not performed. The disadvantage with the transparent window style is that the drawing of TrendX is slower which can affect performance.
Prevention: Disable Screen Saver
Catalog Number:
DocFullNum: E57938295
Revision:N/A
Fixed in Revision:
Package:
Modual:
DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not intended to constitute application, design, software or other professional engineering advice or services. Before making any decision or taking any action, which might affect your equipment, you should consult a qualified professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.




[font=Helvetica,Arial,Geneva]Copyright © 2006-2008 Rockwell Automation. All rights reserved.[/font]
 
When you get this "Unable to bit blit" message you can press the minimize button on trend screen, then press the maximize button, and you will be able to see the current up to date trend data.
 

Similar Topics

I have no experience with Eaton HMIs. I downloaded the Galileo software and I am trying to get the file on a HMI (XV-102-H3-70twrl-10) to modify a...
Replies
4
Views
101
How to fix if appears code “$115 plc-restart running” on the screen OP17
Replies
5
Views
246
Here's what happened, Operator turned on the disconnect for an auger while it was still running to cut power. Auger DID in fact turn off, but the...
Replies
8
Views
335
Hi! I am trying to run the 'SimpleSample' (https://infosys.beckhoff.com/content/1033/TF5100_TC3_NC_I/Resources/3438746891/.zip ) to understand the...
Replies
2
Views
102
A new point I/O rack is to be hooked up with the running PLC. In point I/O, it is supposed to be the OA4 card to be installed as per the...
Replies
1
Views
91
Back
Top Bottom