LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

program in labview that converts a number of any base to a number of any other base

hie

i want some idea abt how to write a program in labview to convert a number from 1 base to another base....

plz help me out........... 

0 Kudos
Message 1 of 6
(3,098 Views)
  • Are you having problems with the "math" of it or are you having problems translating it into LabVIEW?
  • What have you tried so far?
  • What problems did you encounter?
  • Are you only interested in integers or are fractions allowed?

 

First you need to decide how to represent the numbers. If you are only dealing with relatively small bases, it might be sufficient to use a truncated subset of 0..Z as digits. However, if you e.g. want base50000, you probably want to represent it as an array of numbers or similar. You also need error checking for the inputs, e.g. if a base5 number contains an "8", something's wrong.

 

Is this a homework assignment?

0 Kudos
Message 2 of 6
(3,095 Views)

hiee...

i have the mathematical concept abt it,but i want to know how to implement it in labview.

ya this is an assignment question.

 

0 Kudos
Message 3 of 6
(3,068 Views)

i havent started programming in labview yet...........

plz kindly give me idea how to begin actually.....

0 Kudos
Message 4 of 6
(3,067 Views)

It does not make sense to get such an assigment, unless some LabVIEW basics have been covered in class already.

 

Maybe you should start with a tutorial. For example check out the following links.

 

http://zone.ni.com/devzone/cda/tut/p/id/5247

 

http://decibel.ni.com/content/docs/DOC-1692

 

http://decibel.ni.com/content/docs/DOC-1694

 

Message 5 of 6
(3,057 Views)

I have to agree 100% with altenbach, I would suggest starting with a tutorial and begin actual programming.

 

If you run into problems with that, we will do our best to help you, but helping with concepts is best learned from tutorials.

Chris Van Horn
Applications Engineer
0 Kudos
Message 6 of 6
(3,027 Views)