LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DISPLAY NAME, BLOCK DIAGRAM

I am new to LabView and our teacher has given us a very small assignment in which we have to create a program that displays a name that I have input.  I am also required to show him the block diagram. 

 

Any help plz?

 

0 Kudos
Message 1 of 5
(3,139 Views)
Given that this is essentially the "Hello World" program written in LabVIEW I suggest you try a few things on your own first. I doubt anyone here will post the code since it is a homework assignment and it is a very easy one at that. Take a look at the examples that ship with LabVIEW.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
Message 2 of 5
(3,138 Views)

The only reason I asked was because I found a really simply way of doing it and thought it was way too easy to even be considered an assignment.

 

I used a string indicator and a string constant with my name in it.   When i press play the name pops up in the indicator box.

 

Even if thats not what you would have done, I believe it sufficiently meets the assignments requirements as it was really a last minute, "oh yea, do this... " from the professor.

 

Thanks for reading my post at least and replying quickly. 

0 Kudos
Message 3 of 5
(3,123 Views)

It sounds pretty much like you did the homework.

 

The other possibilities that would be only slightly more complicated would be to have the constant be a control, so that you input the name into the control, which would then pop up in an indicator.

 

Or use one of the Dialog Box VI's where it pops up and asks the user a question, you enter the name and hit Okay.

0 Kudos
Message 4 of 5
(3,113 Views)
You probably want to go with Raven's suggestion and use a control. Youd did say that assignment was to display a string you entered.


Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 5 of 5
(3,102 Views)