Wednesday, March 9, 2016

Count The Number of Cells With Specific Cell Color By Using VBA

Here the steps to create the count cell color UDF:

  1. Open Microsoft Excel then press Alt+F11 to show Visual Basic Editor window.
  2. On Insert menu, select Module to create a module. Then write the following script:
    Function CountCcolor(range_data As range, criteria As range) As Long
        Dim datax As range
        Dim xcolor As Long
    xcolor = criteria.Interior.ColorIndex
    For Each datax In range_data
        If datax.Interior.ColorIndex = xcolor Then
            CountCcolor = CountCcolor + 1
        End If
    Next datax
    End Function
  3. Close VBE window and back to Excel.
  4. To test the UDF, create some example data, or you can download this example file here.
  5. At cell D3, write the function: =CountCcolor(range_data,criteria)
    in range_data argumen, select cell C2 to C51
    in criteria argumen, select cell F1

  6. Press Enter and in cell F2 the result is 6. It means the number of cells with Blue cell color is 6 cells.

  7. You can also test another color. Change the color in cell F1 with any color you want from the data by using Format Painter to get same color.

  8. You can also pack the UDF, so that function can be used in another workbook and machine. Please following this steps :


    Step 1: Save The Workbook

    1. Fill the name that you want named to at the File Name box. Here I name it Count Cell Color.
    2. For the file type, choose Excel Add-In (.xlam) format.



      Note: You can save your Add-In file anywhere you want. But if you want it to be listed on Excel built-in, you should save it into the default location. On my computer with Windows 7 operating system, the default location for any versions of Microsoft Excel is: C:\Users\RADDINI\AppData\Roaming\Microsoft\AddIns


    Step 2: Install the Add-In
    1. Open Microsoft Excel on computer that you want install the Add-In. Open Add-Ins dialog box by clicking Add-In on the Developer tab.
    2. On the Add-In dialog box, click Browse button so Browse dialog box is displayed.

    3. Go to file location that Add-In file is saved. Choose the file and then click Open.
    4. On the Add-Ins dialog box make sure the add-in checkbox is unchecked. Then click OK.

Now the Count Cell Color UDF has installed and ready to use.

source:https://support.microsoft.com/en-us/kb/2815384

Monday, February 1, 2016

Engineering vs engineering technology

Engineering and engineering technology are separate but closely related professional areas that differ in:

  • Curricular Focus – Engineering programs often focus on theory and conceptual design, while engineering technology programs usually focus on application and implementation. Engineering programs typically require additional, higher-level mathematics, including multiple semesters of calculus and calculus-based theoretical science courses, while engineering technology programs typically focus on algebra, trigonometry, applied calculus, and other courses that are more practical than theoretical in nature.
  • Career Paths – Graduates from engineering programs are called engineers and often pursue entry-level work involving conceptual design or research and development. Many continue on to graduate-level work in engineering. Graduates of four-year engineering technology programs are called technologists, while graduates of two-year engineering technology programs are called technicians. These professionals are most likely to enter positions in sectors such as construction, manufacturing, product design, testing, or technical services and sales. Those who pursue further study often consider engineering, facilities management, or business administration.

There is much overlap between the fields. Engineers may pursue MBAs and open their own consulting firms, while technologists may spend their entire careers in design capacities.

For ABET accreditation, engineering and engineering technology programs are reviewed and accredited by two separate accreditation commissions, using two separate sets of accreditation criteria: the Engineering Accreditation Commission and the Engineering Technology Accreditation Commission.

source:http://www.abet.org/accreditation/new-to-accreditation/engineering-vs-engineering-technology/

What is the difference between engineering and engineering technology?

