Showing posts with label Software tutorial. Show all posts
Showing posts with label Software tutorial. Show all posts

December 17, 2015

Etags - Source code navigation tool for Emacs

Why do you need etags? 
  • You would have come across situation where we need to traverse through pre-written source codes written in C, C++, Python, etc.,
  • You might have come across difficulties in looking for function definitions that could be located anywhere among the included header files that are distributed across different directories.
  • etags come to the rescue.
What is etags?
  • When we use IDEs like Keil, MPLAB, etc., simply clicking on function call can take you to the function definition.
  • etags provides you with similar functionality when using emacs as your editing tool.
  • etags comes as part of emacs and hence no need to install it and you can directly jump in. Check man page for 'etags' to know more.
Usage 
  • Open terminal and move to the parent directory of the source code where you want the TAGS file to be created.
$ cd /location/of/parent/directory/
  • Type in the below code to create the tags table in a file with default name 'TAGS' in the current directory. The name can be changed using the --output=filename option. The ''-'' as the filename prints the table to the standard output.
$ find . -regex ".*\.c\|.*\.h" -print | etags -
to create tags table for selected files alone, you can simply use
$ etags filenames...
Check your directory for the TAGS file created. It might take some time to create the file depending on the depth of your source.

Now you are done with configuration. Lets see how to use it to traverse across source code.

  1. Open any source file under your source directory using emacs.
  2. Move your text cursor over a function call.
  3. Type M-. (Alt+.) and click enter. You will be prompted with 'Find tag (default <function name>):'.
  4. Click <Enter>
  5. Now you will get a prompt 'Visit tags table (default TAGS):'. It means, you need to provide the location to the directory where the TAGS file is located. (This is a one time prompt for every emacs session.)
  6. Enter the location to your TAGS file and click enter.
  7. 'Mark set' will be displayed and you will be taken to the definition of the function. After reading through the definition, at any point you can type M-* (Alt+Shift+8) to return back where you started.

WARNING: Use (Alt+Shift+8) in the default keyboard. Don't use number pads.

NOTE: This procedure will hold good for traversing to header files and macros as well. Also, you can check tutorial on ctags.

References
  1. Creating tags table -gnu.org
  2. etags -gnu.org
  3. Creating etags file -commandlinefu.com
  4. ctags tutorial -cs.washington.edu (For tutorial on ctags)

September 16, 2014

Getting started with LabVIEW (Step by Step) video tutorial

Download and try LabVIEW for free, visit: http://www.ni.com/download-labview/
Visit LabVIEW Youtube Page : https://www.youtube.com/user/Labview/featured
 
Video 1: Writing Your First LabVIEW Program
Welcome to LabVIEW graphical programming. Watch this short video to start becoming familiar with the LabVIEW development environment, and follow along to write your first LabVIEW application.

Video 2: Data Flow Programming Basics
In LabVIEW graphical programming, the order in which code executes is determined by the way that data gets transferred across wires on the block diagram. That's called data flow programming.

Video 3: LabVIEW Data Types
Numerics, text strings and Booleans are all examples of different LabVIEW data types. Each one is represented by a different wire colors, and different functions are available to let you convert between data types.

Video 4: Creating Sub VIs in NI LabVIEW
Learn how to simplify block diagrams and make your code more modular by creating sub Vis in LabVIEW.

Video 5: Using Charts and Graphs in NI LabVIEW
Learn how to use waveform charts and graphs to visualize data trends over time in NI LabVIEW.

Video 6: Using Debugging Tools in NI LabVIEW
See how LabVIEW can automatically detect errors and help you debug your programs.

Video 7: Using the Tools Palette in NI LabVIEW
Watch this video to see how the tools palette works in NI LabVIEW.

Video 8: Using Arrays in NI LabVIEW
Watch this step-by-step demonstration to learn how you can use arrays to group elements of the same data type in NI LabVIEW.

Video 9: Using LabVIEW Case Structures
You can use LabVIEW Case Structures to programmatically execute sections of graphical code based on certain conditions. This is similar to "if... then... else..." statements in other programming languages.

Video 10: Using Loops in LabVIEW
LabVIEW uses graphical loop structures like While Loops and For Loops to repeat section of code.

Video 11: Taking a Measurement with Your Computer
Use a USB data acquisition device to take measurements with your computer and NI LabVIEW software.

Video 12: Building a PID Controller with Your Computer
Build a custom PID controller with a USB data acquisition device and NI LabVIEW.

Cideo 13: Using Counters and Digital I/O on USB Data Acquisition Devices
Learn how to use the built-in counters and digital I/O on USB multifunction data acquisition devices.

Video 14: Logging Data with a USB Data Acquisition Device
Learn how to log measured data from a USB data acquisition device and access it with Microsoft Excel.

Video 15: Configuring a Start Trigger on a USB Data Acquisition Device
Learn how to configure a start trigger on a USB data acquisition device.

Video 16: Monitoring and Alarm Generation with Your Computer
Use a USB data acquisition system to generate alarms when a measured value exceeds a certain threshold.

Video 17: Real-time Signal Processing and Analysis on Measurement Data
Add a low-pass filter and frequency domain analysis to measurement data, while it's continuously being streamed from a USB data acquisition device.

Video 18: Automatically Generating Reports for Measurement Data
Learn how to automatically take measurements from a USB data acquisition device and generate reports using NI LabVIEW.

Video 19: Building a Graphical User Interface (GUI) for Data Acquisition Applications
Use NI LabVIEW to create a custom user interface for data acquisition applications.

