NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Message PopUp Maximum Button

 

Hi Guys.

 

I'm using the Message PopUp to select diferent options, but I need to put more than 6 Options.

 

The Message PopUp have 6 maximum, it is any way to increase the number of buttons into a message PopUp (more than 6)?

 

 

0 Kudos
Message 1 of 12
(6,202 Views)

You may customize the MessageBox Steptype to add more buttons. The source code is available for you to change at the location:   Components\StepTypes\MsgBox

0 Kudos
Message 2 of 12
(6,182 Views)
Add button in the message pop up will satisfy your question..
I tried with 2 earlier in my project... but this should work for 6 buttons also
0 Kudos
Message 3 of 12
(6,108 Views)

There is no problem for 1~6 buttons, but I need to add more than 6...

0 Kudos
Message 4 of 12
(6,073 Views)
Then add them. As already mentioned, the source code for the existing message box is available. Use that or create your own with whatever programming language you want.
0 Kudos
Message 5 of 12
(6,066 Views)

Hello,

 

I´m also trying to have 7 button in the popup menu.

  • I open the "msgbox.prj" with my editor but I really dont know what i need to change or include in it.
  • I also open the "msgbox.h" and I´ve included (#define MAX_NUMBER_BUTTONS   7) but nothing changes in my program.

 

Could you please help me with this?

 

Thanks so much in advance!!

0 Kudos
Message 6 of 12
(4,919 Views)

You need CVI/LabWindows development Software to program the MessageBox source code. You can add n number of buttons and program it to do the specific task you plan. 

0 Kudos
Message 7 of 12
(4,913 Views)

I cannt do it without that??

 

thanks for your help!!

0 Kudos
Message 8 of 12
(4,911 Views)

Hi,

 

Other options will be create your custom message box using LabVIEW or C# and call it from TestStand.

 

Ravi

Message 9 of 12
(4,885 Views)

Hi Luis,

 

If you can live with having the options split over several Message Popups, ie. not all displayed at the same time, then there is a way of doing this with the 'out-of-the-box' Message Popup.

 

I've created an example sequence that pulls the options into the Message Popup from an array (it'll work for any number of elements) and displays them in the popup.

 

If the option they want is not in the first five, they can click for 'MORE >>'...

 

 

Popup 1.PNG

 

...and the popup will update with more options from the array!

 

Popup 2.PNG

 

This is all contained in one Message Popup step and acheived through custom looping and pre-expressions.

 

Regards,

 

Charlie Rodway | Principal Software Engineer | Certified TestStand Architect (CTA)

Computer Controlled Solutions Ltd | NI Silver Alliance Partner | GDevCon#1 Sponsor

Message 10 of 12
(4,860 Views)