carsonc Posted February 16, 2010 Share Posted February 16, 2010 How do I program a Push to Talk Switch so that pushing button on a page produces a high or low output on the digital output of a Labjack U3 for as long as the button is pushed? Thanks Link to comment Share on other sites More sharing options...
AzeoTech Posted February 17, 2010 Share Posted February 17, 2010 On the action page for the button, create two actions (click Add). Both are Quick Sequence. Mark one "On Mouse Down". This will be what happens when the mouse is clicked down. The code might be something like: digout = 1 to set the output high. Then, on the second action, leave the on mouse down unchecked, which means, really, on mouse up, and put: digout = 0 Link to comment Share on other sites More sharing options...
carsonc Posted February 17, 2010 Author Share Posted February 17, 2010 It works! Remember to change "digout" to the proper channel name, in my case "PTT" Changing which sequence is "0" or "1" changes whether the output is normally high or low, so can be matched to your needs. thanks much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.