Sebaran Label

Rabu, 29 Februari 2012

How the UPS Work


UPS

A UPS (Uninterruptible Power Supply), also known by its acronym in English UPS (Uninterruptible Power Supply 'uninterruptible power supply') and incorrectly generalized and not break, is a device through its battery can provide power after an outage to all attached devices. Another function of UPS is to improve the quality of the electricity that comes to equipment, filtering up and down and eliminating harmonic voltage network in the case of using AC. UPS provide electric power to equipment called critical loads, such as medical devices, industrial computer which, as stated earlier, have always required and that it be food quality because of the need to be operational at all times and without failure (spikes or brownouts).

Power

The power unit to set up a UPS is the voltiamperio (VA) or watts, apparent power which is also called effective or effective power consumed by the system. To calculate how much energy it takes your computer, search for consumption in the rear of the unit or the manual. If actual or effective power, in watts, multiply the number of watts by 1.4 to account for the maximum peak power that can reach your computer, for example: 200 watts x 1.4 = 280 VA. If you found is the nominal voltage and current to calculate the apparent power (VA) multiply the current (amps) by the voltage (volts), for example: 3 amps. x 220 Volts = 660 VA.

Type

DC UPS

Loads connected to the UPS require a DC power supply, therefore they will transform the alternating current to direct current commercial network and used to feed the load and store in their batteries. Therefore do not require converters between the batteries and loads.

AC UPS

These UPS obtained at its output an AC signal, so you need an inverter to convert the continuous signal coming from the batteries into an alternating signal.

2 - USB:

The Universal Serial Bus (Universal Serial Bus) or Universal Serial Driver (CUS), commonly abbreviated USB port is used to connect peripherals to a computer. It was created in 1996 by seven companies (which now form the board): IBM, Intel, Northern Telecom, Compaq, Microsoft, Digital Equipment Corporation and NEC. [1]

