Accessing bits of the data bytes and enable and disabling

Hello i want to send data byte to the CAN and enable and disable one of its bits how to do?

Hey Uday,
I am unsure of what CAN device you are using, as well as what type of programming language you would like to develop in. With that being said I will assume one of our PCI CAN cards and that you will be using LabVIEW to program. Please take a look at the NI-CAN manual for help on programming your CAN card, specifically with reference to chapter 7.
Thanks again and have a great day!
Regards,
Nicholas K
National Instruments
Applications Engineer

Similar Messages

  • To save the data rs232 into binary and to post them on a graph

    Hello I finish this year a project of electronic to present in front of jury. I would like to show the assets of the Labview software by carrying out the interface of my project under this program. I have to work before with this software and an auxiliary chart to make regulation speed engine and regulation of heating. This time I would need to use the serial port .I have a serial port connected to a  CPLD+mémory SRAM. This assembly will send data by serial port . The PC must take delivery of the data in binary format and separate each one of the bit ====>first I recept the first word of 8 bits; the first bit is posted on a line the second bit on one second line etc.... (thus 8lignes) and when I recept the following word of 8 bit I carry out the same thing. In the final analysis I must find 8 lines posting a value 0 or 1 as on a logical analyzer. I hope that you will be able to help me. Thank you and sorry for my bad english.

    Hi
    If I translate your question into my (also foreign) english I would say that you receive bytes from the serial line in the form of characters
    and that each bit is representing the state of a digital line.
    So you need to read characters from the serial line 1 at a time, convert this into a byte and this one into 8 bits and display it.
    Try to find all these steps and the forum will help you to add them together.
    succes
    greetings from the Netherlands

  • My performance is very slow when I run graphs. How do I increase the speed at which I can do other things while the data is being updated and displayed on the graphs?

    I am doing an an aquisition and displaying the data on graphs. When I run the program it is slow. I think because I have the number of scans to read associated with my scan rate. It takes the number of seconds I want to display on the chart times the scan rate and feeds that into the number of samples to read at a time from the AI read. The problem is that it stalls until the data points are aquired and displayed so I cannot click or change values on the front panel until the updates occur on the graph. What can I do to be able to help this?

    On Fri, 15 Aug 2003 11:55:03 -0500 (CDT), HAL wrote:
    >My performance is very slow when I run graphs. How do I increase the
    >speed at which I can do other things while the data is being updated
    >and displayed on the graphs?
    >
    >I am doing an an aquisition and displaying the data on graphs. When I
    >run the program it is slow. I think because I have the number of
    >scans to read associated with my scan rate. It takes the number of
    >seconds I want to display on the chart times the scan rate and feeds
    >that into the number of samples to read at a time from the AI read.
    >The problem is that it stalls until the data points are aquired and
    >displayed so I cannot click or change values on the front panel until
    >the updates occur on the graph. What can I do to be a
    ble to help
    >this?
    It may also be your graphics card. LabVIEW can max the CPU and you
    screen may not be refreshing very fast.
    --Ray
    "There are very few problems that cannot be solved by
    orders ending with 'or die.' " -Alistair J.R Young

  • How to read the data from Excel file and Store in XML file using java

    Hi All,
    I got a problem with Excel file.
    My problem is how to read the data from Excel file and Store in XML file using java excel api.
    For getting the data from Excel file what are all the steps i need to follow to get the correct result.
    Any body can send me the code (with java code ,Excel sheet) to this mail id : [email protected]
    Thanks & Regards,
    Sreenu,
    [email protected],
    india,

    If you want someone to do your work, please have the courtesy to provide payment.
    http://www.rentacoder.com

  • How can I download the data to Application Server and Network Drive

    Hi Experts
    I am having problem with download the data to Application Server and Network Drive in back ground. its working in foregorund but not in back ground.please suggest me . Thanks for advance.
    Thanks & Regards
    Raghava

    Hi Experts
    I am using like this
    P_Back is a check box on the selection-screen.
    it_fihrst_out-its internal table
    sy-batch -Program is running in the background
    IF sy-batch IS INITIAL.
        IF p_back = 'X'.
          OPEN DATASET file_01 FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
          IF sy-subrc = 0.
            LOOP AT it_fihrst_out.
              TRANSFER it_fihrst_out TO file_01.
            ENDLOOP.
          ENDIF.
          CLOSE DATASET file_01.
          CASE sy-subrc.
            WHEN 0.
              WRITE: / file_01, / 'successfully generated.'.
            WHEN OTHERS.
              WRITE: / file_01, 'Unexpected error occurred.'.
          ENDCASE.
        ELSE.
          CALL FUNCTION 'WS_DOWNLOAD'
            EXPORTING
              filename                = file_01
              filetype                = 'ASC'
            TABLES
              data_tab                = it_fihrst_out
            EXCEPTIONS
              file_open_error         = 1
              file_write_error        = 2
              invalid_filesize        = 3
              invalid_type            = 4
              no_batch                = 5
              unknown_error           = 6
              invalid_table_width     = 7
              gui_refuse_filetransfer = 8
              customer_error          = 9
              OTHERS                  = 10.
          CASE sy-subrc.
            WHEN 0.
              WRITE: / file_01, / 'successfully generated.'.
            WHEN 2.
              WRITE: / file_01, 'Output Error: File still open'.
            WHEN OTHERS.
              WRITE: / file_01, 'Unexpected error occurred.'.
          ENDCASE.
        ENDIF.
      ELSE.
        LOOP AT it_fihrst_out.
          WRITE:/ it_fihrst_out.
        ENDLOOP.
      ENDIF.
    This is the code .

  • Everytime I try to update my iPhone 4s I am told that the data downloaded was corrupted and I should try again later. What to do?

    I keep being told that the data has been corrupted and that I need to try again. It is rather annoying!

    How do you do that? please tell me as i am having the exact same problem.

  • What are the data elements of 0material and 0customer

    Hi,
    What are the data elements of 0material and 0customer??
    Thanks

    Hi.......
    Dataelement for 0MATERIAL is MATNR
    Dataelement for 0CUSTOMER is KUND1
    Check these links :
    http://help.sap.com/saphelp_nw04/helpdata/en/df/3ff438520e6a71e10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0a/802e1c120511d4973900a0c930e0da/frameset.htm
    Hope this helps you......
    Regards,
    Debjani......

  • Reconcile the data in sap bw and sap r/3

    Hi Experts,
    How to reconcile the data in SAP BW and SAP R/3?
    Thanks,
    Sathya

    Pl read this:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14
    Ravi Thothadri

  • I am using IOS 5 on iPad2. I am wondering why couldn't I edit the data in my contacts and calendar data?

    I am using IOS 5 on iPad2. I am wondering why couldn't I edit the data in my contacts and calendar data?

    Movies are not stored in your iCloud account unless you add them in the theater feature of iMovie version 10.

  • Taking the data from interactive forms and load the data into SAP system?

    hi all,
    I want to know how to take the data from interactive forms and load the data into sap system?
    if u have any sample scenario, explain with that.
    thanks in advance
    Raja

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • Pull the data from Azure sql and load into the on premises data base

    Hi friends,
    I have small requirement here, I have to pull the data from Azure sql and load it to the on premises data base.
    I am using Azure sync process to do that, but it will take so much time to do that..
    I know that azure have some limitations, is there any other way to do this..
    Please help me on this...

    Hello,
    Check the program...
    SAPBC480_DEMO.
    Check the below threads
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/88e7ea34-0501-0010-95b0-ed14cfbeb85a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bfbcd790-0201-0010-679d-e36a3c6b89fa
    Thanks
    Seshu

  • I have lost my iphone4 and i guess the theft have already clear up the data include my mails and so on. what can i do? i use the iphone only 2months and i dont have any icloud or mobileme acc. how apple can help me?

    i have lost my iphone4 and i guess the theft have already clear up the data include my mails and so on. what can i do? i use the iphone only 2months and i dont have any icloud or mobileme acc. how apple can help me?

    Apple can't/won't help you:
    Reporting a lost or stolen Apple product - http://support.apple.com/kb/ht2526 - "... Apple does not have a process to track or flag lost or stolen product..."
    Texas Mac Man links on lost/stolen i-devices - https://discussions.apple.com/message/18781718
    Contact the police about the theft.  Change passwords on any accounts used with the device.  Contact the carrier about discontinuing service and possibly blocking future contracts with the phone.  Shop for a new phone.

  • Want to keep the data on one node and allow remote nodes to read it?

    by default, we have a distributed cache with backupcount=1 and data is kept over all the members in equal parts
    is there a way to do set it another way: i need only one 'main' node to put entries into the cache and keep them locally, while remote nodes can only read entries? the reason for that - i want to update the entries on the main node quite frequently (do not them travel anywhere over the network) - while remote read operations are infrequent. Also, Iwant the whole dataset survive the shutdown of any secondary node. In other words, I need 'all eggs in one backet' with remote read access.

    Andrey -
    Provided the 'remote/secondary' nodes are within the local area network, you could use a dedicated distributed cache service; storage enabled
    on the 'main' node and storage disabled on the 'secondary' nodes. Access from outside the LAN will require configuring a proxy service on the
    'main' node and 'secondary' node access over Coherence*Extend.
    /Mark

  • Latest Firefox FlashPlayer Plugin (14_0_0_179) software exception 0xc0000710 on Windows 7 32-bit when Windows Speech Recognition is enabled and running.

    Hi,
    Please note that I am reporting a problem happened on a different computer than the one that I am now using to submit this report.
    Computer: Dell Optiplex 980
    OS: Windows 7 Pro (with all the Windows Updates installed as of Aug 21, 2014)
    Browser: Mozilla Firefox 31.0 (most current version as of Aug 21, 2014)
    Adobe Flash Player Plugin (for Win7 32-bit, Firefox): the latest FlashPlayerPlugin_14_0_0_179.exe
    If I enabled the Win7 Speech Recognition feature, the Firefox FlashPlayer Plugin would generate an Application Error (software exception 0xc0000710) when the FlashPlayer Plugin is *first launch* in a Firefox session.
    Subsequent launching of the Flash Player plugin in the same Firefox session would *NOT* trigger the same software exception error again - until another Firefox window is launched.
    After the software exception error dialog was dismissed (via the OK button in the dialog), the plugin would go on running without any further problem and the flash video/audio would play correctly.

    Please try a clean Flash plugin install: [http://helpx.adobe.com/flash-player/kb/clean-install-flash-player.html] this error was seen last in version 11.8. Please also make sure that your video drivers are up to date: [https://forums.adobe.com/thread/945765] and [[Upgrade your graphics drivers to use hardware acceleration and WebGL]]

  • Linksys SRW224G4 data switch port enable and disable

    Hi,
    I have a SRW224G4 data switch and was wondering if anyone could tell me what the URL string would be that I can put into a script to disable and enable a port.
    I am guessing it would be something like:
    http://192.168.1.1/admin.html/setport?portnumber=1​&portstatus=disable&submit=yes
    to disable or:
    http://192.168.1.1/admin.html/setport?portnumber=1​&portstatus=enable&submit=yes
    to enable it.
    I am trying to run a webpage that will run the command from a remote server that is not a pc as if I was logged onto the switch and clicking pages, selecting options, and save buttons automatically.
    The reason is a bit complicated to explain why I need to do this but if you really need to know I will try to explain but expect a ten page essay!!! LOL!!!
    Thanks in advance for your help

    It's not unrecoverable. It just looks like the existing image didn't take and the boot process wants you to load a new one over the serial link. You're using HyperTerminal, so you already have what's necessary to load the image.
    As soon as the switch indicates that it's downloading code using XMODEM, select the file transfer option in the HyperTerminal menu and upload the "SRW2xxG4_FW_1.2.3.0.ros" file using XMODEM. It will take awhile, but should recover the switch.
    Also, make absolutely sure that you're using an SRW224G4 revision 1.1. If you upload the firmware from the 1.0 firmware, this sort of thing will happen.
    If you happen to have a revision 1.0 switch, you can still recover it via XMODEM, but use the "fesm-12216.ros" firmware instead.

Maybe you are looking for