Posts

Showing posts from March, 2015

Visual Basic Programming for Beginners: Declaring Variables and Assigning values (03)

Image
Before proceeding, do read Visual Basic Programming for Beginners: Getting Started (02)
Visual Basic Programming for Beginners: Declaring Variables and Assigning values (03)
In the previous post we have learned how to get started with VB in Visual Studio and we also created a "Hello World" Program. Hope that you are now familiar with Visual Studio environment and the Structure of a VB program.

So now its time to proceed forward in our journey of learning VB

Now we will learn how to declare variables and assign values to them.

Take a look at following code
x=7
y=x+3
Console.WriteLine(y)

Above code assigns "x" value "7" and "y" value "x+3", so its pretty easy to understand that Console.WriteLine(y) will display value "10"

Here "x" and "y" are variables which can be defined as A bucket in computer memory in which you can put values, overwrite existing values and also retrieve values.

Variables can be made to crea…

Visual Basic Programming for Beginners: Getting Started (02)

Image
Before proceeding, do read Visual Basic Programming for Beginners: Introduction (01)

Well, in the previous blog we have gone through how to get things ready to learn Visual Basic and why we should learn VB and its importance in today's world.

Now we will start working on visual studio and will try to get familiar with it's interface and will build our first VB program.

Step 1:
Open visual studio 2013 on your desktop
Step 2:
Click on File ->New ->Project
Step 3:
Under Templates, Select Visual Basic and then Console Application
Step 4:
Name your project and click "Ok"

Will now have a window like this:


Now in the code editor window, you will have default code like this: Module Module1
Sub Main()


End Sub

End Module


The above is your default VB code which must be there to start with.
where
Module Module1 is your main container of code and
Sub Main() is a sub procedure

Remember that in VB

Single line of code means single statement unlike C,C++,C# etc where you end with a s…

Visual Basic Programming for Beginners: Introduction (01)

Image
Welcome back readers....
From now on wards, your very appreciated blog "Let's Innovate" i.e http://makcs.blogspot.com will focus on Introduction to Visual Basic Programming.
Mean while you might also find other articles also but don't worry, the VB course will go on uninterrupted side-by-side.


For this series of module I'm going to use following things which you also need to have installed on your PC:

Windows 7 seven service pack 1(or above)Visual Studio 2013Interest to learn Visual Basic If you have any problem with process listed above(regarding downloading, installing etc), please write to me on mywork78601@gmail.com

Why should I learnVisual Basic:

One of the commonly used programming language in today's scenarioBest and easy substitute of C#(C sharp)Easy To LearnNo use of semicolons and curly braces(which makes programming complex) Very Close to English languageCan be used standalone, with asp.net, to create console applications, web applications and many mo…

Industrial Automation With PLC and SCADA

Image
Basics about PLC and SCADA



Today's world is focused on automation. Without automation any industry can merely run smoothly and give out desired output and production rate.Industrial automation is a great choice to go in for a bright future specially for electrical, electronics and communication, electronics and instrumentation and mechanical branches.


If want to know basics about PLC and SCADA quickly, then you are at right place. So without wasting any time let's begin.


PLC: Programmable Logic Controller   Normal branded PLC costs 20000-25000/- Advanced version of PLC is called DMC.
Some Uses of Industrial Automation: Oil and Gas industryPower sectorWind energy plantsPaper industryCement IndustrySteel plantsPlastic IndustryBottle filling plantWafers packing plantand many moreAutomation: Automation is basically a delegation of human control function to control technical equipment or It is the use of control system to increase productivity.
Need of  Automation: Time savingAccuracyI…