Using CAN bus to transport and play the stream audio data

hello,
Just want to build a PC-Based control network using CAN bus (Ethernet not considered).The system is separated two parts , one is the front unit(FU), and the other is the centeral unit(CU). FU performs dialing-up number to the CU , and play the stream audio media data come from CU, CU monitor the telephone call activated from FU's user , send rm or mp3 data to the FU . I'd like to know if CAN bus could realize this function? if it can , which hardware must be supplied ? Is there any suggestion that not use PBX to realize the voice (telphone) communication ? Please give an solution , your advise is greatly appreciated . Thanks.
David

Hi David,
the CAN protocol essentially just gives you the ability to transfer (broadcast) up to eight data bytes across the network at a maximum data rate of 1 Mbit/s.
There are so-called higher level (or layer) protocols that further specify the data exchange between a data producer can the consumer (DeviceNet, CANopen, etc.).
If your application is not tied to any of those protocols, that means you have the freedom to design all (CAN) nodes of your network, you can implement your own protocol based on the eight data bytes and the arbitration ID CAN offers.
For more information on the CAN protocol, take a look at appendix B of the NI-CAN Hardware and Software Manual, or visit the web site of CAN in Automation (CiA).
For your particular application you would need a CAN port on both the FU and the CU (preferably high-speed physical layer) and a PCI interface CAN card for you development.
-B2k

