How do I configure CAN objects (extended arbitration ID) to read and read trame ?

I follow the instruction in the manual
but my network analyser display "Error Frame" when I write any frame !!!
this is a basic question but i need help !! thank you

I am sorry for the vaugue description.
I am beginner with NI-CAN !!
here is the test code (without extended arbitration ID) with Visual C++ and NI-CAN 2.0:
NCTYPE_CAN_FRAME Transmit;
NCTYPE_STATUS Status;
NCTYPE_ATTRID AttrIdList[8];
NCTYPE_UINT32 AttrValueList[8];
char ObjName[] = "CAN0";
AttrIdList[0] = NC_ATTR_BAUD_RATE;
AttrValueList[0] = NC_BAUD_125K;
AttrIdList[1] = NC_ATTR_START_ON_OPEN;
AttrValueList[1] = NC_TRUE;
AttrIdList[2] = NC_ATTR_READ_Q_LEN;
AttrValueList[2] = 10;
AttrIdList[3] = NC_ATTR_WRITE_Q_LEN;
AttrValueList[3] = 10;
AttrIdList[4] = NC_ATTR_CAN_
COMP_STD;
AttrValueList[4] = 0;
AttrIdList[5] = NC_ATTR_CAN_MASK_STD;
AttrValueList[5] = NC_CAN_MASK_STD_DONTCARE;
AttrIdList[6] = NC_ATTR_CAN_COMP_XTD;
AttrValueList[6] = 0;
AttrIdList[7] = NC_ATTR_CAN_MASK_XTD;
AttrValueList[7] = NC_CAN_MASK_XTD_DONTCARE;
Status = ncReset("CAN0",0);
Status=ncConfig (ObjName,8,AttrIdList,AttrValueList);
Status = ncOpenObject(ObjName, &NetIntfObjh);
Transmit.ArbitrationId = 0x05;
Transmit.IsRemote=NC_FALSE;
Transmit.DataLength=8;
Transmit.Data[0] = 0x00;
Transmit.Data[1] = 0x01;
Transmit.Data[2] = 0x02;
Transmit.Data[3] = 0x03;
Transmit.Data[4] = 0x04;
Transmit.Data[5] = 0x05;
Transmit.Data[6] = 0x06;
Transmit.Data[7] = 0x07;
Status= ncWrite(NetIntfObjh, sizeof(Transmit), &Transmit);
Status = ncCloseObject(NetIntfObjh);
thank you for your help

