• 1

    ..

  • 2

    ...

  • 3

    ...

Thursday 27 December 2012

Tuesday 25 December 2012

COMMAND LINE ARGUMENTS IN C

COMMAND LINE ARGUMENTS

  • Here the argument are passed to main functions through the command prompt and its very useful feature in c language 
  • the CLM consists of two main argument passing variables that are  INT  ARGC and CHAR **ARGV[]  , 
  • The argc shows the number of argument that has been passed to the main function through command prompt. and it will be in the integer data type .
  • The character array argv[] has been used to store the arguments . and here the argv[0] will consists of program name and agrv[1],argv[2]...will consists of argument values.  

        the main syntax of command line argument is given below

                          #include <headerfile.h>

                          void  main(int argc ,char ** argv[])
                              {
                             
                             }



   =>   let us see an example for command line argument .
        Addition of two numbers

           1.In TC   c:/tc/bin
            program name : add.c

          
              #include<stdio.h>
              #include<conio.h>
              void main(int argc,char  **argv[])
              {
                      int a,b,c;
                     a=atoi(argv[1]);

                     b=atoi(argv[2]);   //atoi can be used to covert character to integer
                  
                      if(argc!=3)
                       {
                          printf("invalid input");
                          exit(0);
                        }
                     
                      c=a+b;
                    printf("c= %d",c);
              }




     PROGRAM AND OUTPUT WINDOW:

                   
                          

Friday 21 December 2012

MatLab Programs - IMPULSE - STEP - SINE - COSINE -TRIANGULAR - SAWTOOTH - EXPONENTIAL SIGNALS GROWING DECAYING -



 MatLab Programs

 
In this post the matlab code for basic DSP signal generation  are available. These are tested and outputs are also added.
  • Impulse signal
  • Step signal (Delayed Step)
  • Sine signal
  • Cosine signal
  • Triangular signal
  • Sawtooth signal
  • Exponential signals growing & decaying

Monday 3 December 2012

AVR - SPI - Serial Pheripheral Interface Tutorial - ATmega8 Code

AVR - SPI - Serial Pheripheral Interface Tutorial - C Code Example - ATmega8 Code


AVR ATMega8 microcontroller has inbuilt SPI module. First SPI intorduction, and then let us see how to use it.

Serial Peripheral Interface Bus or SPI  bus is a synchronous serial data link standard, named by Motorola, that operates in full duplex mode. Devices communicate in master/slave mode where the master device initiates the data frame. Multiple slave devices are allowed with individual slave select (chip select) lines. Sometimes SPI is called a four-wire serial bus, contrasting with three-, two-, and one-wire serial buses. SPI is often referred to as SSI

Wednesday 31 October 2012

C language notes

C language notes
 
Here by C language  study materials has been uploaded 
 
 
Please click here to download 


Thursday 4 October 2012

SIMPLE WAY TO LEARN C LANGUAGE


  • Introduction
  • Data type
  • Storage classes
  • Variable
  • Constants
  • Operators
  • Control Staments
  • Looping  Statement
  • Array
  • Strings
  • Structure
  • Union
  • Pointers
  • Command line arguments
  • File
  • C preprocessor
  • Dynamic memory allocation
  • Grapics

Saturday 25 August 2012

DIY-REPAIR & TROUBLESHOOTING - COMPUTER ACCESSORIES LAPTOPS - ELECTRONIC DEVICES - FAQs

DIY-REPAIR & TROUBLESHOOTING - COMPUTER ACCESSORIES LAPTOPS - ELECTRONIC DEVICES - FAQs




        Here are some websites that would help you to  Repair and Troubleshoot your computer accessories like monitors, motherboard, printers and electronic devices such as  inverters, TV and testing basic electronics.







Readers comments are encouraged. This would help us to do more.
Thank you...

Friday 24 August 2012

DIY - MICROCONTROLLER PORJECTS - EXAMPLES - TUTORIALS - PROJECT IDEAS - TOOLS


         Here are some websites that are replete with ideas, how to's, examples and almost everything else that you need to build your own microcontroller-based projects.

         These are provided for different platforms. You must choose the relevant one which suits best for you. This varies from simple 8051based controller to RISC based PIC  & AVR controllers, ranging from 8bit to 16 bit.











Readers comments are encouraged. 
This would help us to do more.
Thank you...

Thursday 16 August 2012