I spend quite a bit of time talking with prospective students and their families about engineering technology and the programs available here at NMU during their campus visit (see www.nmu.edu/visit for more information about the campus visit program).  One topic I typically spend a lot of time on during these visits is the difference between engineering and engineering technology.  I look at it from 4 different perspectives; 1) Academically, how the classes and curriculum differ between the two types of programs, 2) Employment opportunities and types of work for each degree, 3) Registration as a Professional Engineer, and 4) What types of individuals are best suited for each type of program.  Each of these perspectives is expanded upon below.  Some universities offer both engineering and engineering technology (ET) degrees, and some universities offer either only engineering, or only ET.  Here at NMU we offer only the ET degree. 

The primary academic difference is that ET classes are typically more “hands-on” and more application focused than engineering classes.  Most ET classes will have labs associated with them in which the students apply the concepts learned in class to an actual application.  Some examples of classes that would typically be offered in an ET program that would not be found in an engineering program would be; basic manufacturing processes (machine shop), fluid power (hydraulics), and basic circuits (circuit board construction/soldering).  Engineering classes are typically more math intensive and theory based than ET classes.  A smaller percentage of engineering classes will have lab components.  Some examples of classes that are found in most engineering curriculums but not in many ET programs are; Calculus II and III, Differential Equations, and Chemistry II.  Another difference is the math used in the engineering classes is often calculus-based and algebra is used in most ET classes.

When I graduated from college I went to work as an engineer at a large automotive manufacturer.  At this company a significant differentiation was made between engineering graduates and ET graduates.  The ET students filled technician jobs.  They set up vehicles with instrumentation and actually took the vehicles out and did the testing, and depending upon their ability, did some data analysis.  The engineering students got jobs as project engineers.  They would specify what tests are done, assign the tasks to the technicians, analyze the data, write reports, and give presentations to management.  In talking with many of my colleagues that worked at other large companies, the job divisions and classifications were very similar to my experience.  Later in my career, I took a job at a small supplier (~600 employees) to the diesel engine industry.  At this company new employees were treated the same and got similar job assignments whether they had an engineering degree, or an ET degree.  In a number of cases ET degreed personnel moved into management positions and oversaw people with engineering degrees.  At this company you were assigned projects and moved up in the company based upon your job performance and the degree was irrelevant.  In my experience, and with discussions with many former NMU ET graduates, it seems that most smaller companies adapt this philosophy.

Another difference between engineering and ET degrees is the ability to get licensed as a professional engineer.  Registration as a professional engineer is required for engineers making final decisions that can have an impact on the health and welfare of the general public.  A large majority of the mechanical and electrical engineers across the country are not licensed professional engineers.  It is most common in the civil engineering disciplines.  Engineers working in the building design and consulting fields often find it beneficial to be licensed.  In Michigan the process to become licensed is; 1. Graduate from an accredited engineering program, 2. Pass the Fundamentals of Engineering Exam, 3. Work in industry for a minimum of 7 years under the guidance of a professional engineer, 4. Pass the Practice of Engineering Exam.  Notice the first step was to graduate from an engineering program.  An ET degree does not meet the requirements in Michigan.  Each state has their own specific requirements and procedure for obtaining licensure in that state.  About two thirds of the states, including Wisconsin, accept an ET degree from an accredited program as satisfying the formal education requirements.  Both the Mechanical Engineering Technology and Electronics Technology programs at NMU have been accredited by ABET, therefore meeting the initial requirements for professional engineer licensure in these states.  Accreditation means that an independent evaluation of the program was done and the program was approved as having met the requirements of the accrediting body.  Engineering and ET programs in the US are accredited by ABET (www.ABET.org).   Therefore, in the majority of states, whether you have an engineering or an ET degree has no impact on your ability to become licensed as a professional engineer.

The last perspective I usually review is that of the student.  What type of individual is best suited for each degree?  In general, those most suited for the ET program are the “hands-on” type of individual.  This may be the student who took small engines, or machine shop in high school, or the person who likes tinkering on their snowmobile or dirt bike on the weekends.  The very academic student, the one who took AP calculus in high school, who gets a 28 or 29 on the ACT, and who would rather mess around on their computer than mess around in the garage, may find an appropriate fit in an engineering degree program.

