10-25-2008 04:19 PM
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...........
10-25-2008 04:48 PM
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?
10-26-2008 06:40 PM
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.
10-26-2008 06:42 PM
i havent started programming in labview yet...........
plz kindly give me idea how to begin actually.....
10-26-2008 08:18 PM
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
10-27-2008 01:57 PM
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.