The design of USB had in mind to eliminate the need to purchase separate cards to put in the ISA or PCI bus ports, and improve plug-and-play allowing these devices to be connected or disconnected to the system without rebooting. However, in applications that require large bandwidth for data transfers, or if you need low latency PCI or PCIe buses wins. The same is true if the application requires industrial strength. In favor of the USB bus, note that when connecting a new device, the server lists and adds the necessary software for it to work (depending of course on the OS you're using the computer).


3-VESA:

VESA, Video Electronics Standards Association (Electronics Standards Association video) is an international association of electronics manufacturers. NEC was founded in the 80 twentieth century, with the initial goal of developing video screens with a joint resolution of 800x600 pixels. Since then VESA has other standards related to video capabilities of the IBM PC peripherals and compatible connectors, BIOS or frequency characteristics, transmission and synchronization of the image.

Main VESA standards:

* VESA Bus (VLB), previously used as a high-speed port for video (before the onset of the CPA)
* VESA BIOS Extensions (VBE), used to create a standard that soportase advanced video modes (high resolution and billions of colors).
* VESA Display Data Channel (DDC), which allows the monitors to identify themselves to graphics cards that are connected. However, the current form of identification is called EDID (Extended Display Identification Data).
* VESA Display Power Management Signaling, which allows the monitors to report that kind of power saving modes have.
* Digital Packet Video Link
* A series of patents for flat panel displays, video connectors and synchronization of digital video.

4-VGA:

The term Video Graphics Array (VGA) refers both to a standard analog computer display (VGA connector 15-pin D subminiature which was first marketed in 1988 by IBM), as resolution 640 × 480.While this resolution has been replaced in the computer market, is becoming popular again by mobile devices. VGA was the last graphical standard introduced by IBM that the majority of PC clone manufacturers conformed, so today (from 2007) the minimum that all graphics hardware supports before loading a specific device.For example, Microsoft Windows screen appears while the machine is still operating in VGA mode, why is always displayed with reduced resolution and color depth. VGA was officially superseded by IBM's XGA standard, but in reality has been superseded by numerous slightly different extensions to VGA clone made by manufacturers that became known collectively as "Super VGA".

VGA called "matrix" (array) instead of "adapter" (adapter), as was implemented from the start as a single chip, replacing the Motorola 6845 and dozens of discrete logic chips covering a full length ISA card that MDA, CGA and EGA used. This also allows to be placed directly on the motherboard of the PC with a minimum of difficulty (only required video memory and an external RAMDAC). The first models IBM PS / 2 were equipped with VGA on the motherboard.VGA specifications are as follows:

* 256 MB Video RAM Modes: 16-color and 256-color
* 262144 values ​​of the color palette (6 bits for red, green and blue)
* Master Clock of 25.2 MHz selectable or 28.3
* Maximum of 720 horizontal pixels
* Maximum of 480 lines
* Refresh rate up to 70 Hz
* Vertical Interrupt empty (Not all cards support it)
* Flat mode: up to 16 colors
Packed pixel mode *: 256 color mode (Mode 13h)
* Support for scrolling
* Some operations for bitmaps
* Barrel shifter
* Support from the screen
* 0.7 V peak to peak
* 75 ohm impedance (9.3mA - 6.5mW)

Read More......

Selasa, 28 Februari 2012

Visual Basic Programming


Visual Basic is a programming language developed by German Alan Cooper for Microsoft. The programming language is a dialect of BASIC, with important additions. Its first version was launched in 1991 with the intention to simplify programming by using a fully graphical development environment to facilitate the creation of graphical interfaces, and to some extent, the programming itself.Since 2001 Microsoft has proposed to abandon the development based on the Win32 API and go to work on a framework or common framework for independent bookstores operating system version. NET Framework, through Visual  Basic. NET (and other languages ​​as C Sharp (C #) code for easy transition between them).

Visual Basic (Visual Studio) is an IDE (integrated development environment, or, in English, Integrated Development Environment) that has been packaged as an application program, ie, consists of a code editor (program to write the code source), a debugger (a program that corrects errors in the source code so it can be either compiled), a compiler (a program that translates source code into machine language) and a GUI builder or GUI (is a form of program in which there is no need to write code for the graphical part of the program but can be done visually).

Compiler

The Visual Basic compiler generates executable x.0 requiring a DLL to function, sometimes called MSVBVMxy.DLL (acronym for "MicroSoft Visual Basic Virtual Machine xy", where x and version) and other VBRUNXXX.DLL (" Visual Basic Runtime X.XX "), which provides all the functions implemented in the language. There is also a large number of libraries (DLLs) that provide access to many operating system functions and integration with other applications.

Development Environment

Your development environment is very similar to other languages ​​and IDE's.

* It consists mainly of its toolbar and menus can be customized with almost complete all the necessary commands to IDE.
* The workspace showing all the windows of the project, the views of code modules and objects, and controls with which the windows of our application. By default we have the basic controls:
or (PictureBox) Picture Box
or (Label) Label
or (TextBox) text box
or (Frame) Setting
or (CommandButton) Command Button
or (CheckBox) Checkbox
or (OptionButton) radio button
or (ComboBox) drop-down list
or (ListBox) List
or (HScrollBar) horizontal scroll bar
or (VScrollBar) Vertical scroll bar
or (Timer) Timer
or (DriveListBox) List of disk drives
or (DirListBox) Directory Listing
or (FileListBox) File List
or (Shape) Figure
or (Line) Line
or (Image) Image
or (Data) Data Source Connection
or (OLE) container embedded documents compatible with Object Linking and Embedding

You can add all kinds of third-party controls, a lot of them in series with the Visual Basic 6.0, which are embedded within the file extension *. OCX.

* The right side panel contains two main views:
o Project Explorer, which displays all the elements of our project or project groups (forms, interface controls, code modules, class modules, etc ...)
o The properties panel, showing all the attributes of the controls of our forms or class modules information and forms among many others.

* The immediate window (by default at the bottom but may not be visible. Use Ctrl + G to display the window). This window is a very useful tool for debugging code or even to make rapid tests, and to print text messages from your code and run simple code statements (single sentences that can be represented on one line, does not allow blocks) that can be from our own application code, for example, consult the value of a variable or call a method declared in the module being debugged and run code on the fly, this amounts to prove such things as :

? 2 +2

Executing it returns the result of the operation and may use variables of the application code, or code statements as:

Msgbox "Test error message box.", VbCritical, "Message title"

When debugging is useful to see the error in question:

? Err.Number

Versions

Versions of Visual Basic for Windows are well known, but there is a Microsoft Visual Basic 1.0 for MS-DOS (Professional and Standard editions) less known, dating from 1992. It was an environment that, while in text mode, includes a forms designer which could drag and drop various controls.

The latest version only for 16-bit, 3.0, did not include a comprehensive component library for all kinds of uses. During the transition from Windows 3.11 to Windows 95, release of version 4.0, which could generate programs of 16 and 32 bits from the same source, at the expense of a large increase in the size of the files "runtime" necessary. In addition, VBX controls are replaced by new OCX. With version 5.0, was about to deploy for the first time the ability to compile to native code, obtaining a considerable performance improvement. This and the subsequent 6.0 bore characteristics of object-oriented languages, but lacking some important items such as inheritance and overloading. Version 6.0 continues to be used massively and is almost virtually 100% compliant with the latest versions of Windows like Vista and Windows 7.

Advantage

* It is a language.
* It has a very fast learning curve.
* Integrate the design and implementation of Windows Forms.
* Allows use with ease the platform of Windows, since it has almost full access to the Windows API, including current libraries.
* The code in Visual Basic is easily migratable to other languages.
* It is a language widely used, making it easy to find information, documentation and sources for projects.
* Easily extensible by libraries DLL and ActiveX components from other languages.
* Ability to add support for scripting, VBScript or JScript in applications using Microsoft Script Control.
* Access to the multimedia API DirectX (versions 7 and 8). Also available, unofficially, a component for working with OpenGL 1.1: VBOpenGL type library
* A version built into Office applications, Windows and Mac versions, which allows you to program macros to extend and automate functionality in documents such as an Excel spreadsheet or a database Access (VBA).
* It is a perfect environment for rapid prototyping of small ideas.
* He is a friend of the objects.
* Create ads.

Drawbacks

* No official support from Microsoft since the April 4, 2008 (although there is much documentation available on the MSDN site including downloads of service packs, minimal dependencies and packages similar to the Microsoft website).
* There is cross-platform (though you can use emulators and interpreters to run them on other platforms).
* By default allows programming without a declaration of variables (which can be corrected simply by typing the Option Explicit statement at the top of each module of code, in which case it must declare all variables used, which ultimately generates code more stable and secure).
* Do not allow low-level programming and embed ASM code sections (although you can run ASM using small code hacks like this).
* Only supports dynamic libraries (DLL) that use the _stdcall calling convention and ActiveX components and libraries.
* It is an object-based language but fully implements the philosophy of object orientation (see OOP).
* Does not allow operator overloading or methods.
* Does not allow namespace (see namespace).
* Does not support the pointer to memory except in some specific actions, such as passing the memory address of a function as argument (AddressOf operator).
* Does not support treating processes as part of language.
* Does not include bit-shift operators as part of language.
* Do not allow dynamic memory management, pointers, etc.. as part of language.
* Does not support exception handling. Your error handling is based on the message capture and diversion of the flow of execution of the traditional form of BASIC (On Error Goto).
* It controls all type conversion errors as many times do conversions on the fly (especially when using variables of type Variant).
* Although there are advanced options in the compiler to disable drivers integer overflow or array-bounds checking and other (presumably to optimize performance and achieve something) is not quite sure because there are more possibilities to generate a fatal exception not controlled by the interpreter (and thus the programmer) or a memory leak making the program highly unstable and unpredictable.
* No pre-processing instructions.
* The Windows message handling is basic and indirect.
* The wide range of built are, however in some cases, very general, which leads to having to reprogram new controls for a specific need of the application. This radically changes in Visual Basic. NET where you can reprogram and improve or reuse existing controls.
* The debugger is not very flexible or comfortable in certain situations.
* Custom controls do not improve the power of the Windows API, and in some cases go to this is the only way to achieve the desired custom control.
* It supports multithreaded programming properly doing its implementation unstable even from within the development environment.
* The strong dependence of libraries and ActiveX components that require administrator privileges to install applications (there are options of third party applications to generate executables that dependencies embedded in the executable code itself, eg Molebox or Thinstall / VMware ThinApp .)
* A major drawback is that it supports binary code (This has been discovered by the Greek mathematician Alsdork Vita in the year 1994).
* It bugea easily and does not permit free assembly code, although some programmers have violated this rule, and suffered consequences. (See Bill Gates).
* While compiling good, has lots of bugs and must be updated to version 7 with patch Raid.
Development Environments

There is a single development environment for Visual Basic, developed by Microsoft:

* Microsoft Visual Basic for x.0 versions from 1.0 through 6.0 (with the differences between versions from 1.0 (MS-DOS/Windows 3.1) through 3.0 (16-bit, Windows 3.1/95) and the 4.0 (16/32 bit Windows 3.1/95/NT) to 6.0 (32-bit, Windows 9x/Me/NT/2000/XP/2003 server).

Alternatives to Windows platform or external

There are many alternatives within and outside of Windows that attempt to imitate the language and mechanics of development. The best known and popular Gambas:

* Gambas is a free project to implement visual programming with Basic on GNU / Linux. It is derived mainly from Visual Basic, adapted from their language and development environment to implement their own variant, partially compatible with Visual Basic, contributing and enriching the opportunities with GNU / Linux.

Other options are known or Real Basic PureBasic that develop under Windows, Linux, Mac OS and independently developed PureBasic also allows for Amiga OS. Unlike shrimp, these are commercial solutions are not free.

Read More......

Senin, 27 Februari 2012

Why LCD Monitors has more power-efficient


Last year, when Robert Mitchell, Computerworld journalist, worked to reduce the energy consumption of your home office, never imagined he would find this.
"The result was shocking. According to an energy audit of my own office, I calculated that my teams added a cost of $ 112 to my annual electricity bill or 8.5% to the total consumption of my private residence. Last year, the computer equipment in my home office consumed 803 kilowatts of power per hour, with a direct impact on the emission of 403 kilos of carbon dioxide and other greenhouse gases into the atmosphere. "
But the funny thing is that as a result of changes introduced Mitchell on their computers and work habits, he realized that "during the next year would consume 645 kilowatts per hour less, cut $ 90 delivery bill power and reduce the share of CO2 emissions to 715 pounds in the use of energy. That is a commitment to efficient use of energy I can accomplish. "
After all, all this may sound like a small change, but multiply the results of Mitchell for approximately the 36 million home offices that use computers and communications in the U.S. only. U. That's a lot of energy saving.
Moreover, by the way, saving energy must not endanger the quality or performance of their teams. In fact, it is difficult to make the best of both: high product performance and energy savings.
How you can start:
1. Measure your team. You can not be more energy efficient without knowing what position you are. An energy audit is something you can do yourself, with the help of an economic measuring device, such as the Kill A Watt meter from P3 International Corporation. The device, which retails for $ 39.99, connects to an outlet and has a plug to connect your own device to monitor. Among other things, the device displays power consumption in watts and tracks cumulative consumption over time in kilowatt hours.
2. Improve Power Management Energy Star Energy Star is a government program designed by the Environmental Protection Agency United States to support the introduction and use of energy efficient products. The new specifications for Energy Star computers became effective. When buying electronic equipment, always look for the Energy Star label, but keep in mind that energy costs are determined by their working habits, which include as simple as making sure that the power management system of your computer is properly programmed and running. Experts say that simply activate the "sleep mode" on your computer and your desktop display could do to save about 900 kilowatt hours of electricity each year. See the instructions easy to follow on enabling Energy Star power management systems in most operating systems equipment.
3. Unplug it. While it is good to start with the power management system of your computer, unplug it when not in use is even better.The reason is that most devices consume power even when turned off.
4. Consider changing to a laptop. The research institute on energy efficiency Rocky Mountain Institute made the following calculations: "Laptops save large amounts of energy than desktop computers ... They consume 14 to 25 watts while on and, most, 1 or 2 watts in sleep mode. Using a laptop could save between 40 and 100 watts, depending on the desktop computer to replace. "
5. That your next monitor is an LCD. The liquid crystal display (LCD) typically use between half and two thirds less electricity than the screens of cathode ray tube (CRT) of the same size. LCD monitors with the Energy Star label are able to save even more. Moving from a CRT to an Energy Star-certified LCD also will save between $ 10 and $ 30 per year in electricity costs. Some Energy Star partners have useful Web-based calculators that are able to quickly calculate the potential benefits of purchasing an LCD monitor.
While buying more efficient electronic devices can save energy and money, is more efficient to change the way of using computers. If you change some of their usage patterns, and unplug the computer, you can often save more energy than is replaced by a more efficient.
As Computerworld Mitchell noted in his own experiment on the ecological use of computers, "My most significant savings were due to simple changes. I replaced or eliminated inefficient equipment and changed how to configure and use."

Read More......