-->

The official unofficial subreddit for Elite Dangerous, we even have devs lurking the sub! Elite Dangerous is a space simulator game by Frontier Developments based in the year 3305.

  1. One of the things I love teaching is how the transaction log and logging/recovery work. I presented a session on this at both PASS and SQL Connections in the last two weeks, and in both sessions I promised to write some blog posts about the deep internals of logging operations.
  2. Here I show you how to quickly open the tsa007 Lock. This is probably the most pathetic lock I've seen in my life. It opens with a simple piece of metal.

Gives the caller access to the memory in the buffer.

Slot

Syntax

Parameters

ppbScanline0

Receives a pointer to the first byte of the top row of pixels in the image. The top row is defined as the top row when the image is presented to the viewer, and might not be the first row in memory.

plPitch

Receives the surface stride, in bytes. The stride might be negative, indicating that the image is oriented from the bottom up in memory.

Return value

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codeDescription
S_OK
The method succeeded.
D3DERR_INVALIDCALL
Cannot lock the Direct3D surface.
MF_E_INVALIDREQUEST
The buffer cannot be locked at this time.

Remarks

If p is a pointer to the first byte in a row of pixels, p + (*plPitch) points to the first byte in the next row of pixels. A buffer might contain padding after each row of pixels, so the stride might be wider than the width of the image in bytes. Do not access the memory that is reserved for padding bytes, because it might not be read-accessible or write-accessible. For more information, see Image Stride.

The pointer returned in pbScanline0 remains valid as long as the caller holds the lock. When you are done accessing the memory, call IMF2DBuffer::Unlock2D to unlock the buffer. You must call Unlock2D once for each call to Lock2D. After you unlock the buffer, the pointer returned in pbScanline0 is no longer valid and should not be used. Generally, it is best to call Lock2D only when you need to access the buffer memory, and not earlier.

The values returned by the IMFMediaBuffer::GetCurrentLength and IMFMediaBuffer::GetMaxLength methods do not apply to the buffer that is returned by the Lock2D method. For the same reason, you do not need to call IMFMediaBuffer::SetCurrentLength after manipulating the data in the buffer returned by the Lock2D method.

The IMFMediaBuffer::Lock method fails while the Lock2D lock is held, and vice-versa. Applications should use only one of these methods at a time.

When the underlying buffer is a Direct3D surface, the method fails if the surface is not lockable.

Requirements

Minimum supported clientWindows Vista [desktop apps | UWP apps]
Minimum supported serverWindows Server 2008 [desktop apps | UWP apps]
Target PlatformWindows
Headermfobjects.h (include Mfidl.h)
LibraryMfuuid.lib

See also

Buffers and chain coupler on goods wagon
Part of a series on
Rail transport
  • Terminology (AU, NA, NZ, UK)
  • Bogie (truck)

