LV: Sending "sync message" for getting synchronous CAN acquistion

Hello @ all
First of all: My knowledge about the CAN bus in general is not so good, so excuse a possible unprecise problem description.
My task is to read out CAN messages of devices. This works fine for devices that send their messages "stand-alone" with a fixed repetition rate (here: 100Hz).
But other devices do not send their messages with such a repetition rate. They send their message only until they come in an overflow (here: after 150ms). I´ve heard that I have to send a "sync message" to the devices to get their message. That means, that I have to send the sync message with 100 Hz to get the 100 Hz acquistion.
My question: How should I have to program such a bidirectional CAN transfer? Of course, I can send one sync message and read the answer. But what to do when I want to read for example 10000 messages? I don´t want to trigger it by software due to the timer accuracy.
Do I just have to start the "CAN read.vi" and the "CAN write.vi" parallel? Or is there any possibility to start the write.vi and the read.vi at a fixed time, to get both functions parallel?
Tanks so far.
Solved!
Go to Solution.

Hi LittleJoe198,
I'm glad you got it running. 
You are right about the Transmit  Receive same port example, timing is done in software using the wait function.
But the other example (CAN Transmit - periodic) sends the data periodically using hardware timing - specified by the control "Period (ms)". In this case a CAN object is used. Your card supports CAN Objects, so it is very easy to use hardware timing. Take a closer look at your CAN Hardware and Software Manual page 10-19 ff.
"Transmit Data by Call, Receive by Call Using Remote
Period specifies a minimum interval between subsequent
transmissions. Even if ncWriteObj.vi is called very frequently,
frames are transmitted on the network at a rate no more than
Period. "
 Let me know if you have further questions using CAN Objects.
Regards,
Andreas S
Systems Engineer