Similar Messages

  • How do I configure itunes to look for my Outlook contacts and calendar?

    Being fairly new with the iPhone, how do I configure itunes to look for my Outlook contacts and calendar?  At the moment,when I try to sync, I get the "No supported calendar application can be found" message.  Thanks!

    You could try uninstalling iTunes and all of its components as by following this guide: http://support.apple.com/kb/HT1923, then reinstalling iTunes.  This will replace a potentially corrupt Outlook plugin.  You must follow this guide exactly or it will not be successful.  Note: uninstalling iTunes will only remove the application; it will not touch your iTunes library or data.

  • How do I move an object from one photo to another and then change the scene, i.e.  winter to sum?

    How do I move an object from one photo to another and then change the scene, i.e.  winter to summer?

    OK.
    Open the picture with the new scene. This will be your canvas.
    Open the picture with object A, select it with one of the selection tools, go to Edit>copy
    Go back to the new scene/canvas, Go to Edit>paste
    Repeat for object B
    Use the move tool to position A & B, each on its own layer. Use the corner handles of the bounding box to resize, if necessary
    You should have 3 layers: Background layer, and the 2 layers with A & B
    Note: It's best if the resolution of the 3 picture files is the same value.

  • Can I extend both a 2.4Ghz and a 5Ghz wireless network at the same time with a second Timecapsule / Extreme ?

    Can I extend both a 2.4Ghz and a 5Ghz wireless network coming from a Timecapsule  with a second Timecapsule / Extreme at the same time?

    I am currently extending my 5Ghz network via an Express without any problems, but the Express can only extend either / or. I just want full coverage for both networks in the whole house.
    If you can extend 5 GHz now with an AirPort Express and get satisfactory results, then the AirPort Extreme will work to extend both the 2.4 GHz and 5 GHz bands in the same location.
    However, your computer is going to connect to the band with the strongest signal, so it may....or may not....connect to 5 GHz given a choice of two signals.

  • How to get Configuration (internal object number) during MM01

    Hello Masters,
    Does anyone know how to get the value of Configuration (internal object number) during MM01 so I can use the function VC_I_GET_CONFIGURATION to get the configurable variant values. I tried to check the MM01 exit EXIT_SAPLCUKO_001 include ZXCUCU02 and it' there but I need to know how to get it so I can use it because in other exits it's not included in the local variable.
    Thanks,
    Alfred

    pl. share the answer with us. U can copy and paste that answer.......so that, some one get the solution, who r hving the same issue.
    thanq

  • How to pass arraylist of object from action class to jsp and display in jsp

    I need to do the following using struts
    I have input jsp, action class and action form associated to that. In the action class I will generate the sql based on the input from jsp page/action form, create a result set. The result set is stored as java objects in a ArrayList object.
    Now I need to pass the arraylist object to another jsp to display. Can I put the ArrayList object in the request object and pass to the success page defined for the action? If this approach is not apprpriate, please let me know correct approach.
    if this method is okay, how can I access the objects from arraylist in jsp and display their property in jsp. This java object is a java bean ( getter and setter methods on it).
    ( need jsp code)
    Can I do like this:
    <% ArrayList objList = (ArrayList)request.getattribute("lookupdata"): %> in jsp
    (***I have done request.setattribute("lookupdata", arraylistobj); in action class. ***)
    Assuming the java object has two properties, can I do the following
    <% for (iint i=0. i<objList.size;I++){ %>
    <td> what should i do here to get the first property of the object </td>
    <td> what should i do here to get the first property of the object </td>
    <% }
    %>
    if this approach is not proper, how can I pass the list of objects and parse in jsp?
    I am not sure what will be the name of the object. I can find out how many are there but i am not sure I can find out the name
    thanks a lot

    Double post:
    http://forum.java.sun.com/thread.jspa?threadID=5233144&tstart=0

  • How do I configure my application to provide access for mobile and web brow

    Hi everyone.
    I have one application and I need to provide access for mobiles and desktop browsers, and I don't know how do I configure my application to do this.
    Let me explain:
    In my jDeveloper I have One application and 3 projects:
    -Mobile (here is my mobile application)
    -Model (here is my model)
    -ViewController (here is my Web Browser application)
    In Mobile I have
    JavaEE Web Application name: mobile-Mobile-webapp
    JavaEE Web Context Root: mobile
    ViewController I have
    JavaEE Web Application name: mobile-ViewController-webapp
    JavaEE Web Context Root: myapplication
    When I run some page of ViewController I have this URL "http://localhost:7101/myapplication/index.jspx".
    When I run some page of ViewController I have this URL "http://localhost:7101/mobile/index.jspx".
    My problem is that, I want to have Just one landing URL like that "http://localhost:7101/myapplication/index.jspx" and when I get this URL by Desktop Browser my ViewController is showed, and when i get by Mobile the Mobile project is showed.
    Someone knows how do it?
    Thanks....

    Yes, I can, thanks for response.
    But, don't have some configuration in Oracle for this? I've been thinking do this with java or JavaScript, but I was looking something more beautiful for this.
    Java or JavaScript is the only way?

  • Can you "Extend Features in Adobe Reader" via Distiller Server 8?

    We use Distiller Server 8 to generate upwards of 500 PDF files (soft proofs of ads) each day. We would like the recipients of these files to be able to attach comments and markup the PDFs as a way of providing corrections back to us. The vast majority of these recipients use Adobe Reader, which means we have to "Extend Features in Adobe Reader" in order for the recipients to be able to do this. Is there any way to enable this feature using Distiller Server 8? If so, how?
    Thanks.

    Header 1
    Header 2
    As to whether I'm aware of any App's, Other than Adobe at the current time I think that You are as I am Stuck using the Old Manual method. Trying to adapt Extend Features within Adobe proper.I'm also not sure if I'm the only One having a terrible time posting Via Adobe's Link. Tom

  • I'm new to Apple's Mail program (I've used AOL for years). How do I configure Mail so once an email is read it automatically disappears from the list of emails? Conversely, how do I mark "keep as new" an email I've read but I want to remain on the screen?

    I'm new to Apple’s Mail program (I’ve used AOL for years). Howdo I configure Mail so once an email is read it automatically disappears fromthe list of emails? Conversely, how do I mark "keep as new" an email I'veread but I want to remain on the screen?

    Right click on the email  in the left hand pane.  Select Mark as Unread to return it to an unread state.  Click Delete to move it to the trash or file it in a folder if you have any configured.  You may need to click the show button on the upper left hand side of the window to see your folders.  The + sign at the bottom of that pane allows you to add a new folder.

  • How come right click can't work in IE 7.0 AND IE 8.0

    I published CP project with right click to a folder, then I uploaded it to the web server, in IE 6.0, it works OK, right click does function correctly. However, when I tested it in IE 7 AND IE 8, right click doesn't work at all. I also tried right click in FireFox browser, it works quite OK. How come that right click funtionality can't work well in IE 7 AND IE 8? Could it have anything to do with the security setting in IE 7 and IE 8? If so, how should I change the security setting?
    PS: for both IE and firefox, I installed flash player 10.

    I assume you're using C4?
    The folder containing your published files has to be a "trusted" Flash site.  It's an absolute pain!  Here's where you set this up:  http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.htm l
    Hope this helps.
    P.S.  By default, the My Adobe Captivate Projectgs folder, buried in your My Documents sub-sub-sub folders is a trusted site.

  • Can anyone tell me how an ALE configuration can be set on one client only?

    I am trying to create a scenario which requires to configure one client

    Hi,
    Please follow these steps:
    For File to IDOC,
    in R/3
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using we21
    4.create partner profile using we20
    in xi
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using IDX!
    for IDOC to FIle
    R/3 side
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using we21
    4.create partner profile using we20
    5.distribute busynessmodel using bd64
    1.create rfc connection using sm59
    2.create Logical sys using bd54
    3.create port using IDX!
    4.create partner profile using we20
    Also refer these links:
    ALE configuration for pushing idocs from SAP to XI
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    IDOC testing using WE19
    /people/sameer.shadab/blog/2005/07/25/reposting-idocs-instead-of-recreating--for-testing-purpose-xi
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d19fe210-0d01-0010-4094-a6fba344e098
    regards,
    Nithiyanandam

  • How do I configure an Airport Extreme base station to receive and distribute a wi-fi network from a broadband wireless router?

    I have recenly upgraded my broadband service and now have a wireless router. My old network configuration was a router connected by ethernet cable to an Airport Extreme base station which then broadcast my wireless network (I also had an Airport Express base staion set up as a wi-fi booster elswhere in the house).
    I now have two networks (my original network and the new network from the wireless router) and wish to amalgamate these into one.
    Ideally I wish to use the Airport Extreme base station as the "remote" booster (I have purchased Powerline adapters for this purpose) but don't know how to configure the Airport Extreme base station in order to to this.
    Can you advise on the best set up for this please?
    My Mac is running OS X 10.8.2 and the Aiport untility is version 6.1.
    Thanks in anticipation.

    The AirPort Extreme should be configured to "create a wireless network" with the same WiFi network name, security type (usually WPA2 Personal) and password as your existing router. It should be configured as connection type Ethernet and be in bridge mode.

  • Can I extend an O2 router network AND stream to an Airport Express?

    I'd like to put an AE upstairs so I can use AirPlay from my Mac to both the downstairs AppleTV and the upstairs Airport Express at the same time.
    Also, I'd like the Airport Express to act as a Wi-Fi Network extender for the O2 router that's downstairs.
    Is this configuration possible?

    I'd like to put an AE upstairs so I can use AirPlay from my Mac to both the downstairs AppleTV and the upstairs Airport Express at the same time.
    The AirPort Express will work for this if it can receive a good quality wireless signal where it will be located.
    Also, I'd like the Airport Express to act as a Wi-Fi Network extender for the O2 router that's downstairs.
    The "extend" feature appears to be a proprietary function with Apple products. It is extremely unlikely that it will work with the O2 router. As far as we know, this feature only works among Apple products.

  • How to? - Logic can now import multichannel interleaved audio files and convert them to individual mono files

    This was listed as a new feature in the 10.1 Logic Pro X update but how do you do it? I don't see it in any documentation.
    Thanks

    I haven't had time yet to investigate most of the new functions.. so no, not at this time...
    have you tried just digging around yourself and see what you can find?
    Otherwise,
    Maybe Edgar knows?
    or..
    if you post up a link here to a MCI Audio file.. Ill play around a little.....

  • How do I configure Firefox to open multiple pages on startup and not set my homepage to open mutliple tabs?

    So I know how to set my homepage to open multiple tabs, however it has the undesired effect of making it so those tabs are opened every time I hit the homepage button. Is there a way to set Firefox to open multiple pages on start-up, while not actually setting the homepage to open multiple tabs?

    You can edit a copy of the Firefox desktop shortcut and add the links to the target field to make Firefox open those pages when you use this shortcut.
    See:
    *https://developer.mozilla.org/Command_Line_Options
    If you run out of space (i.e. exceed the maximum length) then use a CMD file with the start command.
    *start "" "<path_to_firefox\firefox.exe>" URL1 URL2
    *https://technet.microsoft.com/en-us/library/bb491005.aspx

Maybe you are looking for

  • Which type of installation?

    Hi, I have a couple of questions. I have just purchased the discounted Snow Leopard upgrade (as I purchased a qualifying mac in June and was able to upgrade for £7.95). Is a clean install available from this disc or does it have to be upgraded? Also,

  • How to deal with payment of vendor to us (credit notes I guess)

    Normally I use F07 for outgoing payments, it's linked to vendors, but how to deal with incoming payments of vendors? We got paid two invoices(credit notes I guess) and I want to put them under the right vendor, but how do I do it? I can't use F07 I t

  • Flash Thumbnails in Bridge

    Will Bridge CS3 now show .fla and .swf thumbnails?

  • Radius authentication with ISE - wrong IP address

    Hello, We are using ISE for radius authentication.  I have setup a new Cisco switch stack at one of our locations and setup the network device in ISE.  Unfortunately, when trying to authenticate, the ISE logs show a failure of "Could not locate Netwo

  • How to change the font size of the string by using java?

    I wish to change the font size of the text, read from a text file by using java. Please send me the sample codes. By using ActiveX component for word we can do it. Please give me any other solution to suit the platform independ. Thanks in advance. th