Similar Messages

  • Transcoding and then playing the converted audio data

    I want to convert a wav file (in form of a byte array) from one encoding to another using Processor, and then play the converted result (in form of a byte array).
    On a high level, I know I need to create a PullBufferDataSource as input, create a Processor using Manager and the PullBufferDataSource, program the processor, get the output DataSource, which is of type RawBufferMux$RawBufferDataSource.
    My question is:
    a. How do I play the RawBufferDataSource object using a Player object? or I shouldn't end up with a RawBufferDataSource object?
    b. I noticed that Player and Processor classes perform their operations using multiple threads. How do I know what operations are always done in a different thread? Is there any documentation regarding this?
    Thanks.
    Edited by: ychenx on Jul 8, 2009 7:43 PM

    a. How do I play the RawBufferDataSource object using a Player object? or I shouldn't end up with a RawBufferDataSource object?Ummmm, you should just be able to hand it to a Player object.
    Player pl = Manager.createPlayer(proc.getDataOutput());If that doesn't work, then you probably havn't set the format object of your input DataSource correctly.
    b. I noticed that Player and Processor classes perform their operations using multiple threads. How do I know what operations are always done in a different thread? Is there any documentation regarding this?Why do you need to know?
    And no, I don't think there's any documentation on it...

  • Recording and Playing back Streaming Audio and Video

    Hi Folks...
    I posted this in another forum too. I have this sample code from the e-book: "Learning Flash Media Server 3". The purpose of the code is to create a FLV. The code is not running as it should. When I click on the 'record' button, the label is to change to 'recording', that dosen't seem to happen and also when I click on the 'Stop Record' button, I get the following error:
    "TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at MinRecord/stopRecord()"
    I have my suspicion on a certain section of the code as the possible culprit, but I am not sure how to rectify it, I will post the entire code here so you guys can have a look.
    package
          import fl.controls.Button;
          import fl.controls.TextInput;
          import flash.display.Sprite;
          import flash.net.NetConnection;
          import flash.net.NetStream;
          import flash.events.NetStatusEvent;
          import flash.events.MouseEvent;
          import flash.events.Event;
          //import flash.net.ObjectEncoding;
          import flash.media.Camera;
          import flash.media.Microphone;
          import flash.media.Video;
          public class MinRecord extends Sprite
           private var nc:NetConnection;
           private var ns:NetStream;
           private var rtmpNow:String;
           private var msg:Boolean;
           private var cam:Camera;
           private var mic:Microphone;
           private var vid1:Video;
           private var recordBtn:Button;
           private var stopBtn:Button;
           private var textInput:TextInput;
           //Constructor
           function MinRecord ()
           //NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0;
           nc=new NetConnection();
           nc.addEventListener (NetStatusEvent.NET_STATUS,checkConnect);
           rtmpNow="rtmp://192.168.0.11/vid2/recordings";
           //rtmpNow="rtmp:/vid2";
           nc.connect (rtmpNow);
           addMedia ();
           addUI ();
           recordBtn.addEventListener (MouseEvent.CLICK,startRecord);
           stopBtn.addEventListener (MouseEvent.CLICK,stopRecord);
         private function addMedia ():void
           cam=Camera.getCamera();
           cam.setMode (240,180,24);
           cam.setQuality (0,90);
           mic=Microphone.getMicrophone();
           vid1=new Video(cam.width,cam.height);
           vid1.attachCamera (cam);
           addChild (vid1);
           vid1.x=100;
           vid1.y=50;
           private function addUI ():void
           recordBtn=new Button();
           recordBtn.label="Record";
           recordBtn.x=100;
           recordBtn.y=50+(cam.height) +5;
           recordBtn.width=70;
           addChild (recordBtn);
           stopBtn=new Button();
           stopBtn.label="Stop Record";
           stopBtn.x=recordBtn.x+85;
           stopBtn.y=recordBtn.y;
           stopBtn.width=75;
           addChild (stopBtn);
           textInput=new TextInput();
           textInput.x=recordBtn.x;
           textInput.y=recordBtn.y + 30;
           addChild (textInput);
           private function checkConnect (e:NetStatusEvent):void
                msg=(e.info.code=="NetConnection.Connect.Success");
                 if (msg)
                  ns = new NetStream(nc);
           private function startRecord (e:Event):void
                 if (ns)
                       recordBtn.label="Recording";
                       ns.attachAudio (mic);
                       ns.attachCamera (cam);
                       ns.publish (textInput.text,"record");
           private function stopRecord (e:Event):void
                 recordBtn.label="Record";
                 ns.close ();
    My deduction is that the 'if' statement in the 'startRecord' function is not resolving to 'true' and hence the label is not changing to 'Recording'. Also I feel that the assingment to the variable 'ns' of type NetStream is not being done and hence in the function 'stopRecord' I get the above mentioned error message when I click on the stop button. How do I rectify these problems?

    Hi Amit,
    Thanks for the message, I had acutually realised late last evening that changing this:
    rtmpNow="rtmp://192.168.0.11/vid2/recordings"
    to this:
    rtmpNow="rtmp:/vid2"
    which is what you have also recomended solves one of the problems which is that of the startRecord function, as my server is running on my own local machine. However when I click on stop record, I am getting the following error:
    "Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Publish.BadName
    at MinRecord/checkConnect()"
    I am trying to figure this one out...if you have any clues, let me know. Thanks.

  • How do i get my computer to be authorised so I can burn a cd and play the track in Itunes

    I cant burn my playlist song onto disc.  It says my computer isnt authorised.  It is a music edit I have done in Acid Pro and contains songs I have purchased in Itunes.  Please Help, this is urgent

    In most process-control applications it is not about just avoiding lost measurement data. The most important is having a robust control-algoritm that reacts to a change of input-situation in a given time.
    A non-responsive system is not a very reliable process-control solution.
    The vi you mentioned are only around since the latest versions and the old method of polling controls still suits many applications (but that's another discussion).
    As about RS-232 input time-outs, I have never used that.
    In the time before VISA was created I (as other LabVIEW users I discovered) used a method of storing every incoming string in a buffer (memory-vi with USR) and that still works (classic serial VI's versus VISA is also another never-ending discussio
    n).

  • How to set the router and play the Command & Conquer using direct IP mode?

    My router is WRT54GFirmware Version: v3.03.1
    How to set the router and play the Command & Conquer using direct IP mode with other computer?

    Hi, when you say direct IP mode, what do you mean ? do you wanna play the game online or on the LAN ??
    can you give a few more details.

  • TS1717 I just downloaded a song and it only plays the first 50 seconds and then moves to the next song in the list. How can I get it to play the rest of the song?

    I just downloaded a song and it only plays the first 50 seconds and then moves to the next song in the list. How can I get it to play the rest of the song?

    If your country's iTunes Store allows you to redownload purchased tracks, I'd delete your current copy of the track and try redownloading a fresh one. See the following document for instructions:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Otherwise, I'd report the problem to the iTunes Store.
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • After yesterday's "upgrade", iTunes can no longer find and play my music library.  It points to the correct location in "Advanced", but clearly iTunes is not actually seeing it.

    After yesterday's "update", iTunes can no longer find and play my music library.  It points to the correct location in "Advanced", but clearly iTunes is not actually seeing it.  What gives?  And why does Apple force these constant updates that just screw up everything?  It was all working fine yesterday before I ran the update.

    Does anyone know where I can get support for this issue?

  • Since upgrading to Yosemite I cannot get directly to Netflix.  I get a message about having to download Microsoft Silverlight.  I can't get that to work and don't want it anyway.  I just want to open Netflix and play the movies.   What should I do?

    Since upgrading to Yosemite I cannot get directly to Netflix.  I get a to Netflix and there is a big message about having to download/install Microsoft Silverlight.  I can't get that to work and don't want it anyway.  I just want to open Netflix and play the movies.   What should I do?

    I can't get that to work and don't want it anyway.
    You need Silverlight. That is the application that plays the Netflix movies.
    http://www.microsoft.com/getsilverlight/Get-Started/Install/Default.aspx

  • When I sync iphone to itunes, why do my soundtracks not show as albums but via artist?  IE: Pulp Fiction has 16 songs by different artists.  In itunes I can pull up pulp fiction and play the 16 songs.  In iphone sync the 16 songs are seperate

    When I sync iphone to itunes, why do my soundtracks not show as albums but via artist?  IE: Pulp Fiction has 16 songs by different artists.  In itunes I can pull up pulp fiction and play the 16 songs.  In iphone sync the 16 songs are seperate and listed by Al Green, cowboy junkies etc... How to fix this so the ipod part of my iphone will show & play the soundtracks as albums... thanks.

    What is selected under the Music tab for your iPhone sync preferences with iTunes?
    If you have chosen selected playlists, artists, albums, and genres - if Pulp Fiction is available under the Albums section to be selected as an Album to be transferred to your iPhone, is it selected?
    If so, when you select Albums via the iPod on your iPhone, the album is not available there to select?
    You can always create an iTunes playlist with these songs placing the songs in your preferred order.

  • Play a song from itunes? it will show the art work then skip three or four songs and start playing! How can I get it to play the songs I touch? This is a new phone but has been restored from backup. Not even all my icloud music is showing

    play a song from itunes? it will show the art work then skip three or four songs and start playing! How can I get it to play the songs I touch? This is a new phone but has been restored from backup. Not even all my icloud music is showing

    Hi amorg1876,
    If your iPhone is skipping over certain songs, you may want to check out this article:
    Troubleshooting songs that skip
    http://support.apple.com/kb/TS3217
    Cheers!
    - Ari

  • The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The stren

    The need to compress to max 1GB is obsolete. You can not determine what and how the space provided on iDisk can be used. You provide it or NOT. If you DO, then let US free, if you don't, then TELL us WHY, so we can choose to go public elsewhere. The strengthood for Apple for the fourthfullness to be legal, which I respect, can become too restrictive in my European eyes. Any hearing around? René

    As was noted in the introductory material for the Apple Support Communities website (presented when you registered), these forums are set up for user-to-user assistance and discussion, not for user-to-Apple communications.
    Suggest you resubmit your position statement to Apple via product feedback for iCloud, which you can access via a link on this page -
    Apple - Feedback
    ...we've all moved to iCloud, isn't it?
    Um, no, we all haven't.

  • Can I switch back and forth the same sim card between an old iPhone 4 and a new one never used in order to activate the latter? Should I use same Apple Account?

    Can I switch back and forth the same sim card between an old iPhone 4 and a new one never used in order to activate the latter? Should I use same Apple Account? Should I activate it via WiFi or iTunes? I am filtering on the MAC no and I cannot read that number from the new iPhone without having it activated??!!
    All I want do is to have the new phone activated and then tested!
    Ciao // Mufftas

    Yes, you can do that.

  • I havent used my ipod for sometime and forgotten the 4 digit passcode what can i do

    i havent used my ipod for sometime and forgotten the 4 digit passcode what can i do

    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone and iPod touch software.
    If the issue continues after updating and restoring your device, refer to this document.
    copied from: http://support.apple.com/kb/HT1212

  • Can I cycle through and change the color overlay of certain layers by name using script?

    Can I cycle through and change the color overlay of certain layers by name using script?

    Sure. Ask in the scripting forum and refer to the scripting docs.
    Mylenium

  • When I try to use ITunes Radio the screen just scrolls and plays the same song over and over

    When I try to use ITunes Radio the screen just scrolls and plays the same song over and over again?

    - First try resetting the iPod to make it visible in iTunes
    Reset iPod touch:  Press and hold the On/Off Sleep/Wake button and the Home
    button at the same time for at least ten seconds, until the Apple logo appears.
    - Next try placing the iPod in recovery mode:
    iPhone and iPod touch: Unable to update or restore
    - Last try placing the iPod in DFU mode:
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings

Maybe you are looking for

  • Solution center will not recognize J4680 in wifi

    My J4680 will print a document in wifi so I know my computer and printer are communicating.  I have reinstalled the software and I am still able to print.  However, when I open HP Solution center to check ink level or scan an item it will not recogni

  • US Mac mini in Europe

    Hello ! I'm from Germany but currently working in the US for a few months. I wanted to buy me a mac mini (unibody) here, for work etc. My question now is, am I able to use my Mac mini in Germany, too ? I ask because in Germany we have the 220V standa

  • Drop Shadow On JInternalFrame

    I am trying to adapt Romain Guy's DropShadowPanel to make a drop shadow on a JInternalFrame. It seems as the shadow is drawn outside the clip of the frame I have to somehow increase the clip size to see the shadow. It's nearly working but the shadow

  • Updated bind 9.3.0 package

    This is an updated version of the bind-9.3.0-1 found on current repository.  It brings the following:1. Runs as named user/group instead of root. 2. Automatically generate rndc.key at installation, if none is present. 3. Automatically create user and

  • Leica DNG images slow to open in Bridge

    I'm finding that opening Leica DNG files in Bridge is very slow. Once I click on a image in the light table in Bridge it takes several seconds before that image appears in the preview box.And to move from one image to another in the light table is al