NI USB CAN 8473 write single frame and log all frame of network with read notification on the same port

Hello,
I am trying to code an application which:
- Write sometime (button click) a frame on a CAN network
- Log all frame of CAN NETWORK
My hardware is NI USB 8473 (1 port).
1/ After reading NI help about CAN APIs, I think it is not possible to do "log all CAN frame" with Channel API because I need to install a asynchronous callback to read all message, and this functionality is only present in frame API.
Anyone can confirm?
2/ No problem let's use Frame API
I have tried "CAN Receive with Notification" example delivered with NI-CAN driver, configured on virtual CAN256.
I start other sample program to generate some frame on virtual CAN257, no problem, everything is working.
So, i have tried to modify "CAN Receive with Notification" to add write function. I have mixed this source with "Transmit Receive same Port" sample (which works fine alone on CAN256).
My program is running, but nothing appens when I click on WRITE button.
I suppose some attribute are not confired, but which one.
Anyone can help? (source of my modified sample is joined to this post).
Thanx.
PS: please note im a newbie with CAN
Attachments:
CAN Receive with Notification.zip ‏10 KB

Hi,
Thank you for posting your question on National Instruments' Forums.
I'm a little puzzled by your question.
If I understood well, you just want to receive every frame reaching the port and sometime write something through the port. Am I correct ?
You are right when you state that the NI USB 8473 can only work with frame API. However, if the operation you want to make is the one I discribed above, I can't see where you encounter a difficulty.
Indeed, for such a case, the example you mentionned in your post is perfectly suited. "Transmit Receive same Port" allows you to receive the frames reaching the port and write we needed too.
I think this example shoudl do the trick.
Or have you a more specific application in mind ?
I hope this information will help you.
Best regards,
Guillaume H.
National Instruments France
#adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
>> NIDays 2011, le mardi 8 février au CNIT de Paris La Défense

