Need to know when CAN communication is off while using NI XNET 9862

Hi,
I am using NI cDAQ 9178 with one of the modules being NI XNET 9862 for CAN. In my application, I need to know exactly when CAN stopped sending frames/signals after the 'wake up' and 12 volts supply to the module were turned off. On the front panel of the VI, the indicators for CAN data freeze as soon as CAN is off. But when I log all the data acquired to a CSV file with timestamps, there is no way to tell. When the communication if off, the last value acquired for all the signals get 'latched' and that's what is logged in the file. Is there a way to get some sort of flag for this?
I have attached images of my CAN related VIs to give an idea about the application.
Any help is greatly appreciated.
Attachments:
Main VI.png ‏20 KB
Create XNET Session VI.png ‏28 KB
CAN Write VI.png ‏15 KB

I don't see any error handing in the Main.VI. Are you performing any error handling that might be able to provide information about communications or update failures?
Jeff L
National Instruments

Similar Messages

  • HT4157 my ipad 4 connects to LTE when I am at home, even though I have wifi. The LTE seems to connect first, bypassing my wifi, and it costs me money. i know i can turn it off on settings but then when i leave home and turn it back on i forget to turn it

    my ipad 4 connects to LTE when I am at home, even though I have wifi. LTE is faster so it connects first, which costs me money. I know I can turn LTE off on settings but then when I turn it back on when I go out I forget to turn it back off at home.

    My iPad will show a cellular connection even though it is using Wi-Fi as long as I have cellular turned on. Are you sure that your iPad is actually using the cellular instead of Wi-Fi?

  • How do you date and time stamp iCal entries?  We share an event calendar and need to know when a new event was entered into iCal.

    How do you date and time stamp iCal entries?  We share an event calendar and need to know when a new event was entered into iCal.

    BKBK,
    Thank you for your response. That does adequately cover the
    client-originated sessions, but still leaves the ability I am
    looking for unavailable.
    It did serve to definitively answer my most pressing
    question, however, with this statement:
    Note: ColdFusion cannot create a session if an initiator
    application uses a SendGatewayMessage method to start an
    interaction with a client, such as an SMS user. In this case, the
    sending code must keep track (for example, in a database) of the
    messages it sends and their destinations. When a response event
    arrives, it can look up the origniatorID to determine whether it
    was in response to an outgoing message.
    I will play around with the Application scope to see if there
    might be a workable solution there.
    RLS

  • I know you can't "turn off" tv but its getting hot in standby..

    Hi
    I know you can't "turn off" tv but its getting hot in standby, I havent used it all day, and the top is still really warm. I know this is the heat sink, but why is it getting so hot when in standby and doing nothing, for many hours?
    To turn off I realise will have to switch off at mains. Is this recommended? when should I do it? when not syncing and in standby?
    I'm a little worried by how hot it is, when never used for about 48 hours and in standby
    cheers

    ........ leaving it on 24/7 doesnt cost that mch though does it?
    All depends on how much your electricity costs, at 10 p/c per kilowatt/hour, your tv using around 18 W in stand-by will cost you about 30 1/4 p/c a week.
    If cost is a factor for you then consider switching it off overnight, don't however worry too much about the heat. It may appear to run hot because of its unusual heat dissipation, however if you were to place your hand on the heat sync surrounding your cpu on your mac/pc, you'd likely realise comparatively the tv isn't excessively warm. (The CPU's in my mac are currently running at 44-56 C for example)
    I don't particularly see much wrong in turning the unit off from time to time, (although I'm not sure I like the idea of not knowing if the HDD is writing at the time) assuming it isn't excessive. Excessive switching is not good for most devices since strain on mechanical parts and stress caused to electrical components due to large temperature variations can lead to early failure.

  • I need to know when to sell the new Ipad 3.

    I need to know when to sell the new Ipad 3 ?

    Are you asking when to sell your new iPad (you can sell your iPad whenever you want to), or when it will be sold in your country (which you haven't said where that is) ?

  • I Have two different accounts in my iPad; I need to Know how Can I Switch them ?

    I Have two different accounts in my iPad; I need to Know how Can I Switch them ?

    Go to Settings>Store>Apple ID - sign out of the account that you are currently using then tap sign in - and enter the information for the other account. You may want to restart the iPad before you sign into the other account.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • I need to know where can I write a complain. or a phone number to call

    I am having problems with the apple store I am going for training. I need to know where can I get an address or phone number to be able to complain or a solution. my reservations keep desappearing, changing (appointments - workshops schedule etc.) I bought a ONE TO ONE last year to be able to go two times a week for training. beacuse an illness I only went on July 2011 and then didn't go for training until Jan. 2012. I needed the very basics training (because i have problems with memory due to medication taken) that ment i need to take notes, and the expert trainer have to go slow. Well most of the trainers do not know how to tech an old person, don't know very well their subject. go too fast or don't tell you thinks or jumping from one thing to another or... don't have idea of what they are teaching. I have been going for one hour (traveling) to go to the store two and three times a week because their lack of or poor training techniques or ... and other issures like a bad actitude, been rude, etc etc...
    <Edited by Host>

    there should be classes for newbie and advanced (not in age) and I would think they would if there are enough, have classes aimed at elderly as well - many need to and love to keep in touch with far-flung family and friends through Skype, video, IM and other new social formats.
    I know my father went to classes for awhile when he got a laptop and the classes was one of the reasons he choose the store he did, and had it custom configured for him (the computer, not the adult class).
    For many, just getting someone to understand what RAM and storage and what virtual memory vs real is a stretch of imagination. And we see that here with some questions.
    Try explaining 3D to someone that lives on a mobius strip in a flat world.
    One idea:
    I would think there are YouTube courses to follow at home on your own and that can output from computer to a TV or view on a tablet (and iPod and tablets output to TVs just fine too).

  • Hi, i need to know how can i increase the dedicated video memory in my hp touchsmart 520-1030

    hi, i need to know how can i increase the dedicated video memory in my hp touchsmart 520-1030

    banhien wrote:
    Dedicated memory ? Buy a new card.
    Except that's not an option in the Touchsmart Desktops for users after purchase,
    Banhien, please pay attention and don't just guess.

  • Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    Please help...I was downloading my pics from the SD card. I then I highlighted 5 pics and selected erase, once I selected erase 20 other pics was also erase. I need to know how can those erase pics be recovered? Please Help!

    You will need data recovery software. See this post:
                                                                                       Re: I accidentally lost 3 weeks of photos, how do I recover them?                                            
    And please send feedback to Apple: This is a bug. Only the imported photos should have been deleted, not all photos on the card. You can use this form: Apple - iPhoto - Feedback

  • HT4489 please i need to know how can i import my contacts from the pc saved as vcard i tried to import but it gives me an error

    please i need to know how can i import my contacts from the pc saved as vcard? i tried to import a vcard contact but it gives me an error

    Time Machine is a back up you have to set up to back up before there is a problem like a hard drive failure.
    It is possible to recover files from a failed drive, but it is an expensive proposition.
    There is a faint hope that an app like Disk Warrior or TechTool Pro might repair the drive. You could try making an appointment at an Apple store and ask a technician there to take a look... the diagnosis will not cost you.
    http://www.apple.com/retail/geniusbar/

  • TS2446 i need to know how can i unlock my iPhone ?

    i need to know how can i unlock my iPhone ?

    Please see your duplicate post for answer already provided.

  • I just want to know when can i buy my iphone 5 in china mainland......why china always been ignored...

    i just want to know when can i buy my iphone 5 in china mainland......why china always been ignored...

    Ask your government and the wireless providers what is the holdup.
    Apple is ready to sell but has not yet gotten approval.

  • Hello, when I turn up my macbook it start lagging  a lot and also when it is turning off while I use it it works perfectly

    Hello, when I turn up my macbook it start lagging  a lot and also when it is turning off while I use it it works perfectly anyone help

    Not enough free storage space can slow your Mac down. Click your Apple menu icon top left in your screen. From the drop down menu click About This Mac > More Info > Storage. Make sure there's at least 15% free disk space.
    Anti virus software, as well as third party Mac cleaning utilities such as MacKeeper  and CleanMyMac can also slow your Mac down.
    Check to see if the startup disk needs repairing.
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If DU reports errors, restart your Mac while holding down the Command + R keys. From there you should be able to access the built in utilities in OS X Recovery to repair the startup disk.
    Make sure to back up all important data first before using OS X Recovery.

  • HT3529 When i send a text while using imessage to another iphone user why does my email show up on their phone instead of my number ??????

    When i send a text while using imessage to another iphone user why does my email show up on their phone instead of my number ?????? Can somebody please help me !

        cfm007,
    Welcome to our family. We want you to be able to enjoy all the services we provide and we definitely need to address this. Do you receive/make calls without problems? Are you able to receive messages with your contacts' number? Are you using iMessages? If so, go to Settings>Messages>Send&Receive>only your phone number should be enabled.
    AdaS_VZW
    Follow us on Twitter at @VZWSupport 

  • HT201412 my ipad3 does not turn on after it went off while using it, anyone with same experience and have it resolve already?

    my Ipad 3 will not turn-on after it went off while using it, anyone with the same experience and have it resolve?

    Is the battery charged?
    Frozen or unresponsive iPad
    Resolve these most common issues:
        •    Display remains black or blank
        •    Touch screen not responding
        •    Application unexpectedly closes or freezes
    http://www.apple.com/support/ipad/assistant/ipad/
    iPad Frozen? How to Force Quit an App, Reset or Restart Your iPad
    http://ipadacademy.com/2010/11/ipad-frozen-how-to-force-quit-an-app-reset-or-res tart-your-ipad
    What to Do When Your iPad Won't Turn On
    http://ipad.about.com/od/iPad_Troubleshooting/ss/What-To-Do-When-Your-Ipad-Wo-No t-Turn-On.htm
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/TS3281
    iPad: Basic troubleshooting
    http://support.apple.com/kb/TS3274
     Cheers, Tom

Maybe you are looking for