SOFTWARE ENGINEER AT RAPISCAN SYSTEMS

JOB DETAILS
Company:   Rapiscan Systems Pvt Ltd
Location:    Ascendas IT Park Orion Block-4th Floor, The V-17Madhapur, Hyderabad, AP 50008 India
Category:   Engineering  - Software Engineer

QUALIFICATION:
  Primary Skills:
Bachelor / Master degree in Computer Science / IT/Electronics or related  (B.Tech / M.Tech ) 6 Plus years of Strong experience in VC++ (MFC), COM/DCOM, C++, C#, .Net Framework, OOPS.
Strong working knowledge in Visual Studio (2005 and above) environment using MFC classes
Experience in SDLC with executed one / two full life cycle projects
Good knowledge in Designing components / subsystem
Experience on database like SQL 2005 / 2008
Experience with TCP/IP client-server application development
Strong Knowledge on OOAD, UML, User Interface Design.
 Secondary Skills:
 Working knowledge on Windows 64 bit platform is a plus
Screening and Scanning technologies Working  background in Security Systems domain is a  plus
Knowledge of Embedded Web Server is Plus

·        CLICK HERE TO APPLY


About OSI
          OSI Systems has been committed for over thirty years to both comprehensive research into meaningful issues and high-technology solutions to what will make the world safer and healthier.
         Rapiscan Systems, Spacelabs Healthcare and OSI Optoelectronics have decades of experience and leadership in their markets. Most importantly, their reputation for service is a cornerstone to their longevity and positions of trust and partnership.
·         Security Division
·         Healthcare Division
·         Optoelectronics Division



Monday 13 August 2012

TANCA 2012 RANK LIST - M.E M.Tech M.Arch COUNSELLING DATE & RANK LIST

TANCA 2012 - M.E., M.Tech., M.Arch - RANK LIST & COUNSELLING SCHEDULE HAS BEEN RELEASED

Click here to view



Sunday 5 August 2012

TNPSC GROUP 2 / CSSE-1 HALL TICKET DOWNLOAD

TNPSC GROUP 2 / CSSE-1 HALL TICKET

            CLICK HERE TO DOWNLOAD GROUP2 HALL TICKET!!!!!




Wednesday 25 July 2012

TANNER EDA SELF LEARNING TUTORIAL- PART I

Why Tanner?
  • Low total cost of ownership :It is a software platform that is cost-effective and easy to use
  • Technological innovation: It's design tools are significantly less expensive.
  • Flexible PC-based solutions.

Tanner EDA is a suite of tools for the design of integrated circuits. Tanner EDA is mainly used to analyze circuits at switch level & gate level. These are tool used to
  •  enter schematics
  •  perform SPICE simulations
  •  do physical design (i.e., chip layout)
  •  perform design rule checks (DRC) and layout versus schematic (LVS) checks.

Tanner EDA Design Tools:
  • S-edit       - a schematic capture tool
  • T-SPICE    - the SPICE simulation engine integrated with S-edit
  • L-edit       - physical design tool
  • W-edit     - waveform formatting
 
Improve simulation accuracy with advanced modeling features
                T-Spice provides extensive support of behavioral models using Verilog-A, expression controlled sources, and table-mode simulation. Behavioral models give you the flexibility to create customized models of virtually any device. T-Spice also supports the latest industry models, including the transistor model recently selected as the next standard for simulating future CMOS transistors manufactured at 65 nanometers and below—the Penn State Philips (PSP) model. PSP will simplify the exchange of chip design information and support more accurate digital, analog, and mixed-signal circuit behavior analysis.
  • Enables easy creation of syntax-correct SPICE through a command wizard.
  • Highlights SPICE Syntax through a text editor.
  • Provides Fast, Accurate, and Precise options to enable optimal balance of accuracy and performance.
  • Enables you to link from syntax errors to the SPICE deck by double clicking.
  • Supports Verilog-A for analog behavioral modeling, allowing designers to prove system level designs before doing full device level design.
  • Provides “.alter” command for easy what-if simulations with netlist changes. Perform sophisticated analysis