Video 20: Generating a Signal with Your Computer
Use a USB data acquisition device to generate signals with your computer and NI LabVIEW software.

Video 21: Synchronizing Multiple Data Acquisition Devices
Learn how to synchronize two USB data acquisition devices using NI-DAQmx and LabVIEW.

Video 22: Automatic Code Generation with NI-DAQmx and NI LabVIEW
Automatically script out graphical NI LabVIEW code from a configuration wizard with NI-DAQmx driver software.

Video 23: Programming Data Acquisition Applications with NI-DAQmx Functions
Get additional functionality by using NI-DAQmx driver functions to programmatically configure your data acquisition applications.

Video 24: How to Measure a Thermocouple
Watch this step-by-step demonstration to see how you can measure a thermocouple using NI LabVIEW software and a USB data acquisition (DAQ) device.

Video 25: How to Measure a Pressure Transducer
Watch this step-by-step demonstration to see how you can measure a pressure transducer using NI LabVIEW software and a USB data acquisition (DAQ) device.

Video 26: How to Measure a Load Cell
Watch this step-by-step demonstration to see how you can measure a load cell using NI LabVIEW software and a USB data acquisition (DAQ) device.

Video 27: Kevin Bisking explains it all...well, at least the part that
Some time in early July, one of the VI Road show team members saw a presentation she was really impressed with. The presentation didn't involve any PowerPoint (thank heavens) but simply consisted of a guy drawing a diagram on a white board. That presentation was given by Kevin Bisking, one of the Product Managers here at NI. Kevin did a good job of explaining why multicore is so cool so we had him come and give it to us on camera so that everyone else could benefit from it. The only reason we didn't post is sooner is that he mentions LabVIEW 8.5 and we didn't want to be accused of being meddlesome trouble makers before the launch.
Before seeing this, I had just assumed that multicore just meant faster processing. What I didn't understand was that multicore only means faster when the software takes advantage of it. If the software can only run on a single core, then I believe that limits you to whatever that particular core is capable of. Unfortunately, it seems like most of the programs I use are old enough that they were not written for multicore so I don't get much advantage from multicore processors unless I use something like LabVIEW 8.5. In the future, however, I assume that the software I use will all eventually get up to speed... as long as I am willing to purchase the upgrades.

DAQ Virtual demo videos: http://www.ni.com/dataacquisition/videos.htm
DAQ Products: http://www.ni.com/data-acquisition/

August 04, 2014

EI2405 - VLSI Laboratory Manual for 7th semester EIE

EI2405 - VLSI Laboratory manual for VII Semester EIE as per Anna university Chennai syllabus R2008.

June 23, 2014

Basic Verilog Programming tutorial

Learn Basic Verilog Programming for synthesis, simulation and implementation of VLSI digital circuits. Download Link

Receive all updates via Facebook. Just Click the Like Button Below

▼

You can also receive Free Email Updates:

dgpride - Study Zone - Free Books - Tamil Lyrics

Copyright © 2008 -2012 dgpride. All rights reserved.

Subject/Topics

2 Marks (26) 8051 (1) AC Machines (7) Animations (1) Anna University Chennai (31) Arduino (4) ARM (3) Audio (1) Basic C Concepts (8) Basic Electronics (13) Basic principles (9) Book list (1) CAD (1) Chemical (2) Circuit theory (6) Civil (2) Cloud Computing (1) Communication (4) Competitive exams (2) Computer Architecture (4) Control system and components (9) CSE (40) Curriculum (4) DC Machines (9) Did you know (14) Digital (13) DLC (4) Documentation (1) DSP (1) EC 2201 (3) ECE (45) EDC (1) EEE (34) EIE (63) Electrical (35) Electronics (43) Electroplating (2) Emacs (1) Embedded basics (19) Embedded C Programming (19) Embedded Linux (5) Embedded System (22) Engineering basics (15) Environmental Science (1) Fibre Optics (1) Filters (2) FPGA (1) GATE (3) General (7) GNU (4) Handwritten (1) Hobbyist (15) How to (8) HTML (3) Humanities (2) IC Engines (7) ICE (5) Industrial Electronics (10) Industrial Instrumentatin (2) industrial process (2) Instrumentation (21) IoT (2) IT (2) Laboratory Manuals (17) LabVIEW (2) Lesson notes (2) LIC (2) Links (9) Linux (8) Magnetics (1) Management (1) Mechanical (5) Mechatronics (9) Microcontrollers (14) Microprocessors (9) Microsoft (1) Motivation (1) Must Know (11) Networks (1) NuttX (1) Objective type (1) Open Source (1) Opportunities (7) Oscillators (2) Part Time (1) Physics (1) Post Graduation (1) Power Electronics (12) Power Plant Engineering (2) Power Supplies (2) Previous GATE Papers (1) Process Control (2) Project (4) Protocol (1) R2008 (11) R2009 (1) R2013 (1) Recruitment (2) Research (2) Robotics (9) RTOS (3) Signal Processing (8) Signals and Systems (4) SMPS (1) Software tutorial (4) Stepper Motor (2) Syllabus (5) Texas Instruments (2) Thermodynamics (2) Training and Placement (6) Transducer Engineering (2) Transformer (2) Transmission (1) Tutorials (48) Two Marks (26) U-Boot (1) University Question Papers (16) Verilog (1) Video (4) Virtual Instrumentation (3) Visual Basic (21) VLSI (11) Web designing (4) Wi-Fi (3) Wireless (6)