NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Rajesh_Hariharan
Posts: 23
0 Kudos

display warning message

Hi guys,

I need some help with the "displaying warning message" in labview 2010 SP1 base development system. My requirement is, I would like to display a warning message (text alert) when the RPM of the pump falls below 10000 rpm. In this case I am measuring the current, voltage and rpm of a pump. Please let me know how I can get this done. I have attached the main vi and the 2 sub-vi for reference. Also let me know how I can set sound alerts in addition to text alerts when the pump RPM falls below 10000 rpm. Thanks for your help.

 

Raj

Active Participant
srikrishnaNF
Posts: 513
0 Kudos

Re: display warning message

Hi Rajesh,

  If you want to display a warning text alert ,then you can just create a text on front panel and using VI properties ,can make it as a text alert.For sound alert use sound functions .Please have a look at the attached vi.Run this vi and  click visible button ,you can find an alert text with some sound.Modify your logic accordingly.

 

Regards,

SrikrishnaNF

Member
Rajesh_Hariharan
Posts: 23
0 Kudos

Re: display warning message

Hi SriKrishna,

I actually used the "Display Message to User" express VI and added a case structure and a boolean condition telling it when to display the warning message.

Based on the solution you siggested, can you please tell me in detail about how to create a text control on the front panel and where I can edit the VI properties to make it as a text alert? Also can you tell me if it is possible to format the size and colour of the text displayed in the warning window? Thanks for your help in this regard.

 

Thanks,

Rajesh

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page