Contructing an RS-232 interface using USB interfaces Digital IO

Hi,
I've got a NI USB interfaces to work with, which has plenty of digital IO available (USB 6259)
I need to communicate via RS-232 with a few instruments, which I've already done using USB to RS-232 devices.
However, I would like to do everything on a single NI USB DAQ interface. Is it possible to use a few digital lines from the USB 6259 to create an RS-232? It seems that this would be relatively straightforward, but I haven't heard of this being done.

Not recommended.  Voltage levels are different, no FIFO of communication, no UART that does bit sampling and error checking, no clock for data, a lot harder than you think it would be.
Matthew Fitzsimons
Certified LabVIEW Architect
LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

Similar Messages

  • How can I use USB interface in Labview?

    Hi.
    Does labview allow to USB interface?
    I have been seen allowing GPIB and RS232.
    I'm beginer at Labview and wanna use USB interface for my target system and pc.
    I wanna know how to labview interfaces from target system to pc.
    And if Labview doesn't provide USB interface module, how can I use USB?
    Is using a USB at Labview hard to beginer?
    Plz, answer to my quetion.
    sorry, my English is very poor.
    thx for reading my article.

    You can access devices connected to the USB port, but not in the same way as you would a GPIB or RS232 device. There are no USB drivers like there is VISA for GPIB or serial. Rather devices that plug into the USB appear to the systen as some sort of standard resource like a printer, disk drive or IO board. LabVIEW then interacts with these devices as it would any other device of the same type.Look at it this way, if you have a USB daq device you will access it through MAX the same as if it were a plugin card. Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • External HDD mirroring using USB Interface

    Has anyone out there explored the possibility of mirroring two external HDDs (identical ones) through the USB interface ? If so, I would like to know how it can be achieved.
    When I say mirroring, I mean that a single write operation actually duplicates the information on two separate external disks simultaneously. Much like the professional RAID mirroring on more expensive solutions. I am looking at a very inexpensive way of having redundancy built in for safeguarding my data. Perhaps some app out there can do this for me ? Or perhaps this may be a good idea for a brand new App ? Compromise on speed may be an issue, but it would be great value for money.

    That is actually a classic backup solution using time machine, where both boot drive as well as EHD is being backed up incrementally in a format which is native to OS Mavericks. Such a backup can only be used to "Restore" the files back onto the source machine. Excellent for normal backup operations.
    However, what I have in mind is two sets of EHDs (external HDD) formatted to FAT or maybe the NTFS, where the files are kept in a standard format and can be read on ANY machine whether OS X or Windows.
    On a proper mirrored system, both HDDs appear to be one only, and the filesystem also appear to be one. So when we handle a file from the mirrored system, the cloning on the two HDD is done transparently without the user getting to know of it. Failure of one HDD will not result in loss of data since that would be available on the other HDD, and when the faulty HDD is replaced, the data gets replicated again from the good HDD. Such a mirrored system is very expensive and not affordable by ordinary mortals like most of us.
    So, to get around the expense part of the whole thing, now that we have fast USB3 interfaces, we can possible use 2 x cheap EHDs hooked onto two separate USB 3 ports, and use them as a mirrored set. It is understandable that since the computer cannot access two USB ports simultaneously, there will be some trade-off to the speed of handling the two EHDs, but, that is acceptable. At least we have two identical sets of data available, which can be used in an emergency on any other system. Should one EHD crash, we can always extract all data from the second one.
    I am not sure if such an arrangement is possible using the existing functionality of the OS X, and so someone may need to whip up an app or a script for doing this. Alternately, some really clever geek could come up with some remarkable solution/work-around. Looking forward for some bright spark from somewhere.

  • How to use USB interface with LabVIEW Embedded for ARM

    Hi everybody.
    I am developing an application based on the "LabVIEW Embedded for
    ARM". Now I am doing various tests using
    the evaluation board 2300 (with NXP LPC2378), but soon I will
    dedicate to program the micro used in my project (NXP
    LPC2148).
    During the tests, I have seen that "default" LabVIEW interface allows the use
    of CAN, I2C and SPI interfaces of the micro. I want to know how can I also use the
    USB interface that is on the micros -both LPC2148 and LPC2378- (pin USB_D + / D-, USB_UP_LED,
    USB_CONNECT, VBUS).
    Thanks in advance for your suggestions

    @chueco85
    If you've created an application in LabVIEW for ARM and you build it.
    you can go to tools >> ARM Module >> Show Keil uVision
    then go to he build options.
    the hex file will be created when you do a build.
    with flash magic :http://www.flashmagictool.com/
    you can program your device.
    Wouter.
    "LabVIEW for ARM guru and bug destroyer"

  • Help Recording Guitar Using USB Interface?

    Hi! I am pretty new to recoring my music, so bear with me. I'm using Adobe Audition CS6 and a Behringer Guitar Link Interface. I've gone to the Audio Hardware and selected the ASIO driver, and found it fine, but I am unable to record. The record button is disabled. Anyone know what I'm doing wrong/have suggestions? Much appreciated!

    Well, at the risk of stating the obvious, on the same screen as where you selected the ASIO driver as the Device Class, did you go to Audio Channel Mapping (also on the Edit/Preferences menu) and select your device?  It'll probably be called something like "Behringer USB device" or something similar.
    If you have and it still doesn't work, I notice on the Behringer site that it says it provides drivers for both MME and ASIO.  If that's right, it might be worth going to MME under Device Class and seeing if the Behringer is there to select as your default input.

  • I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

    I have been using USB 2.1 10/100M ethernet adaptor. But it takes more than 15 mins to detect network interface. What should I do. I am not using apple's company adaptor. It's local company.

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • Can I use iphone in BMW via usb interface for phone call and ipod functions

    Can I use iphone in BMW via usb interface for phone call and ipod functions

    Why don't you check the manual for your car or ask your dealer?

  • HT201066 Using us-144 mkII (USB interface) with Quicktime

    Does anybody know how I can get my MacBook Air to recognize my USB interface when I use Quicktime?
    Quicktime input options are limited to internal mic and my cam... won't recognize my USB interface, even though its appearing in the computers' audio preferences.
    HEEEEEEEELP!!!
    Thanks!
    Eddie

    foxyroxyD wrote:
    digital piano - midi in/out - audio interface - usb - Macbook.
    check the cabling:
    http://www.bulletsandbones.com/GB/GBFAQ.html#controllertointerface
    (Let the page FULLY load. The link to your answer is at the top of your screen)

  • This an IPOD I bought used.  Everything else works fine.  It syncs to my computer and plays my music but will not connect to the USB interface in my car. My wife's IPOD, which seems to be identical, works fine.  Any ideas?

    This an IPOD I bought used.  Everything else works fine.  It syncs to my computer and plays my music but will not connect to the USB interface in my car. My wife's IPOD, which seems to be identical, works fine. I should say it connects but then immediately disconnects.  Any ideas?

    Then my last suggestion is to Reset it, while connected to the BMW Audio.
    Toggle the Hold switch, make sure you dont see the red mark when you do the  next step
    Reset the iPod -> Press Menu and Center button simultaneously for about 10 secs or till the Apple Logo comes ON
    Then release the buttons
    Select your preferred language.
    Here is the Apple support Article on the 5Rs
    http://www.apple.com/support/ipod/five_rs/classic/
    Good Luck!

  • PC-Card GPIB Interface for a Desktop PC using USB card reader?

    I have a IOTech's PCMCIA GPIB interface card. It works well on the notebook with LabVIEW. I want to use it on the Desktop PC using USB card reader or other connectors with LabVIEW.

    Somebody wrote in about this issue. From his comments, it sounds like it may work.
    See:
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RNAME=ViewQuestion&HOID=506500000008000000E6100000&ECategory=Measurement+Studio.LabWindows-CVI
    Randy Solomonson
    Applications Engineer
    National Instruments

  • No output when using a USB interface / real instrument or mic

    Hi, I'm a Logic noob. I can get input and output from software instruments, but when I'm using my interface for my guitar or mic, I don't get any output. I can tell I'm getting input because the input bars jump around when I play, but I just can't seem to get any sound. I've searched through a couple other threads, but they seem to address changing output to hear during recording. Any advice?
    Thanks
    MacBook
    M-Audio Fast Track USB interface
    Creative monitors plugged into MacBook

    When you select the M-Audio as audio hardware the Output goes to it!
    If you want to use Mac internal audio then open the Audio Midi Setup (it's in the utility folder) and create an aggregate device.
    cheers
    rob

  • Is it possible to interface a USB Gamepad to a RT PXI system?

    We currently use a RT PXI system to control a subsea ROV.
    We would like to interface a Logitech Wingman Gamepad with USB interface to our RT PXI system as a Human Interface Device (HID) to control the ROV. Is it possible?
    The gamepad supplier has informed me that the gamepad is "a fully compliant HID device and can be read by any HID-capable platform"

    While the application sounds interesting, unfortunately USB devices are not supported on any of our PXI controllers when booted into the Real-Time operating system.

  • Favoring FireWire interface over USB for external HDD

    I have my iMac hooked up to an external HDD via both USB and FireWire 800 as it is triple-interfaced (USB, FW 400 & FW 800).
    Lately, as I turn on the external HDD (pretty much always once the iMac is up & running), the HDD icon shows in the Finder with the USB symbol.
    It requires me to eject the HDD in the Finder and then disconnect the USB cable for the iMac to detect the external HDD again but now through FireWire.
    The reason I use both interfaces is to handle HDD read/write communication via FW whereas USB only as hub (the external HDD comes with 3 USB ports).
    Is there anything I can do to make sure the primary interface is FireWire and not otherwise?
    Thanks!

    In a recent phone call with OWC's tech support I asked the same question. Answer was "Do not connect both interfaces at the same time". There is no way to arbitrate the connection the Mac will use, and strange things will happen.
    If you think about it, there is no way to specify a preference in the Mac for what ports to connect with, so it does what it wants, not what you'd like.
    I can only imaging what happens on Windows machines. I suspect corruption ahead

  • Setting output to onboard and input to USB interface ?

    Hi all,
    Does somebody now a way to "split" the input and output in logic?
    What I want is using my Alesis USB interface for the incoming signals and the onboard (headphone) output for the the master output. The reason is, when recording guitars through ie Amplitube, the Alesis interface is giving both the clean guitar input signal and the processed signal form Logic back on the output. There's no way to stop the clean input signal going to the output... IF there's a way to set the output to onboard, I only monitor the Logic output.
    In Garageband you can easily set both the input and output in Preferences, but Logic only gives me the option to select the soundcard for both in and output.
    I hope someone can help me out. Thanks a lot
    Kind regards,
    Martijn

    You may be able to configure your interface to do this...
    But if not, you can create an aggregate device (in Audio MIDI setup - may be in Applications>Utilities).

  • Audio problems with an USB interface

    Hi everyone, this is my first post and glad to finally do it.
    I am so pleased with arch linux, it's just simply amazing. I have learnt a lot following the wikis, it's pretty simple and effective.
    I managed to install and configure ssh server, samba server (surprisingly easy), usb samsung laser printer, nvidia drivers, KDE desktop (so fast in arch), fonts, cpu scaling and I'm so happy with the results and perfomance.
    The only problem I ran into is about audio, I think the wiki on audio is pretty  incomplete (don't get me wrong I enjoy your work).
    The problem is with an USB interface line 6 toneport gx (http://line6.com/toneportgx/), I know the device is meant to be an usb guitar interface but since I don't longer play guitar I use it as soundcard. As complementary information it works with no problem on Ubuntu 10.04 (which is the distro I came from).
    The interface works and it's unmuted since I dmix does not work when I try to play sounds from different sources I had to install pulseaudio. Pulseaudio works partially, the sound was improved and finally I am able to play different sources. The big problem is when high cpu load ocurrs the the audio dies and does not come back even when the cpu loads decrease.
    Any help is appreciated.
    Thanks.

    You may want to debug pulseaudio (check their wiki to see how, involves running pulseaudio in verbose mode) to see what happens.

Maybe you are looking for