How can I enable/disable the transmission of a can frame? (filter etc...)

Hello,
I use the CAN
Transmit-periodic.vi in LV 8.5, I want to enable or disable the
transmission of a frame without stop the loop of my VI, does it exist
in the frame api a vi which could stop, or mask the transmission of a
frame?
It's important I don't want to stop my VI that
send my frame just filter a frame that I don't want send on my CAN
bus...(I would command it with a boolean for example).
Thank you.
Bye.

Hi there
I'm not familiar with NI-CAN, but take a look at
\vi.lib\Nican\nican.llb\ncAction.vi
Can be found in the CAN\Frame API\Advanced palette.
Start Transitions the CAN object from stopped (idle) state to started (running) state. If the CAN object is already started, this operation has no effect.
Stop Stops the CAN Object. For example, if the CAN Object is configured to transmit data frames periodically, this action stops the periodic transmissions. This action will also clear all entries from the read queue.
Best regards
chris
CL(A)Dly bending G-Force with LabVIEW
famous last words: "oh my god, it is full of stars!"

Similar Messages

  • How to enable/disable the input fields based on the data entered/user action in the web dynpro abap?

    How to enable/disable the input fields based on the data entered in the web dynpro application abap?  If the user enters data in one input field then only the next input field should be enabled else it should be in disabled state. Please guide.

    Hi,
    Try this code.
    First create a attribute with the name readonly of type wdy_boolean and bind it read_only property of input field of which is you want to enable or disable.
    Next go to Init method.
    Set the readonly value as 'X'.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
         DATA ls_context TYPE wd_this->element_context.
         DATA lv_visible TYPE wd_this->element_context-visible.
    *   get element via lead selection
         lo_el_context = wd_context->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_context IS INITIAL.
         ENDIF.
    *   @TODO fill attribute
    *   lv_visible = 1.
    *   set single attribute
         lo_el_context->set_attribute(
           name =  `READONLY`
           value = 'X').
    After that Go to the Action  ENTER.
    First read the input field ( first input field, which is value entered field) , next give a condition
    if input value is not initial  then set the readonly value is '  '.
    DATA lo_nd_input TYPE REF TO if_wd_context_node.
         DATA lo_el_input TYPE REF TO if_wd_context_element.
         DATA ls_input TYPE wd_this->element_input.
         DATA lv_vbeln TYPE wd_this->element_input-vbeln.
    *   navigate from <CONTEXT> to <INPUT> via lead selection
         lo_nd_input = wd_context->get_child_node( name = wd_this->wdctx_input ).
    *   @TODO handle non existant child
    *   IF lo_nd_input IS INITIAL.
    *   ENDIF.
    *   get element via lead selection
         lo_el_input = lo_nd_input->get_element( ).
    *   @TODO handle not set lead selection
         IF lo_el_input IS INITIAL.
         ENDIF.
    *   get single attribute
         lo_el_input->get_attribute(
           EXPORTING
             name =  `VBELN`
           IMPORTING
             value = lv_vbeln ).
    if lv_vbeln IS not INITIAL.
        DATA lo_el_context TYPE REF TO if_wd_context_element.
        DATA ls_context TYPE wd_this->element_context.
        DATA lv_visible TYPE wd_this->element_context-visible.
    *  get element via lead selection
        lo_el_context = wd_context->get_element( ).
    *  @TODO handle not set lead selection
        IF lo_el_context IS INITIAL.
        ENDIF.
    *  @TODO fill attribute
    *  lv_visible = 1.
    *  set single attribute
        lo_el_context->set_attribute(
          name =  `READONLY`
          value = ' ' ).

  • Enabling/disabling the 'display PDF in browser' via a script after Reader 9 is installed

    So we have Reader 9 already installed on the machine, but we need a simple way that a user can click on a shortcut in the start menu to reconfigure how the PDF is opened - either from within the browser or outside of the brower.
    In Reader 7, I was able to use this:
    msiexec.exe /i {AC76BA86-7AD7-1033-7B44-A71000000002} Remove=ReaderBrowserIntegration /norestart /qb-!
    msiexec.exe /i {AC76BA86-7AD7-1033-7B44-A71000000002} ADDLOCAL=ReaderBrowserIntegration /norestart /qb-!
    which works well after the fact that Reader 7 is installed on the machine.
    For Reader 9, things have changed, and have tried this:
    msiexec.exe /i AcroRead.msi /qn DISABLE_BROWSER_INTEGRATION=YES
    msiexec.exe /i AcroRead.msi /qn DISABLE_BROWSER_INTEGRATION=NO
    The above don't work, nor if I run a repair instead of an install.  I also tried to modify the HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\9.0\Originals\bBrowserIntegration then following in up with the appropriate msiexec command and that didn't work
    No, asking users to go to the options and enable/disable the setting isn't ideal unfortunately as it requires too many clicks
    Anybody have any suggestions on this?

    Try this forum:
    http://forums.adobe.com/community/acrobat/acrobat_enterprise_install

  • How do you Enable/Disable a user's ScreenSaver and set it's time

    How do you Enable/Disable a user's ScreenSaver and set it's "Start Screen Saver" time.
    I am writting an application in java which uses JNI and a screen saver to lock users out of the computer unless they enter the correct username and password.
    If they enter the correct password I need to Enable the ScreenSaver at a specific about of time (time can be changed remotely) so I can "log out" the user.
    I need to disable the screen saver after the screen saver runs so that it doesn't run while the java login program is running.
    I have this working already on Windows XP but can't find any way to program this on Mac OS X.
    Thank you for any help!

    http://forums.macosxhints.com/showthread.php?t=61525
    Disable
    defaults -currentHost write com.apple.screensaver idleTime 0
    Enable for 180 seconds
    defaults -currentHost write com.apple.screensaver idleTime 180

  • How to I completely disable the voice activated dialing ...

    How to I completely disable the voice activated dialing on my Blackberry?

    One thing you might try is going to System Preferences/Sound and changing the output from Internal Speakers to Line Out or Digital Out. Line Out would be for headphones. I assume it keeps this setting after a reboot but you should test it.
    Disabling the sound will also disable all warning sounds.  Those can be pretty useful.

  • How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

    How can I filter to find photos NOT pinned to a map? I have 28,000 phots with many mapped and many not. The Search function does not include GPS data. I haven't found  way to search metadata inside or out of Elements.

  • How can I filter alerts shown in the Server app?

    In the time I've been running OS X Mavericks Server, the only alert to come up in the Server app's Alerts pane is "Virus detected in inbound email". That's about as surprising as finding that water is wet, so I'd like not to see those alerts. I don't want to turn off the email filtering, I just want don't want to hear about this one kind of event.
    How can I filter the alerts in general or this one in particular?

    Hi ephraimephraim
    I dont know if you found a solutions, but I hit the same problem so here is what I worked out...
    Go to: Mac HD/Library/Server/Mail/Config/amavisd
    In there you will find a file called amavisd.conf
    Make a backup copy of this just incase! Now open the file using TextWrangler (its free from here http://www.barebones.com/products/textwrangler/download.html).
    Now scroll down to line 119 and it will look like this:
    #$virus_admin              = "[email protected]";  # notifications recip.
    #$spam_admin               = '[email protected]';
    #$spam_quarantine_to       = '[email protected]';
    #$banned_quarantine_to      = '[email protected]';
    #$virus_quarantine_to      = '[email protected]';
    What I waneted to do was stop the useless "Virus detected in inbound email" emails and just send a copy of the emails to one account that I could keep an eye on, so this is what I did.
    First deside on a alias to use, such as [email protected],
    Now you can insert that like this virus-admin\@$mydomain its relly is important to add the \@$mydomain this resolves up the top of the file so it should now look like this
    #$virus_admin              = "virus-admin\@$mydomain";  # notifications recip.
    #$spam_admin               = 'virus-admin\@$mydomain';
    #$spam_quarantine_to       = 'virus-admin\@$mydomain';
    #$banned_quarantine_to      = 'virus-admin\@$mydomain';
    #$virus_quarantine_to      = 'virus-admin\@$mydomain';
    now delete the # notifications recip. after the virus_admin to stop the Virus Notifications, then I deleted the # before the spam_quarantine_to, banned_quarantine_to, virus_quarantine_to  this "turns on" the line and then add # notifications recip. after them, so you should end up with
    #$virus_admin              = "virus-admin\@$mydomain";
    #$spam_admin               = "virus-admin\@$mydomain";
    $spam_quarantine_to       = "virus-admin\@$mydomain";  # notifications recip.
    $banned_quarantine_to      = "virus-admin\@$mydomain";  # notifications recip.
    $virus_quarantine_to      = "virus-admin\@$mydomain";  # notifications recip.
    Now just create a user on the server called virus-admin of add it as an alias using Workgroup Manger.
    Hope this helps

  • How can I filter based on the IPTC core information?

    How can I filter based on the IPTC core information? (CS6)

    "Substitution Variables" can do what you are asking for.

  • How do I temporarily disable the pop-up function?

    How do I temporarily disable the pop-up function on my Mac desktop?

    Do you mean "tooltips" ?
    Similar to this?
    http://www.macworld.com/article/55202/2007/02/termtooltips.html

  • How can i filter at the app store for an itouch 1st gen v 3.1.3 ?

    how can i filter at the app store for an itouch 1st gen v 3.1.3 ?

    vitofromoak park wrote:
    how can i filter at the app store for an itouch 1st gen v 3.1.3 ?
    Sorry, but I don't believe there is way that you can.  You'll just have to make sure to read the minmium requirements of any App you are about to purchase to ensure that it is compatible and will run on your iPod Touch running iOS v3.1.3.
    B-rock

  • How can I filter a table from Data Control without enter query

    I have a table from a web service data control based on WSDL.
    I want to filter the table without input query at filter text box. Without filter text box, each would filter the table with a hardcoded query internally.
    For example, when user click A menu button then it filters the table where type = '1' and B menu button filters the table by type='2' and C menu button filters the table by type=' ' .
    How can I filter the table without enter query?
    Could anyone point me to a solution please.
    Thanks.
    jdev 11.1.5
    Edited by: 893364 on Oct 26, 2011 12:15 PM
    Edited by: 893364 on Oct 26, 2011 12:21 PM

    Hi,
    when you created the table, did you try selecting the "filter" option. Select the table and go to the Property Inspctor. In the tool bar of the Property Inspector there is an icon to change the configuration. Its adding filter filter fields for the user to search in.
    Option 2: The data of the Web Service actually is held in the iterators. If you wanted to filter the WebService query, I would not use the WS DC but a JAX-WS proxy in a POJO to fetch the WS Data. Then have the Data Control created from the POJO. You could have a method exposed on the POJO that allows you to filter the internally held data
    Frank

  • How can I filter facebook widget feeds ?

    hello everybody
    I've started using social widget on my nokia C7, it's really nice. I want to set the widget to render updates from specific network / friend list  as I am a member in a lot of pages and have more than 400 friend. So whenever I connect to the internet I get flooded by a lot of unimportant updates and the important ones are lost in this crowd
    may someone tell me how can I filter updates ?
    Thanks

    Hi flegno,
    Depending on which version that Firefox is on, currently in the Simulator is looks like there is only a way to pin the apps that result in a searched category. Searching for people in contacts who have a particular app installed does not seem to be an option? However I cannot know for sure.
    Can you give another example on what you are looking for everything.me to do?

  • How can I filter or block foreign language emails or email addresses

    How can I filter or block foreign language emails or email addresses??
    TIA
    C

    Most email clients have a provision to create a 'rule'. The rule examines the email as it is received. In generally you can search for specifically senders, recipients,subjects, or specific content words in the body. Based upon the findings of the rule, you can do something with the email (such as end it directly to the Trash).
    For example if you know where all of valid you emails come from, you can create a rule that checks the from field for an acceptable sender and sends those email's that to the inbox, while sending all emails from other senders to the trash or spam folder
    Keeping out foreign language emails is often difficult because because often it is difficult to come up with a rule that will catch them on the basis of language they are written in.
    There are also commercial products that can scan incoming email and 'score' the email based upon content, and you decide at what 'score'  you want the mail sent straight to the trash or spam folder. Verizon's spam filter does this based upon Verizon's scoring system, and actually does catch a lot of spam. It also occaisonally catches things that are not spam however....
    Hope that is helpful

  • HT204380 How can I filter my 500+ email contacts to just those I can facetime chat with?

    How can I filter my 500+ email contacts to just those I can facetime chat with?

    You will need to remove it as your rescue email : log into your account via the 'manage your apple id' button on http://appleid.apple.com, select the 'Password And Security' section on your account's screen, and answer the two security questions that show - you should then be taken to another screen where you can change or remove your rescue email address.
    Then try logging out of your account and then log back in and see if you can then use it as your primary email address.

  • How can I filter thermocouple noise using a TC-2095 and SCXI-1102c?

    Hello all,
    I currently have four TC-2095s connected to SCXI-1102c cards inside a SCXI-1001 chassis. These thermocouples are floating and I have been getting a fair amount of noise (3-phase 400 Hz and even 60 Hz noise) when we power on some equipment such as blowers and fans. Using this current set up, how can I filter the noise? Or do would I need to set up a new hardware configuration (i.e. SCXI-1102 cards)?
    Solved!
    Go to Solution.

    Hi RALoo, 
    The 1102C has a lowpass filter with a cutoff at 10kHz, so you will not be able to filter in hardware with your current setup.  
    Your first option would be to use a software filter.  LabVIEW has several functions which accomplish this. More information on this can be found here: http://zone.ni.com/reference/en-XX/help/371361J-01/lvanls/filter_vis/
    The second option would be to change to SCXI 1102 cards as you suggested.  The lowpass filter of the 1102 has a selectable cutoff frequency at 2 Hz, which will stop the 400 and 60Hz noise from affecting your readings.
    Patrick W.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Add jar file to forms application standard java library

    Overall Problem I created a jar file using JDeveloper to be loaded as a bean in forms builder. But the jar file ended up being really large because I had to add some standard libraries that JDeveloper knew about but Forms didn't to this jar file, it

  • XSL namespace

    Hi, I want to add xmlns:xsi="http://www.sap.com" to a root element in XSL mapping.we can add the namepsacee directly in the element tag but i want to pass the xmlns:xsi and the URL in the xsl code for exmaple <root xmlns:xsi="http://www.sap.com"> <se

  • I get sound but no video with 5G iPOD

    Just bought my daughter a 5g iPod - she bought a number of vidoes through iTunes - the loaded OK onto the iPOod - when you go to play them - you hear the sound - but no video. Have done the 5Rs - no change - what it next? Thanks. Lou

  • Mini with PC keyboard: how well is work?

    Hi, If using a mini with a PC keyboard, is there any problems with the special keys? I mean, how do you know where is teh command key? and how will you find special keys like french accent or brackets and so on? Also, is it easy to use a PS/2 keyboar

  • HT4915 My iPod touch will not let me turn off automatic downloads and match is clogging up everything will downloads that I don't want. Help!

    After getting the match program my iPod is trying to download my entire library from the cloud. I have too much music and not enough space so it is constantly running trying to download and I haven't figured out a way to stop the downloads so that I