ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help need in programmatically opened

hi, im new to labview.

hope you do no mind help me in this.

how do i programmatically opened a text if it's true?

like if the indicator show a letter A, how am i going to programmatically prompt something like a LED or button to show it's correct?hope you done mind give me an example. thanks

Message Edited by Divineapple on 04-13-2010 07:28 AM
0 Kudos
Message 1 of 13
(4,177 Views)
Do you have code or an example for us to look at? That would be the easiest way to get help.
Tim
GHSP
0 Kudos
Message 2 of 13
(4,170 Views)

using the help menu, open the find examples... then on the search tab, put in equals.  In the results you should see Equal- Various uses.vi. 

You should be able to find what you need in there.


Paul
0 Kudos
Message 3 of 13
(4,167 Views)
here is my client view, i need to show a indicator liek where is it and a led light to light up to show the location. but i only want it to promt instead of showing at the front panel i attach my server with the text file too
Message Edited by Divineapple on 04-13-2010 07:32 AM
0 Kudos
Message 4 of 13
(4,164 Views)
oh btw i dont know the reson  why i must click search alot of times  b4 it could search
0 Kudos
Message 5 of 13
(4,139 Views)
Hi DivineApple,

I'm not very sure what you are looking for, but it sounds like you want a message popup instead of front panel display?

If my guess is right, then you can make use of the Dialog functions from the Dialog & User Interface palette. This will allow you to pop up a text message.

If you want your own customized pop-up panel instead, then I would recommend that you use a subVI to decorate your desired display, then configure this subVI to pop-up when called and close after execution.

As for your current VI, looks like it should be working fine, though you can make use of a case structure to check for the different "A, B, C, D, E, F" characters instead of using multiple "Equal?" functions. This will make your code neater.

Regards,
Boon Chen
0 Kudos
Message 6 of 13
(4,108 Views)

how do i configure the subVI to pop-up when called and close after execution.

 

this is the subvi i had done but i not sure how to configure this subVI to pop-up when called and close after execution.

guide me if im doing wrong in my subvi.

Message Edited by Divineapple on 04-13-2010 11:00 PM
0 Kudos
Message 7 of 13
(4,099 Views)
Insert you subvi to the main program. Right click to select subvi node setup,click show front panel showup & closed afterwards.
0 Kudos
Message 8 of 13
(4,088 Views)

ok thanks but i do i make it auto close it after looking at it?

like after 30 sec the subvi front panel closes

0 Kudos
Message 9 of 13
(4,085 Views)
you can put a delay inside subvi.
0 Kudos
Message 10 of 13
(4,070 Views)