pproby Posted August 6, 2009 Share Posted August 6, 2009 Hello, I am trying to short two wires using my U3. And according to the Labjack folks, I would need to plug one of my wires to Ground and the other one to one of the digital I/O pins (i.e.: FIO0). Now, the FIO0 should be set as an input and when I want to short them, I should configure that port as output-low. How do I go about changing that? I will need to be going back and forth with it: If(x=1) //set FIO0 as output-low else //set FIO0 as input Much Thanks! Link to comment Share on other sites More sharing options...
AzeoTech Posted August 6, 2009 Share Posted August 6, 2009 You actually should ask LabJack this question. DAQFactory pretty much duplicates the format of the UD in script, so they should easily be able to help you, and since this is a hardware question, they would do a better job than us. Link to comment Share on other sites More sharing options...
LabJackSupport Posted April 16, 2013 Share Posted April 16, 2013 Bringing this back to life as this open-collector style of operation is a common task. Added an example called Open-Collector_Output.ctl: http://labjack.com/support/ud/examples/daqfactory Link to comment Share on other sites More sharing options...
SteveMyres Posted April 17, 2013 Share Posted April 17, 2013 Or use your discrete output to drive a relay, whose contacts can be connected to the circuit you want to connect. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.