Hopefully this has been a helpful summary of some of the differences between engineering and engineering technology.  If you have any questions about these differences or anything else related to the programs offered here at NMU, feel free to contact me at my direct office line (906-227-1179), or even better, plan a visit to NMU by contacting the campus visit office (906-227-1709) and you will be get an appointment to talk directly with myself or one of my colleagues.  No matter what your decision, you are exploring a degree program that will serve you well and provide yourself a gainful career.  Good luck in your education!!
Source:https://www.nmu.edu/engineeringtechnology/engineering-tech-vs-engineering

Sunday, January 31, 2016

Macro to Split the Mail Merged Letters

Recently I came across this issue in my project. In our testing project, we follow a different Defect Management tool and the Development comapny using a different defect management system. Our tool can give all the defects in a Excel sheet. But the other party needs each individual defect in a single word file in their template.


So we got their template. And I have checked whether we have all the necessary fields in our excel file to fit in their Word Template. Except one field almost every items like Defect Description, Tester Name, Testd Date etc. So i used the mail merge option in Word and used the excel file as data source. Fitted in the necessary fields from Excel in the Word file. Used the mail merge wizard and generated all the defects in their template as a continuous document. But the developers need them in a separate files as incident logs. So i was searching for the options to split the files in MS Word itself. But there is no way. So i wanted to try the macro program. Fortunately i got my solution in Expers-Exchange.com The wollowing macro written by someone saved me a lot of time. I have created a new macro to my consolidated letters document and pasted the below macro program and tinkered a little bit to change the folder name (where to store the splitted files) and File name (name for my splitted files). Then I ran the macro, it did the magic of separating the consolidated files to separated files... Try it when u face this sort of solution.... Thanks to Expert-Exchange.com

Sub Split()
Dim mask As String
Selection.EndKey Unit:=wdStory
Letters = Selection.Information(wdActiveEndSectionNumber)
mask = "ddMMyy"
Selection.HomeKey Unit:=wdStory
Counter = 1
While Counter <> DocName = "C:\" & Format(Date, mask) & "_Letter_" & LTrim$(Str$(Counter)) & ".doc"
ActiveDocument.Sections.First.Range.Cut
Documents.Add
With Selection
.Paste
.EndKey
Unit:=wdStory
.MoveLeft
Unit:=wdCharacter, Count:=1
.Delete Unit:=wdCharacter, Count:=1
End With
ActiveDocument.SaveAs FileName:=DocName, FileFormat:=wdFormatDocument
ActiveWindow.Close
Counter = Counter + 1
Wend
End Sub


Source: http://techgurukul.blogspot.in/

Sunday, January 24, 2016

IES 2017 Syllabus And Pattern Change Information

As per the official declaration and notice from UPSC, IES ESE (Engineering Services Examination) 2017 is getting a new pattern and syllabus is being changed a bit.
Please note that the changes will be applicable from the year 2017 onwards. (not 2016!)

Here is a brief report of the changes -
CHANGE No. 1 : Changes in General Ability Test Paper Syllabus ( Objective-Type)


OMITTED
the portion of History, Geography, Economics, Polity, Life Science, Science & Tech

INCLUDED Current issues, Engineering Aptitude, Engineering Mathematics, Design, Drawing, Basics of Energy and Environment based questions.

CHANGE No. 2 : Changes in Objective-Type Technical Paper


SINGLE OBJECTIVE TEST Paper of ENTIRE TECHNICAL SYLLABUS: 3 Hour, 300 Marks




EXAMINATION STRUCTURE & MARKING SCHEME


Stage-I : Engineering Services (Preliminary) Examination (Objective Type Papers)

Paper-I : (Common for all Candidates)

General Studies and Engineering Aptitude Paper : 2 hours duration 200 Marks (max.)

Paper-II : Engineering Discipline-specific Paper : 3 hours duration 300 Marks (max.)



Stage-II : Engineering Services (Mains) Examination (Conventional Type Papers)

    Paper-I : Engineering Discipline-specific Paper-I : 3 hours duration 300 Marks (max.)