Similar Messages

  • How can I leave a group in iMessage. I delete the group, but whenever a member sends a message, I get all the messages again

    How can I leave a group in iMessage?
    I delete the group in iMessage because I don't want to receive any more messages.
    Nevertheless, whenever a member sends a message, I get all the messages again. I have only deleted the previos messages.
    In the users manual, they only tell how how to create a group, but not how to leave it.
    Thank you.

    Sorry you can't.

  • Mail sending 2 messages for every 1 sent ("sending 2 of 2 messages")

    hi... did a search, but it was a tough one to search for.
    an odd problem: mail says it's sending 2 messages for each message i send. for instance, i type a note to my mom (because i'm a good son) and hit send on the one email... the status bar at the bottom left of the panel says: "sending message: 2 of 2" or "outgoing messages: 2 of 2"...
    however, in checking the sent folder, only 1 message sent.
    it does not do this all of the time, but about 1 out of every 5 messages, it seems...
    i'm worried about malware, spyware, etc... would there be such a thing? why is mail acting weird?

    There are no viruses for Mac OS X, and no malware can be installed without you providing your Admin password, so you don't have that, either.
    This is normal behavior, because you have an IMAP email account. In order for everything to be in sync, the mail server and your Mac must communicate very frequently, and that includes whenever you send or receive email. The message may say one thing, but unless you see multiple, identical messages being sent or received, it's not happening. There's no such thing as invisible email.
    Mulder

  • When I enter a group name into the Bcc field and try to send the message, I get "[group name] is not a valid e-mail address..."

    Been using the same template to send a weekly newsletter for a year or two but now with a recent update to Thunderbird the group name is rejected when I try to send the message:
    With a group name in Bcc field, when I press "Send" and try to send the message, I get this alert: "[group name] is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail."

    This has been reported as [https://bugzilla.mozilla.org/show_bug.cgi?id=1060901 Bug #1060901]. If you have an account on Bugzilla, please consider voting for that issue.
    Several other people have sent in the same support request as you, noting this happened after they upgraded to version 31.1.
    The exact error message is: XXXX is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the e-mail.
    '''This happens in Thunderbird 31.1.0 when your mailing list description includes several words separated by spaces.'''
    Although not ideal, these workarounds should let you use your mailing lists until a proper fix is implemented:
    * While composing an email open the address book and select the list you are trying to send to, highlight all the names in the list and drag them to the To: box. This uses your existing data without modifying it.
    * Replacing the blanks " " between the words in such lists' descriptions with an underscore "_". This requires modifying your mailing list(s) description(s).
    * Downgrade to a previous version and disable automatic updates (Windows)

  • Exchange 2007 - The server don't send dsn message for external users

    Hello,
    Our exchange 2007doesn't send dsn message for external users but for internals it is ok, I check my configuration but all seems to be ok
    Have you any idea please?
    Thx

    Hi,
    To narrow down the cause, let's firstly try to check the following configuration:
    Get-TransportConfig |fl
    Get-RemoteDomain | select identity, NDREnabled
    Get-SystemMessage
    Thanks,
    Angela Shi
    TechNet Community Support

  • HT1766 I haveabout 7 App's that I Need to update. However, when trying tot do so,the message I get is 'Can't download the app' (in Dutch). The app, however, such as Pages, is no longer available. What can I do to complete the updating process and start us

    I haveabout 7 App's that I Need to update.
    However, when trying tot do so,the message I get is 'Can't download the app' (in Dutch).
    The App, however, such as Pages, is no longer opening and can't be used.
    What can I do to complete the updating process and start using the Apps again?

    Download iTunes using the tab at the top of this page. Then run the update with iTunes closed.

  • I am not able to install my 'Complete National Geographic' cd on my Mac mini which runs Lion OS. The error message I get says  'Can't open installer as classic environment is no longer supported' can some one suggest a solution

    I am not able to install my 'Complete National Geographic' cd on my Mac mini which runs Lion OS. The error message I get says  'Can't open installer as classic environment is no longer supported' can some one suggest a solution.

    It means the software is PowerPC code, which is no longer supported in Lion. Your choices are to go back to Snow Leopard, run Snow Leopard Server in a virtual machine within Lion, see if the vendor has an updated version of National Geographic that will run on an Intel Mac, or run the software on an older Mac separately.

  • My iPhone 4 I can not activate and when you try to give me a message for activation activation can not now try later

    my iPhone 4 I can not activate and when you try to give me a message for activation activation can not now try later

    What is the exact wording of the error message?
    Is there a sim in the iPhone?
    Has the iPhone been jailbroken or modified to work with
    other than the original wireless provider?
    Did you recently restore the iPhone or update the iOS version?
    What cellular provider in which country are you attempting to use
    the iPhone with?

  • Idea of sending a message for all connected users.

    Dears,,,
    I'm trying to develop through oracle forms an idea of sending a pop-up message to all connected users.
    Example, I need to inform users to quit in 5 minutes due to a restart to the application server.
    I thought about a timer trigger that will check every 5 seconds or 10 seconds a value somewhere in a table. But I don't want to use the timer triggers associated in oracle forms.
    Is there any idea ?
    Please let me know.
    Joe

    Use Iframe tag.
    For this:
    Add an “IFRAME” in the base html file used (for example basejpi.htm file)
    <NOEMBED>
    </COMMENT>
    </NOEMBED></EMBED>
    </OBJECT>
    <!-- Forms applet definition (end) -->
    %HTMLafterForm%
    <IFRAME SRC="/forms/java/iframe.html">
    </BODY>
    </HTML>
    Then create an html file named "iframe.html" with the following content :
    <HTML>
    <HEAD>
    <meta http-equiv="refresh" content="10">
    </HEAD>
    <BODY>
    <H1>Please disconnect, The system will go Down !!!!</H1>
    </BODY>
    </HTML>
    Every time you would like to send a message, just add it in the iframe.html file ans users will see it.
    The iframe size can be customized.

  • TS3276 when i try to send a message i get :try later

    when i try to send a message  using mail i get TRY LATER (i used yahoo and i have 2 accounts) something goes wrong when i set up smtp

    Mail Help - Yahoo!

  • I can send text messages within Australia but can not sent text messages internationally. Has anyone experienced similar problems?

    I can send text messages within Australia without difficulty but many of my international texts are not delivered. Has anyone had similiar problems.

    SMS text messages are handled by your cellular carrier.
    Check with them.

  • Every time I send a message, I get a message from myself

    I have a ITunes account that I share with a friend, and i don't know what happeNed but now every time I send a message I receive it on my phone

    Hi ThatBoyBraulio,
    If you are receiving messages that you send from your iPhone and have a non-standard configuration (such as a shared account), you may want to see how you have Messages configured for starting and receiving conversations, as outlined in the following article:
    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    Regards,
    - Brenden

  • HT1688 I have iPhone 4 and I have been having troubles sending picture messages for the past week now! I don't know what happened can someone help me

    I have an iPhone and for the pat week or so I can not sen any pic messages if any size to anyone. Idk what happened please help me

    MMS turned on? Settings>Messages>SMS/MMS>MMS Messaging>On. If MMS is turned on, can you send/receive SMS's? If so, contact your carrier. 99.9% of the time, if MMS is turned on & you can send/receive SMS's, the problem rests with your carrier. Either MMS is not provisioned properly on your account, or not provisioned at all.

  • When sync from my computer music or other i get no sync message  for fault 13019 stopping sync

    trying to sync music already stored on my computer I click on sync downloading starts my touch pod receives all ok but get message 13019 fault making sync impossible

    Have you tried the suggestions here:
    iTunes: Error 13019 during sync

  • Every time I delete an email I get a no sender no message email that I can't get rid of can you help

    Why do I have all these email messages that I cannot erase seems whenever I read an email and put it in the trash can I get another one

    Open Settings, tap Mail, Contacts, Calendars and then tap the email account, tap advanced, Delete from server.

Maybe you are looking for

  • Accordion widgets no longer working after most-recent update...

    All of the accordions on my website were functioning until I recently updated my Adobe Muse CC and re-uploaded the files to the FTP.  All of the tabs used to be closed by default, then when clicked they would expand and all the other tabs below the e

  • How do I set up my external drive to just back up certain apps?

    I am runnning Yosemite and wanted to know, how can I set up my external hard drive just to store certain apps i.e music and pictures?

  • How to Recover RPD in 10g Urgent

    Hi Gurus, I was using my OBIEE 10g RPD and i created some columns and i click on Check Global consistence it work does not have any errors. Then when i click on Save button the RPD is not responding. I dont have any backup of the Code and today is th

  • Problems FF 3.6.13

    I cannot NOW use IM Translator, it does not show on toolbar and all my buttons (quick click, ie facebook, news, etc) have disappeared, plus when I open New Tab, it does not give options of last window with closed?

  • Oracle use all my ram, why^

    os: Oracle enterprise linux oracle: 10.2.0.3 ram:16 gig Situation: I have 3 instances on my machine. They should take maximum 2 gig of ram all together. But my ram is all used up by oracle anyway. Anyone has an idea? SQL> select instance_name from v$