From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Instrument Control Using DB25 Connector

Hello all I need to control an instrument using a DB25 connector. Specifically, I need to toggle specific pins on the connector TTL high/low to control the functions of the instrument. Beyond this I'm at a loss. I'm using LabVIEW to send commands, and I have a USB-6000, which has digital I/O. Would I simply be able to wire up a male DB25 connector to a breadboard, to my USB-6000 and use LabView to send digital signals through the DAQ? What alternative methods are there (I realize this is a broad question). Thanks!
0 Kudos
Message 1 of 3
(3,662 Views)

Assuming the digital lines on the instrument are a simple TTL and there is no timing requirement, you should be able to just wire it up to your USB-6000 using the 4 digital lines.  Digital Outputs are simple with LabVIEW and DAQmx.  Just search the examples for a static digital output.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(3,660 Views)

Are you sure that this DB25-connector isn't just an oldfashioned serial port ?

0 Kudos
Message 3 of 3
(3,642 Views)