This is called radio buttons...radio buttons is quite simple to do (lot's of examples here on the zone).
If you don't want any code at all and there is only two buttons one thing you could do is go for a three-state switch (same number of options that you have with two exclusive buttons (one or the other true, or none of them true...). An example of such a switch is here:
http://sine.ni.com/apps/we/niepd_web_display.DISPLAY_EPD4?p_guid=B123AE0CB97A111EE034080020E74861&p_node=DZ52036&p_submitted=N&p_rank=&p_answer=&p_source=External
Using a slider you are really not using the "none are true" option though, are you...? In that case you don't need two buttons, only one (logic-wise that is).