Paper-II : Engineering Discipline-specific Paper-I : 3 hours duration 300 Marks (max.)

Only those Candidates qualifying Stage-I + Stage-II to be permitted to appear for Stage-III examination

Stage-III :
Personality Test : 200 Marks (max.)
 

Electrical syllabus
IES ESE 2017 Syllabus-

Paper I
  • Engineering Mathematics
  • Electrical Materials
  • Electric Circuits and Fields
  • Electrical and Electronic Measurements:
  • Computer Fundamentals
  • Basic Electronics Engineering
Paper II
  • Analog and Digital Electronics
  • Systems and Signal Processing
  • Control Systems
  • Electrical Machines
  • Power Systems
  • Power Electronics and Drives
For Clear Details check the official link Click here


source:http://www.crazyengineers.com/threads/ies-2017-syllabus-and-pattern-change-information.86176/

Sunday, January 3, 2016

Table of Electrical Symbols


Electrical symbols and electronic circuit symbols are used for drawing schematic diagram.
The symbols represent electrical and electronic components.

Table of Electrical Symbols

Symbol Component name Meaning

Wire Symbols

electrical wire symbol Electrical Wire Conductor of electrical current
connected wires symbol Connected Wires Connected crossing
unconnected wires symbol Not Connected Wires Wires are not connected

Switch Symbols and Relay Symbols

SPST switch symbol SPST Toggle Switch Disconnects current when open
SPDT switch symbol SPDT Toggle Switch Selects between two connections
push button symbol Pushbutton Switch (N.O) Momentary switch - normally open
push button symbol Pushbutton Switch (N.C) Momentary switch - normally closed
dip switch symbol DIP Switch DIP switch is used for onboard configuration
spst relay symbol SPST Relay Relay open / close connection by an electromagnet
spdt relay symbol SPDT Relay
jumper symbol Jumper Close connection by jumper insertion on pins.
solder bridge symbol Solder Bridge Solder to close connection

Ground Symbols

earth  ground symbol Earth Ground Used for zero potential reference and electrical shock protection.
chassis symbol Chassis Ground Connected to the chassis of the circuit
common digital ground symbol Digital / Common Ground  

Resistor Symbols

resistor symbol Resistor (IEEE) Resistor reduces the current flow.
resistor symbol Resistor (IEC)
potentiomemer symbol Potentiometer (IEEE) Adjustable resistor - has 3 terminals.
potentiometer symbol Potentiometer (IEC)
variable resistor symbol Variable Resistor / Rheostat (IEEE) Adjustable resistor - has 2 terminals.
variable resistor symbol Variable Resistor / Rheostat (IEC)
Trimmer Resistor Preset resistor
Thermistor Thermal resistor - change resistance when temperature changes
Photoresistor / Light dependent resistor (LDR) Photo-resistor - change resistance with light intensity change

Capacitor Symbols

Capacitor Capacitor is used to store electric charge. It acts as short circuit with AC and open circuit with DC.
capacitor symbol Capacitor
polarized capacitor symbol Polarized Capacitor Electrolytic capacitor
polarized capacitor symbol Polarized Capacitor Electrolytic capacitor
variable capacitor symbol Variable Capacitor Adjustable capacitance

Inductor / Coil Symbols

inductor symbol Inductor Coil / solenoid that generates magnetic field
iron core inductor symbol Iron Core Inductor Includes iron
variable core inductor symbol Variable Inductor  

Power Supply Symbols

voltage source symbol Voltage Source Generates constant voltage
current source symbol Current Source Generates constant current.
ac power source symbol AC Voltage Source AC voltage source
generator symbol Generator Electrical voltage is generated by mechanical rotation of the generator
battery cell symbol Battery Cell Generates constant voltage
battery symbol Battery Generates constant voltage
controlled voltage source symbol Controlled Voltage Source Generates voltage as a function of voltage or current of other circuit element.
controlled current source symbol Controlled Current Source Generates current as a function of voltage or current of other circuit element.

