Streaming Audio over serial com port

I have a task where I am programming a robotic system and control unit.  I am using a laptop for the control unit.  On the laptop is a microphone.  What I would like to do is capture the audio from the microphone and transmit this via the radio to the robot to play on a speaker.  The radio plugs into the com port on the laptop.  I can transfer a .wav file by using the Flatten to String.vi send and unFlatten on the other side.  What I need to do is stream the audio as it is collected from the microphone.  Is this possible?  If so, any suggestions would be appreciated.

It will depend on the speed you are using and the resolution. Let me give an example. Say you are using 1 start bit one stop  bit and 8 bit data. This mean for each byte you have to send 10 bit. Given that you are using 16 bit for audio and a 115200 rs232 link the maximum sample speed will be 115200/20 equal to 7760 samples pr second. But I guess your actual max speed will be lower. If you only need 8 bit sound  you may get higher data rates. That is perhaps the reason for the strange voice on robots in motion pictures 
Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
(Sorry no Labview "brag list" so far)

Similar Messages

  • Bluetooth over serial com port

    I was wondering if I could somehow determine the COM port my bluetooth device is on. I have gotten as far as discovering my bluetooth device and extracting the correct address and device name using the Blueooth Discover VI, and I have been able to obtain the correct UUID number from the Bluetooth RFCOMM Service Discovery VI. Is there any way to obtain what com port it is on from what I have?

    CF_eee,
    Thank you for clarifying what you are trying to do.
    I have two suggestions for you. Each of them may be able to accomplish what you are trying to do.
    (1) Use the Windows Registry to look up information on connected hardware.
    On my computer, information about my Serial Port (COM1) is stored in the Windows Registry at HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Enum\ACPI\PNP0501\1.
    Example keys are Class, ConfigFlags, DeviceDesc, Driver, FriendlyName, HardwareID, and Service (amongst others).
    You can access these registry values from LabVIEW using the Functions located at Connectivity > Windows Registry Access VIs. If you walk through the Enum or ACPI folders, you should be able to determine which Serial Port represents your Bluetooth device by parsing and matching against these keys.
    (2) Use the System Exec VI to call the devcon Command-line Utility from Microsoft
    The devcon utility can be downloaded here: http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q311272
    From the devcon download page: The DevCon utility is a command-line utility that acts as an alternative to Device Manager. Using DevCon, you can enable, disable, restart, update, remove, and query individual devices or groups of devices.
    The System Exec.vi can be found on the Functions palette at Connectivity > System Exec.vi
    You can find documentation on devcon at the download page (linked above).
    Jared A.
    Applications Engineer
    National Instruments

  • Blackberry hijacked my serial com port!

    Hello! I'm new to blackberries! When I tried to sync up my old palm device, it wouldn't connect. Checking into my serial com ports, I saw that the Palm M100 (aka old) was configured for com port 4. Looking on my device manager, I noticed that my Curve took over serial com ports 3 and 4. I intend to still use the palm device. How do I get the computer to recognize it without having to uninstall or reinstall anything?

    change the USB port on which you connect your BlackBerry device.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Adding Serial (COM) Port

    I need to add a single 9-pin serial (COM) port to hook up a device that has a serial connector.  The MB has an 16550A electrical connection but no serial port. What should I be looking for?  Most of what I see online are PCI serial cards or ISA-slotted ones.  I assume that if there's an electrical connection there's no need for a PCI board.  Thanks. 

    Quote from: Built2Last on 14-May-06, 10:16:06
    genegold, I just picked up the same board for my HTPC and it came with the com bracket in the box along with a audio out bracket & tv out bracket. Maybe you should check with your supplier to see if you got short changed.
    Wow, this is getting better.  Mine came from ZipZoomFly and doesn't have one, but does have the others you mention.  The serial header is listed as optional in the manual, but with other parts that means if the board has the connection then there should be a bracket.  I'll have to call MSI Monday and ask (and look all around just to see if it dropped somewhere).  Thanks!

  • VISA unable to communicate with or see RS232 serial com port

     I have a Dell Optiplex GX260 which has recently had Windows XP (Service Pack 2) re-installed on it.  National Instruments VISA is unable to communicate with the single RS232 serial com port on the computer.  Neither the "VISA Resource Name" control in LabVIEW 8.5 nor the "Measurement and Automation Explorer" can see the serial port.  Refreshing the list does not help.  "HyperTerminal"is able to both see and communicate with instruments connected to the serial port.  In Windows "Device Manager, the serialport appear in the list of hardware without any warnings.
    Can anyone please help with suggestions as to how I may be able to get VISA in LabVIEW to 8.5 to see and communicate with the serial port?
    System Details:
    Dell Optiplex GX260 (One RS232 serial port)
    Windows XP Home Edition Service Pack 2
    LabVIEW 8.5
    Solved!
    Go to Solution.

    AKA_TG wrote:
    Just passing by but I gotta say
    Guyts who answer like that do really irritate me
    Someone oughta apologize to the porr guy trying to get some help here.
    Go ahead and put me on your ignore list please!
    First, there is a plethora of messages on this forum and a plethora of information in the NI KnowledgeBase. If someone doesn't make the simple effort to take 5 minutes to perform a search what does that say? The issue being raised has come up, literally, dozens of times. Do you like answering the same question over and over and over and over and over again?
    Second, my feelings are not unique. You will find that the irritation of people not bothering to do a simple search is shared by most of the regulars here. Why do you think search engines are available? Just so that ads can be sold?
    Third, posting the SAME question in multiple threads is self-defeating. People who try to answer don't know what's already been suggested, and end up wasting their time as well as the poster's time in providing the SAME answer and/or suggestions that were provided in the other thread. 
    Fourth, simple forum netiquette. In both threads the poster essentially hijacked someone else's thread. This is frowned upon in just about every forum that I've ever seen.

  • When streaming audio over Bluetooth the wifi is unusable.

    When streaming audio over Bluetooth the wifi connection gets slow and unusable. So no Internet radios over Blutetooth, no streaming from Box.net etc. any solution?

    Try and change the Wi-Fi channel.

  • Serial COM Port to TCPIP

    I saw a lot of posts that deal with this, however: I have a test rack with 24 UUTs, each has a usb to Ethernet adapter.  I want to use each adapter to talk to the UUT with the same IP (can't changed it it's static).  I need to be able to go through a com port and communicate to a specific UUT, knowing that I am communicating through this specific com port, not any other of the 24.
    I saw a few virtual drivers, that seem to do this, but has anyone done anything of this nature before?  I know I can create a NI Visa resource in NI MAX but that doesn't help me, because I can't link a com port to that resource, can I?

    rsmrostov wrote:
    ‎You wrote that you have a USB-to-Ethernet adapter. Did you mean the TRIPP-LITE extender?
    yes
    That is simply a USB extender, no conversion to Ethernet. - obviously
    Then why did you describe it as a USB-to-ethernet adapter?
    rsmrostov wrote: 
    Does your device speak TCP-IP or serial? -TCP-IP
    Where is the USB-to-serial adapter, and what model is it? non, there's a driver that comes with the device, that must let you talk to TCP/IP 
    Is it integrated into the DUT? - most likely, not sure to be honest, as I am helping out one of the guys who plain just doesn't know.
    What can you tell us about the DUT? - Linux based device, has a fixed IP
    You showed us a screenshot of MAX, listing several COM ports. So, those COM ports somehow exist on your system. You also said that only one of them is connected to the DUT. If this is true, then the COM port must be created outside of the device (for example, a USB-to-serial adapter). However, if the device doesn't use serial communications, then it doesn't make any sense to have a USB-to-serial adapter at all, because there's no easy way to run TCP over serial.
    It sounds like you need to do some research on exactly how your DUT works, what types of connections it offers, and what protocol it uses. If you absolutely need to connect to multiple devices, each of which have the same IP address, I would recommend that you get a bunch of cheap home NAT (network address translation) devices, often seen as a home/office router (allows you to connect multiple computers to a single internet connection). Assign each one a unique IP address within the same subnet, plug them all into an ethernet hub or switch, and plug one DUT into each router. Configure the router's internet address to match the subnet of the DUT, and set each router to route all incoming connections to the IP of the DUT.

  • HTML DB and Serial(COM) Port

    Hi, everyone,
    Is there any way that HTML DB can communicate with Serial Port (COM Port) directly? I searched the forum, and saw someone mentioned "Visual Baisc", "Javascript", "ActiveX", or "DLL". Could anyone give an example for it if you had successful experiences about it?
    My problem is I'm working on a HTML DB project which will read data from barcode scanner. And request I have is the HTML DB can monintor the Serial Port and read the data from there if there is one. That means some programs need to be embedded in or called in HTML DB page. I known there are some commerial software developed for this purpose on the market, but I am wondering if it can be done by HTML DB itself?
    Thank you. And Regards,
    Ran

    > Is there any way that HTML DB can communicate with Serial Port (COM Port)
    directly?
    There seems to be a misunderstanding or lack of understanding about what APEX/HTMLDB is ito client-server architecture.
    APEX is a server side application. It resides entirely in Oracle as PL/SQL software. It is executed by Oracle server processes that are servicing requests from a web (i.e. Apache) server.
    APEX does not "run" on the client. APEX streams, via the web server, data to the client browser. These MIME streams can be anything from HTML, XML, plain text (like CSV data), to images and so on.
    The browser receives this data stream, and depending on the browser configuration, does something with it - e.g. it renders a HTML data stream, it starts Flash Player plugin for a Flash graph, etc.
    The browser interacts with the client. With the user, the mouse, the keyboard, the printer and any other peripherals the client may have - like a barcode scanner.
    Can HTMDBL use a COM port? The more correct question is, Can PL/SQL in the Oracle Server Process access the COM port of the Oracle Server Platform?. The answer to that is yes - it can be done.
    But in the context of client interaction and the COM port being that of the client platform - no. PL/SQL is a server-side language. It does not execute on the client in the client browser.
    It is important to understand the web client-server architecture - as it is a lot more complex and inflexible and slower than the "traditional" client-server architecture. It is stateless. It uses a very "primitive" client, the web browser. It is bound to W3C standards which is the lowest common denominator. Forget about smooth and slick client GUIs using and supporting the latest desktop GUIs standards and controls. Forget about easily interfacing with the client platform's file system and peripherals and so on.

  • Newbie : working with INTERRUPTS with SERIAL com port ?

    hi guys !
    here is the deal :
    my app needs to
    monitor a com port while doing something else
    or to be interrupted when something is available on the com port.

    Ive been trying to do something similar
    so far I launch a new thread, which sets up a comcallback to trigger on
    0x05 comming through the serial port (ENQ)
    unfortunately, this seems to ltake like 100% CPU
    Grahh!
    im doing this in cvi...but i should think you can do the same in labview
    andy
    jerry wrote in message
    news:7sqnad$45u$[email protected]..
    > hi guys !
    >
    > here is the deal :
    >
    > my app needs to
    > monitor a com port while doing something else
    > or to be interrupted when something is available on the com port.
    >
    >

  • Working with INTERRUPTS with SERIAL com port ?

    Hello all.
    I need to monitor a com port ( to use with a gsm modem siemens m20) while
    doing something else
    or to be interrupted when something is available on the com port.
    I want to do it with interrupts in NT operating system. I could do a device
    drivers to do that, but, is possible to do it in a simple way?
    Thanks.

    Ive been trying to do something similar
    so far I launch a new thread, which sets up a comcallback to trigger on
    0x05 comming through the serial port (ENQ)
    unfortunately, this seems to ltake like 100% CPU
    Grahh!
    im doing this in cvi...but i should think you can do the same in labview
    andy
    jerry wrote in message
    news:7sqnad$45u$[email protected]..
    > hi guys !
    >
    > here is the deal :
    >
    > my app needs to
    > monitor a com port while doing something else
    > or to be interrupted when something is available on the com port.
    >
    >

  • Unable Streaming Audio Over AirPort

    OK, with this forum's help, I've figured out how to stream audio from one of my favorite radio stations to my iMac.. That's all well and good, but I'm unable to hear the resulting audio through my stereo receiver which is networked to my iMac through AirPort using an AirPort Express and a Time Capsule. iTunes plays just fine through this network. What's up? I'm missing something.

    depending on the application you use, Airfoil might be able to help.
    JGG

  • Simple Serial Com port

    I have an external device that I need to write and read simple ascii commands to through a serial port. For some unknown reason I can not get Labview or for that matter M&A to com to it. I can com to it through a terminal (putty) with no problems. I have tried through M&A and also several labview basic read & Write Serial example VIs. No luck. All I need to send is  $1RD  This tells the external device to send a measurement back. Its basic ascii. The device coms on 19200 baud 8 bit words no party or flow control and 1 stop bit. Anyone have any ideas?

    Bkasper wrote:
    It works fine in putty. Yes I have to press the enter key to send the $1RD. I have tried adding \r and \s to the end of the command in labview, but no luck.
    Try adding a \r\n or just a \n to the end of the line. A carriage return by itself is not a normal line termination.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Task initialization thorough serial com port

    I want to initiate a task by passing a string suppose "y" (from serial port) and it should remains active until vi doesn't receive another string suppose "n". Please tell me how can I do it?
    Attachments:
    smplserl.llb ‏29 KB

    Provide some details please. I don't understand what you mean by ' remains active'. What are you connecting your serial port to?
    What is the point of attaching an llb that comes with LabVIEW?

  • How to record streamed audio over the internet in iTunes?

    One option is iRecordMusic:
    http://www.bitcartel.com/irecordmusic/index.html
    The problem is that you have to pay for it (USD 25). Any more cost-effective solutions?

    WireTap Pro $19 (Probably the best)
    Audio Hijack $16
    Audio Hijack Pro $32
    Radiotastic Free
    other stuff
    http://www.versiontracker.com/php/search.php?mode=basic&action=search&str=intern et+stream&plt%5B%5D=macosx

  • Streaming audio over networt

    my current project is voice real time chating between two computers over ethernet
    i catpured audio samples and saved them in an AudioInputStream object
    is there is any way i can stream the audio samples in the AudioInputStream object over ethernet
    can i use sockets and how or what are my alternatives?

    The Mac's Bluetooth can send audio, but not receive audio. Try connecting the phones headphone jack to the Mac's audio input.

