06-12-2025 06:25 AM
how do i design a VI Which takes in a user input integer between 0 to 512 and displays the conversion to binary, octet and hexadecimal
and how do i developed a VI program functions like a stop-watch with these
Requirement
Solved! Go to Solution.
06-12-2025 06:34 AM
Hi Jaydn,
@Jaydn wrote:
how do i design a VI Which takes in a user input integer between 0 to 512 and displays the conversion to binary, octet and hexadecimal
By using an integer control and 3 integer indicators. (LabVIEW allows different display moodes/radixes to be used with numeric elements.)
@Jaydn wrote:
how do i developed a VI program functions like a stop-watch with these
Requirement
- User can start the stop – watch with push of the “Start” button
- User can stop the stop – watch with push of the “Stop” button
- “Reset” brings the clock counter to zero
By learning LabVIEW and studying all those example VIs.
You may also search for relevant threads in this board as you asked a very generic and often asked question for this beginner homework!
(You need a loop, 3 buttons on a frontpanel, a shift register at the loop and one or more case structures. Look up those keywords in the LabVIEW help!)
06-12-2025 09:29 AM
@Jaydn wrote:
how do i design a VI Which takes in a user input integer between 0 to 512 and displays the conversion to binary, octet and hexadecimal
and how do i developed a VI program functions like a stop-watch with these
Requirement
- User can start the stop – watch with push of the “Start” button
- User can stop the stop – watch with push of the “Stop” button
- “Reset” brings the clock counter to zero
In addition, it is important to define the problem fully. Even a master programmer cannot tell what should be done.
A trivial stop watch implementation seems to be a different problem and all you need is decide on a suitable code architecture (e.g. state machine!), mechanical action setting of the buttons, and a time display with the required resolution (seconds? milliseconds?). A stop watch is a typical beginner problem and you should have learned all required parts, so look at your course notes. A useful skill is also how to search the forum (or even Google!) for existing examples. Have you tried? (Note that your teacher knows what examples exists, so make sure to personalize the code and be prepared to explain the purpose and function of every single code element used!)