Similar Messages

  • HT201699 My Ipad 2 recognizes my MTNL Micro sim and connects me to 3g network easily. I put the same sim in the latest ipad 3, it always gives error as "sim failure'. I did all the work such as putting correct APN, restarting the ipad etc. Still why this

    I do have this problem with new Ipad3.
    I used Ipad 2 3g with mtnl,Mumbai as carrier. The sim I used have not given me any problem as my Ipad immediately recognized and connected me to internet.
    Recently i purchased I pad 3 3G. I have inserted the above micro sim to this ipad. It always gave this message as " Invalid Sim".I have the the following to correct the problem
    Put the correct APN under cellular data.There is no need of user name or pass word
    Restarted my I pad after putting the APN
    Taken out the sim from the tray and reinserted it later.
    Checked whether I got the latest carrier version
    Turned off wifi
    Switched on and off cellular data
    I know that the sim is not locked because the same sim is working in my telephone as well as ipad2
    Now the SOS to my community members please....

    Oh friend. Now I am totally disappointed with this big purchase. My connectivity is now limited with wifi only.(till my operator starts 4G service).
    Anyway manyy thanks for attending my doubts....

  • Music is not syncing on my iPad 4 and iPhone 4. pls help me with a solution for the same. Thanks.!

    music is not syncing on my ipad 4 and iphone 4..
    Please help me for the same.
    Thanks!

    De-sync all your music to remove it from the device. Then reset your device: hold down the home button along with the power button until you see the Apple, then let go. Now try re-syncing your music.

  • NI USB CAN 8473s

    Hello everibody sorry my English is not very good but in think you could understant my ask.
    I must create a program only with Labwindows/CVI with an USB CAN 8473s that could display a XY graph with the information that my canbox will read. But I don't know if it's feasible because of the incompatibility within Frame API functions and Channel API functions? Is there a possibility to do that program with Labwindows with NI functions or others functions?

    Hello Shizuo,
    I've posted on your french topic.
    Regards,
    Mathieu P. | Certified LabVIEW Associate Developer
    National Instruments France
    #adMrkt{text-align: center;font-size:11px; font-weight: bold;} #adMrkt a {text-decoration: none;} #adMrkt a:hover{font-size: 9px;} #adMrkt a span{display: none;} #adMrkt a:hover span{display: block;}
    Journées techniques : des fondamentaux aux dernières technologies pour la mesure et le contrôle/comm...

  • NI USB CAN 8473 with real time engine

    i am using NI USB CAN 8473, its driver version 2.5.2 and labview 8.2. I havle all these installed in one laptop and i am able to send and receive can messages. Now i built the .exe of the same vi and trying to run it another laptop which doesn't have Labview installed in it. But i have installed run time for 8.2 and same NI-USB-CAN driver 2.5.2
    But still it is not working in the second laptop. Can any one support me for the same...
    Regards
    Mahesh

    Hi Manhesh,
    I think you meant to say, "Does the USB CAN 8473 work with the LabVIEW Run Time Engine?" LabVIEW Real-Time Module and Engine are not the same thing as the LabVIEW Run-Time. (Just a side note that the USB CAN devices do NOT work on LabVIEW Real-Time OSes).
    Can you tell us a little more on how it is not working? Is the executable loading, but you don't see CAN traffic? Is this your LabVIEW VI that you builting into an EXE, or an example? Does an example CAN program from the example finder built into an EXE work OK? Do other LabVIEW built EXE work OK? Does your USB CAN device show in MAX?
    Joshua B.
    National Instruments
    NI Services
    NI Support Resources
    NI Training Resources

  • I can not write in Hebrew And create effects It shows all distorted  When This problem solved?

    I can not write in Hebrew
    And create effects
    It shows all distorted
    When This problem solved?

    roeisarusi wrote:
    When This problem solved?
    Nobody knows.  iWorks apps have always had bugs that make them unsuitable for Hebrew/Arabic for most people.  Tell Apple here:
    http://www.apple.com/feedback/keynote.html

  • I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    I have an Apple ID with a single  e mail address. I want to set multiple addresses in the same ID. Can I? If so how?

    Howdy there johnzcarp,
    As I understand it you want to have more than 1 email address under your Apple ID. You can have what are called Alternate Email addresses associated with your Apple ID and this article will help you get those setup:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses
    Alternate email address
    You can add one or more alternate email addresses for use with Apple services such as Game Center, FaceTime, Find My Friends, iMessage, and OS X notifications.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Add an alternate address:
    Select Add Email Address, then enter your alternate address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Edit an alternate address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete an alternate address: Select Delete next to the address.
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • How can I save a website   and keep all assets attached without loss

    Hi there
    I have constructed my first website using Dreamweaver with five tabbed pages. When I preview in Safari everything is there and it all works seemlessly. When I then try to save it on my mac to user - web - sites - site when I launch the page on my domain I get the background and text and a few Gifs but most of the other gifs and the navigation buttons are missing. I am very much the newbie but feel I am a few strands of knowledge short of making this work.
    Very frustrating. Can you please help?
    Andy

    First thing I'd check is to see if your links to those assets are relative to the document as opposed to relative to your hard drive!
    An example: Let's say your site is in a folder called "MyWebsite". Within that folder you have a folder called "images" with your images, a folder called "style" with your CSS and finally all of your HTML pages lie singly within the "MyWebsite" root.
    To call your CSS you would point links this way "../style/MyStyleSheet.css" - where ".." = root folder (MyWebsite), "/style" = the folder called "style", and "MyStyleSheet.css" = your style sheet.
    Your links to images would look like, "../images/ImageName.jpg" - again the "dot dot" points to the root folder ("MyWebsite"), "/images" then directs it to the folder called "images" and the "ImageName.jpg" would be the actual image that is linked.
    Following relative filepaths (relative to the "root" folder) will ensure that regardless of where you move the "MyWebsite" folder, all the links will continue to work.
    If this does not answer your problem, please post a URL to the site so we can look at your code and perhaps provide more in-depth answers.

  • Poster Frame and Trim Mode not working properly with post-synced clips

    Hi Everyone-
    Final Cut Pro seems to be doing something really odd and I'm wondering if anyone else has experienced it and if so what is the fix:
    We are shooting a movie on Red with sound coming in on multitrack wav files. We downconvert the R3D files to Prores and then manually sync the tracks in the timeline.
    We link the pix and sound and drag them to the bin to make our dailies. They all play, in sync. When we try to set a poster frame the issues begin. If I load the clip into the browser park the playhead on a frame and choose poster frame, the actual frame in the bin is very noticably offset (often by a few seconds).
    Also, when I use the trim mode, the frames jump to a different part of the shot during trim. It's like the shot is jumping ahead or back while I hit the frame advance or recede buttons. Once I let go of the button the image jumps to the correct number of frames. But, it's very distracting if I am trying to trim, for example, to just before an actor blinks. I can't trim 1 frame at a time. I have to keep hitting the button, watching the picture jump to a different part of the shot, release the trim button and watch the picture jump back to the now correctly trimmed frame...
    As a test I took some of the Prores clips with scratch track sound and brought them into the bin directly from the finder, bypassing the syncing. Using those clips, the trim and poster frames work as expected. Obviously something is going on during syncing.
    I assumed maybe because the audio and pix we different lengths the clip was getting "confused", and didn't know where to "start". So, in the timeline with the synced clips, I razor bladed a few shots, linked them, and dragged them to the bin so the audio and video were the exact same length... Same issue.
    I have noticed the same behavior on 2 separate Macs so I don't think its a preference or corrupted install issue.
    Anyone seen this and have any suggestions?
    Thanks,
    David

    Yes, David, I'm having the same problem under the same circumstances. we're using merged clips made from Prores QTs and multitrk BWF files. In the trim window, the display frame jumps ahead considerably in a frame-by-frame trim, but trims accurately in the timeline. My only work-around has been to use the left/right scrub arrows in the trim window when necessary, which displays the correct frame. Sorry not to have an answer, but I saw a post on another forum from 2007 that speculated it was an FCP 6 bug. Resetting prefs doesn't help.
    Tim

  • Drop Frame and Non Drop Frame

    Does QuickTime Pro 7 allow you to select between drop frame and non-drop frame?

    I don't understand your question.
    QuickTime Player will automatically reduce the implied frame rate to maintain the file playing. You can observe this by viewing any HD movie trailer on a non supported OS.
    Frame rate drops so much that the file is nearly not viewable yet the audio portion continues to play back without issue.
    The QuickTime author can't set these parameters and QuickTime Pro users can override the issue by selecting to "Play All Frames". This can quickly bring playback to its knees on older systems but it will not drop any frame during playback. It may take two days to view each frame of a 1080 HD movie trailer on a G3 but you should see each one.

  • Can't connect two external drives via USB hub to the same port.

    I have two external hard drives connected to my MacBook Air, along with other USB devices, using a powered USB hub. When I connect both external drives to the same port via the USB hub, one of them disconnects with an error message saying it was improperly disconnected. The same thing happens when I connect one of the hard drives and an external DVD drive via the USB hub. The two drives work fine when connected to separate ports. Other USB devices coexist with one of the drives quite happily. Can anyone explain why this is?

    External drives may well require more power than a port can supply. Also, many USB hubs cannot be used for external drives. It's always best to connect an external drive directly to the USB port. If the drive enclosure has a second USB port on it, then you can daisy-chain a second drive to the first, sometimes.

  • Can two java program write to the same port by fetching data from different

    can two java program write to the same port by fetching data from different ports, if yes is thing possible for a 3rd program to get all data (is there any data loss or collision)
    how is this possible

    can two java program write to the same port by fetching data from different portsTwo java clients can connect to the same server port and they can both write to it. However the server will see the connections as two separate accepted sockets.

  • HT4865 So who believes Apple should be a bit more cautionary about the sharing of iMessages and other content when several members of a family share the same iCloud account and unknowing can audit each other's iMessages, Contacts, and god only knows what

    I think Apple should be a bit more cautionary about iCloud and privacy.  My family shares the same iCloud account as we all enjoy the music we collectively purchase on iTunes; we paid Apple for this feature with some kind of grouped account.  We didn't know, however that this joins our devices so that iMessages, contacts, pictures and just about everything else is shared too.  The unprivate default seems to be to share everything between all devices vs. to allow access by exception or by choice (or by password?).  Sure, when my kids get all my texts I can go figure out why and fix it but that is in my mind the antithesis of privacy and could be quite embarrassing for any family.  I guess it is good for stalking the kids or parents though if they don't know about the partyline approach to privacy.  Maybe a tech solution would be to have the iPhone show somehow the extent of its audience to its user.

    No argument from me about the vagaries of using and sharing Apple IDs.  This can lead to unintended consequences, especially in a family situation.
    If you're sharing the same ID for FaceTime, you might want to go to Settings>FaceTime, tap the ID, sign out, then sign in with separate IDs there too.  Otherwise, you'll end up getting each other's FaceTime calls.
    Also, if you need to migrate everyone's devices to separate iCloud accounts to keep your synced data separated, you can do this by saving any photo stream photos you wish to keep to your camera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow), then tapping Save to Camera Roll.  If you are syncing notes with iCloud, you'll need to open each of your notes and email them to yourself so you can later copy and paste the text into new notes created in your new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), choose Keep on My iDevice and provide the password to turn off Find My iPhone.  Then sign back in with a different Apple ID to create your new account and choose Merge to upload your data.  Once everyone's devices are on separate accounts, you can go to icloud.com and delete each other's data from your accounts.

  • Hello can someone help me I have an iphone 4 and my daughter has an ipod touch we are on the same email address but somehow with in the last 25hrs all of my contacts are gone and only hers on on my phone is there a way for me to get all my contacts back?

    Hello can someone help me I have an iphone 4 and my daughter has an ipod touch we are on the same email address but somehow with in the last 25hrs all of my contacts are gone and only hers on on my phone is there a way for me to get all my contacts back?

    If you need assistance with finding any of your restores or attempting to restore from any that happened prior to his incident follow this article
    http://support.apple.com/kb/ht1766
    IF you do find a backup that has your contacts; I'd /highly/ recommand turning off your wifi network after the restore is finished because if the issue is with your iCloud your contacts may merge back with her's.
    With iCloud you DO NOT want to share the account; bad things happen Evil evil thigns...
    But in all seriousness; if two devices have the same iCloud; iCloud is told to merge and sync infomation between hte two and can't tell that it doesn't belong to the same person

  • HT5622 My husband and I both have iPhones. We are currently using the same Apple ID. I have my own ID but when I send him a text message it comes back to me or goes to my computer. How do we separate the 2 ID's so we can send messages?

    My husband and I both have iPhones. We are currently using the same Apple ID. I have my own ID but when I send him a text message it comes back to me or goes to my computer. How do we separate the 2 ID's so we can send messages?

    You need to reconfigure your phone for use with your Apple ID. I suggest you restore yours as new then reconfigure it with your information and Apple ID. Be sure to disable Find My Phone, if it's enabled, before proceeding.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

Maybe you are looking for

  • Multiline container in workflow ?

    How Can I display multiline container element in the Send Email Task in workflow. I have one activity called Create PO in forground. I have to send the PO number and materials number to the responsible agent(I have agents) by Email. can I do it in wo

  • Password protected site

    I am working with iWeb 1.1.2 and have a password protected site. It was working fine, but I have now changed the user name and the password and I canʻt access it online any more! The user name has 7 letters with 1 being capitalized. The password has

  • PRE 9 - Photos - recommendation for pixel and resolution setting

    I would like to integrate photos in between video segments, as well as on the actual video.  Before bringing these photos into PRE 9, what should I resize the photos to (pixels and resolution). I will be using Premiere Elements to resize the photos. 

  • How do I get Forms Central pdf export to include header image?

    I made it work once, but I can't seem to make my exported form retain the jpg image i placed in the header. Any ideas? ~joel

  • Black line in display?

    I woke up this morning to find what i think to be a black little hair. Maybe about a cm long and is to the left of the dock. You can see it while in a lot of programs and with some backgrounds and also while booting up. I though it was just something