Maybe you are looking for

  • How do i find the diameter of a ring in an image?

    I'm new to Labview, so i dont know how to use Vision Assistant 7.1 to find the diameter of a ring in the following image. Can someone guide me through the steps? Attachments: whole seal.jpg ‏302 KB

  • Edir OU Objects Don't appear in Management Console

    ZEN ESM Ver 3.5.0.154 I have created OU in Console One and created a Group so I can publish Policies to the group to reduce administration. The OU does not show up in the management console. I have tried rebooting, syncronising and loggin into the OU

  • Upgrade to mac pro from two G5's

    I am currently using a G5 2.5 ghz as my main Logic computer, and an additional G5 2.0 ghz to ease the cpu burden by hosting Ivory as well as additional instances of Kontakt, EWQLSO, etc. This works fine but I would prefer to use one computer if it we

  • What's the best way of using dialogs?

    Let's guess that we have frame and dialog, dialog is really complicated and have many components like JTextField, JTextArea check bottons etc... What's right way to return all information from dialog to frame when user fill all components and push OK

  • NI-845x I2C Run Script.vi got error -30742. I cannot write or read

    Hi All, I am using Labview 8.5 and Ni-8451. I got the error coded -30742 during writing data into MCU. It works in Cypress IIC, but using Ni-8451 it won't work. Please help me with... Why I got this error? Any idea? Best Thanks. Jessie