Buffers and chain coupler (also called buffers and screw, screw coupler, or English coupler; in EU standards, it's two devices: buffers[1] and draw gear and screw coupling[2]) is the standard train coupling system used in Europe, outside the former Soviet Union. It is also occasionally used outside Europe.

The vehicles are coupled by hand using a hook and links with a turnbuckle that draws the vehicles together. In Britain, this is called a screw coupling. Vehicles have buffers, one at each corner on the ends, which are pulled together and compressed by the coupling device. This arrangement limits the slack in trains and lessens shunting shocks. By contrast, the semi-automatic Janney coupler usually requires comparatively jarring encounters in order to engage the coupling fully. The earliest buffers were fixed extensions of the wagon frames, but later spring buffers were introduced.

  • 2Variants
  • 3Problems with buffers and chain
  • 4Dimensions

Characteristics[edit]

Chain coupler detail (train in shunting mode)

The standard type of coupling on railways following the British tradition is the buffer and chain coupling used on the pioneering Planet class locomotive of the Liverpool and Manchester Railway of 1830. These couplings followed earlier tramway practice but were made more regular.

This coupling is still the standard in European countries (except the former Soviet Union, where the SA-3 automatic coupler is used). Coupling is done by a worker who must climb between the cars. First he winds the turnbuckle to the loose position, and then he can hang the chain on the hook. After hanging the chain on the towing hook the turnbuckle handle is stowed on the idle hook to prevent damage to itself, the vehicle, or the brake pipes. Only shunting is permitted with a dangling chain. Disconnected brake pipes must be stowed on dummy connectors, to allow proper operation of the brakes. (The picture shows two coupled cars, with a single brake pipe.)

The hooks and chain hold the carriages together, while the buffers keep the carriages from banging into each other so that no damage is caused. The buffers can be 'dumb' or spring-loaded. That means there are no run-in forces on the coupler. The other benefit compared with automatic couplers is that its lesser slack causes smaller forces on curves; there is a lower probability of a broken coupler in a curve than with automatic couplers. The disadvantage is the smaller mass of the freight that can be hauled by hook and chain couplers (maximum 4,000 t or 3,937 long tons or 4,409 short tons).

Get Slot From Buffer Locked Free

Early rolling stock was often fitted with a pair of auxiliary chains as a backup if the main coupling failed. This made sense before the fitting of continuous fail-safe braking systems.

On railways where rolling stock always pointed the same way, the chain might be mounted at one end only, as a small cost and weight saving measure.

On German and Scandinavian railways, the left buffer is flatter than the right one, which is slightly more rounded. This provides better contact between the buffers than would be the case if both buffers were slightly rounded.

Variants[edit]

Three-link couplings[edit]

A peculiarly British practice was the 'loose-coupled' freight train, operated by the locomotive crew and a 'Guard' at the rear of the train, the successor to the brakesman of earlier times. This train type used three-link chain couplings for traction and side buffers to accept pushing forces: since such trains were not fitted with an automatic through-train braking system there were no pipes to connect between the vehicles. The last vehicle of the train was a heavily ballasted guard's van with its brakes controllable by a handwheel convenient for the guard. The 'slack' between vehicles was very convenient when starting heavy trains with a relatively low-powered locomotive on the level or a rising gradient. On the driver's command the guard would apply his brake as hard as possible. The driver would then gently reverse to close up the wagons onto their buffers. The locomotive was then driven ahead and it could pick up the load, wagon by wagon, thus giving an easy start up the gradient. Wagons of that era didn't have roller bearings and the grease-lubricated bearings had considerable resistance to start moving, especially on a cold day, so starting wagon-by-wagon greatly reduced the traction force required from the locomotive.The downside of this convenience was that the guard could get badly thrown about as the train changed speed due to the inter-wagon gaps opening or closing. In the worst case these jerks could break a coupling or cause a derailment. A skilled guard would observe or listen to his train and apply or release his brake to keep the last few couplings reasonably taught and act as a shock-absorber. The same effect was seen when the route changed gradient, when going over a hill the rear of the train would catch up with the wagons held back by the locomotive, again, the guard could minimize this. This working of the brake was why the guard was required to prove his route knowledge, same as the driver, before being in charge of a heavy train. Such trains travelled at low speeds and were phased out in the 1970s.[3]

An improvement on this is the 'Instanter' coupling, in which the middle link of a three link chain is specially triangular shaped so that when lying 'prone' it provides enough slack to make coupling possible, but when this middle link is rotated 90 degrees the length of the chain is effectively shortened, reducing the amount of slack without the need to wind a screw. The closeness of the coupling allows the use of inter-vehicle pipes for train brakes. Three-link and Instanter couplings can be operated entirely from the side of the wagons using a shunter's pole (a pole rather like a substantial broom handle with a hook on the end) and are safer when shunting work is under way. Similarly, the screw-adjustable coupler can be connected by a shunter's pole once it has been unscrewed. Ordinary three-link couplings have been superseded by instanter, screw or buck-eye couplers in UK freight trains today.

Center-buffer-and-chain(s)[edit]

On some narrow-gauge lines in Europe and on the Paris Metro a simplified version is used, consisting of a single central buffer with a chain underneath. Sometimes there are two chains, one on each side of the coupler. The chain usually contains a screw-adjustable link to allow close coupling. These variants are also used elsewhere. On sharp curves, a single centre buffer is less likely to be subject to buffer-locking.

Buffer-and-chain on the narrow gauge[edit]

Buffer-and-chain couplers do not allow very sharp curves, and there is a buffer-locking problem if pushing the limit. Because of that – and Carl Pihl's successful promotion of the single-buffer Norwegian coupler that he designed to overcome this – conventional buffers-and-chain coupling is rarely employed on narrow-gauge systems: notable exceptions being the railway networks of Senegal/Mali, Tunisia and Côte d'Ivoire/Burkina Faso in Africa, and Queensland and Tasmania in Australia. Narrow gauge railways are often isolated from other railways, so standardization is not so important.

Problems with buffers and chain[edit]

Maximum load[edit]

The buffers and chain coupling system has a maximum load much less than that of the Janney coupler. They allow around 3,000-4,000 (metric) tonnes total train weight depending on the how they are constructed. The Janney coupler sometimes is built for 32,000 tonnes.

Buffer-locking[edit]

Get Slot From Buffer Locked Android

Buffer-locking

On sharp reverse curves, the buffers can get buffer-locked by slipping over – and onto the back of – an adjacent buffer.[4] Although careful track design makes this occurrence rare, an accident at a Swiss station in the 1980s was caused by buffer-locked wagons.[citation needed] Buffer-lock could be caused on the very sharp switches by the older, rounded buffers. The newer buffers are rectangular and they are wider than they are tall. They are not as flat, so they rarely cause buffer-locking.[citation needed] Buffers and chain coupler allow curves to have around 150 m (492.13 ft) radius, but so sharp S-curves are not allowed. If it weren't for the couplers, much sharper curves could be allowed, on the condition the train is not too long. Tramways exist with 20 m (65.62 ft), or less curve radius, with center couplers.

Variation with gauge[edit]

The width between the buffers tends to increase as the gauge increases or decrease as the gauge decreases, so that if wagons are changed from one gauge to another, the buffers will no longer match. This occurs because the buffers are originally extensions of the frames, which are spaced according to the gauge. Conversely, as gauge gets smaller, the distance between the buffers reduces also. The height of the buffers is usually lower on narrow gauge railways, corresponding to the generally lower height of the rolling stock. Narrow gauge railway often use centre couplers without buffers instead. In short, when rebuilding wagons from one gauge to another, more work is needed.

However, in the case of Iberian broad gauge railways, the buffer's height and spacing is the same as for the standard gauge railways in Europe including Great Britain in order to allow through running of rolling stock by the use of bogie exchange.

Dimensions[edit]

Buffers and chain couplers tend to have the two buffers spaced according to the gauge, but especially in Europe this is modified to the standard gauge value to allow interrunning by means of bogie exchange.

Dimensions showing variation of spacing by gauge.

NameGaugeHeightSeparationRegion
Standard gauge1,435 mm (4 ft 812 in)1,054 mm (41.5 in)1,727 mm (68.0 in)[5]Great Britain, European mainland
Metre gauge1,000 mm (3 ft 338 in)0,756 mm (29.8 in)1,248 mm (49.1 in)Senegal and Mali[6]
Burkina Faso and Ivory Coast.
Broad gauge1,520 mm (4 ft 112732 in)1,063 mm (41.9 in)1,727 mm (68.0 in)Dual-gauge (Europe/Russia) sleeping car[7]
Broad gauge1,668 mm (5 ft 52132 in) Iberian gauge1,050 mm (41.3 in)1,720 mm (67.7 in)Spain and Portugal
Broad gauge1,676 mm (5 ft 6 in)1,067 mm (42.0 in)1,955 mm (77.0 in)India, Pakistan and Sri Lanka

Gallery[edit]

  • Buffer And Chain
    Screw Couplers
    on German Loco

  • Buffer And Twin Chain
    German Heritage Couplers
    Togo (1,000 mm or 3 ft 338 inmetre gauge)

  • Buffer And Chain
    3Link Couplers
    on Tank Wagon

  • Buffer And Chain
    3Link Couplers
    on Tank Wagon

  • Buffer And Chain
    Screw Couplers
    CoilSpring Buffers Left
    Hydraulic Buffers Right

  • Buffer And Chain
    Screw Couplers
    on Goods Wagons

  • Buffer And Chain
    Screw Couplers
    in Ride Mode

  • SwitzerlandRhätische Bahn (1,000 mm or 3 ft 338 in) 'Centre-buffer-&-double chain coupler', called Equalising lever coupler

  • Balance lever in front of buffer support

  • Balance lever behind buffer support (Equalising lever coupler)

See also[edit]

References[edit]

  1. ^EN 15551:2009+A1:2010 Railway applications – Railway rolling stock – Buffers
  2. ^EN 15566-2009+A1:2010 Railway applications – Railway rolling stock – Draw gear and screw coupling
  3. ^'Archived copy'. Archived from the original on 2006-09-26. Retrieved 2006-11-12.CS1 maint: archived copy as title (link)
  4. ^No locking
  5. ^Steam Spirit, Vol 1, p 129
  6. ^Jane's World Railways 1969-1970 edition
  7. ^Railway Gazette International Sept 2012, p 108

External links[edit]

  • Media related to Buffers and chain coupling at Wikimedia Commons
Retrieved from 'https://en.wikipedia.org/w/index.php?title=Buffers_and_chain_coupler&oldid=931810372'