Meter Symbols

voltmeter symbol Voltmeter Measures voltage. Has very high resistance. Connected in parallel.
ammeter symbol Ammeter Measures electric current. Has near zero resistance. Connected serially.
ohmmeter symbol Ohmmeter Measures resistance
wattmeter symbol Wattmeter Measures electric power

Lamp / Light Bulb Symbols

lamp symbol Lamp / light bulb Generates light when current flows through
lamp symbol Lamp / light bulb
lamp symbol Lamp / light bulb

Diode / LED Symbols

diode symbol Diode Diode allows current flow in one direction only - left (anode) to right (cathode).
zener diode Zener Diode Allows current flow in one direction, but also can flow in the reverse direction when above breakdown voltage
schottky diode symbol Schottky Diode Schottky diode is a diode with low voltage drop
varicap diode symbol Varactor / Varicap Diode Variable capacitance diode
tunnel diode symbol Tunnel Diode  
led symbol Light Emitting Diode (LED) LED emits light when current flows through
photodiode symbol Photodiode Photodiode allows current flow when exposed to light

Transistor Symbols

npn transistor symbol NPN Bipolar Transistor Allows current flow when high potential at base (middle)
pnp transistor symbol PNP Bipolar Transistor Allows current flow when low potential at base (middle)
darlington transistor symbol Darlington Transistor Made from 2 bipolar transistors. Has total gain of the product of each gain.
JFET-N transistor symbol JFET-N Transistor N-channel field effect transistor
JFET-P transistor symbol JFET-P Transistor P-channel field effect transistor
nmos transistor symbol NMOS Transistor N-channel MOSFET transistor
pmos transistor symbol PMOS Transistor P-channel MOSFET transistor

Misc. Symbols

motor symbol Motor Electric motor
transformer symbol Transformer Change AC voltage from high to low or low to high.
Electric bell Rings when activated
Buzzer Produce buzzing sound
fuse symbol Fuse The fuse disconnects when current above threshold. Used to protect circuit from high currents.
fuse symbol Fuse
bus symbol Bus Contains several wires. Usually for data / address.
bus symbol Bus
bus symbol Bus
optocoupler symbol Optocoupler / Opto-isolator Optocoupler isolates connection to other board
speaker symbol Loudspeaker Converts electrical signal to sound waves
microphone symbol Microphone Converts sound waves to electrical signal
operational amplifier symbol Operational Amplifier Amplify input signal
schmitt trigger symbol Schmitt Trigger Operates with hysteresis to reduce noise.
Analog-to-digital converter (ADC) Converts analog signal to digital numbers
Digital-to-Analog converter (DAC) Converts digital numbers to analog signal
crystal oscillator symbol Crystal Oscillator Used to generate precise frequency clock signal

Antenna Symbols

antenna symbol Antenna / aerial Transmits & receives radio waves
antenna symbol Antenna / aerial
dipole antenna symbol Dipole Antenna Two wires simple antenna

Logic Gates Symbols

NOT gate symbol NOT Gate (Inverter) Outputs 1 when input is 0
AND gate symbol AND Gate Outputs 1 when both inputs are 1.
NAND gate symbol NAND Gate Outputs 0 when both inputs are 1. (NOT + AND)
OR gate symbol OR Gate Outputs 1 when any input is 1.
NOR gate symbol NOR Gate Outputs 0 when any input is 1. (NOT + OR)
XOR gate symbol XOR Gate Outputs 1 when inputs are different. (Exclusive OR)
D flip flop symbol D Flip-Flop Stores one bit of data
mux symbol Multiplexer / Mux 2 to 1 Connects the output to  selected input line.
mux symbol Multiplexer / Mux 4 to 1
demux symbol Demultiplexer / Demux 1 to 4 Connects selected output to the input line.
 
Blogger Tips And Tricks|Latest Tips For Bloggers Free Backlinks