Sophisticated Analysis
      T-Spice uses superior numerical techniques to achieve convergence for circuits that are often impossible to simulate with other SPICE programs. The types of circuit analysis it performs include:
  • DC analysis (DC Operating Point Analysis & DC Transfer Analysis.)
  • AC analysis               
  • Transient analysis with Gear or trapezoidal integration.
  • Noise analysis.
  • Monte Carlo analysis over unlimited variables and trials.
  • Virtual measurements with functions for timing, error, and statistical analysis.
  • Parameter sweeping using linear, log, discrete value, or external file data sweeps.
  • Transient Analysis, Power-up Mode.



READERS COMMENTS ARE ENCOURAGED.
IT HELPS US TO DO MUCH MORE BETTER.
THANK YOU!!!

Monday 16 July 2012

ME-TNCA 2012 COUNSELLING FORM ISSUE DATE

 ME-TNCA 2012 COUNSELLING FORM ISSUE DATE


ANNA UNIVERSITY CHENNAI -ME TANCA COUNSELLING FORM ISSUE START FROM TODAY

16-7-2012


FEE DETAIL:

RS.500 for OC/BC
and 

RS.300 for SC/ST

TN MBA/MCA RANK LIST 2012



TN MBA/MCA COUNSELLING 2012
Venue: Govt College Of Technology, Coimbatore-641013

THE OFFICIAL WEBSITE FOR MBA/MCA RANK LIST AND SCHEDULE

CLICK HERE TO



TN MBA/MCA RANK LIST 2012

   TN MBA/MCA COUNSELLING 2012

                             Venue: Govt College Of Technology, Coimbatore-641013

THE OFFICIAL WEBSITE FOR MBA/MCA RANK LIST AND SCHEDULE

 

 

 

Thursday 12 July 2012

Sending Integer & Float numbers through Serial Communication AVR ATmega- UART Header


FOR TRANSMITTING INTEGER & FLOAT VALUES THORUGH AVR ATMEGA8 SERIAL PORT. This is additional codecs for USART.H of the previous tutorial (Serial Comm Tutorial Part 1)
This header includes functions for transmitting integer & float type variables. Also it features getting input as integer numbers through serial port.

DOWNLOAD HEADER FILE
               UART2_H

CODE:

/*------------------------------------------------------------------------------------SOURCE OF ELECDUDE.COM---------------------------------------------------------------------------------------------------------FOR TRANSMITTING INTEGER & FLOAT VALUES----------------------------------------------------------------------------*/                           //this is additional codecs for USART.H#ifndef USART2_H#define USART2_H /*-----------------------------------------------------------------------------------HEADER FILES to be included-------------------------------------------------------------------------------------*/#include <avr/io.h>#include <avr/interrupt.h>#include <avr/pgmspace.h>#include "USART.h"/*---------------------------------------------------------------------------------------constants and macros----------------------------------------------------------------------------------------*/#define BIT(x)                  (1 << (x))                      //Set a particular bit mask#define CHECKBIT(x,b)   (x&b)                   //Checks bit status#define SETBIT(x,b)     x|=b;                   //Sets the particular bit#define CLEARBIT(x,b)   x&=~b;          //Sets the particular bit#define TOGGLEBIT(x,b)  x^=b;           //Toggles the particular bit /*************************************************************************Function: uart_putint()Purpose:  transmit integer(0-999 only) to UARTInput:    integer/number (0-999 only)Returns:  none**************************************************************************/extern void uart_putint(unsigned int i){        unsigned char h,t,o;        o= (i%10) | 0x30;//ones        i/=10;        t= (i%10) | 0x30;//tens        i=i%100;        h=(i/10) | 0x30;//hundreds        uart_putc(h);        uart_putc(t);        uart_putc(o);} /*************************************************************************Function: uart_putfloat()Purpose:  transmit float value(xxx.xx only) to UARTInput:    float value(xxx.xx only)Returns:  none**************************************************************************/extern void uart_putfloat(const float f){        unsigned int v,p;        long int num;        num=f*1000;        p=num%1000;        num=num/1000;        v=num;        uart_putint(v);        uart_putc('.');        uart_putint(p);} /*************************************************************************Function: uart_getint()Purpose:  receive integer(0-999 only) from UARTOutput:   integer/number (0-999 only)Returns:  none Function: void int2char(unsigned int i,unsigned char *s)Purpose:  to convert intger number to charOutput:   charactersReturns:  none **************************************************************************/ Note: use the header file downloaded, instead of copy pasting from this page. all the functions coding's are not included in this page

Viewers  comments are encouraged. 
This helps us to much more.
Thank you!!!

Search Here...