CAN frame API with two bus

Hello

I use a PXI-8461 to control 2 CAN bus lines.

When I run the bus monitor to the MAX, both work correctly (frames are coming).

But I lost a day now to try to make the two lines operate in my application.

I call ncConfigCANNet.vi and ncOpen first with CAN0, then with CAN1.  ncOpen with CAN0 gives me an objHandle, but when I ncOpen cann with CAN1 after that, I get objHandle = 0 but no error!

(I do not use error entries)

So in my application CAN0 is running, CAN1 finally returns an error when I try to read using the objHandle (s is 0).

I even tried to use the example of NEITHER "Multiples CAN Frame API maps unique DAQmx map Input.vi" with the same effect.

Is there a known issue with this subject?

I use

NI-CAN 2.7.2f2

LV 8.5.1

PXI8461 with CAN0 and CAN1 working with the MAX busmonitor

100g Ritter Sport chocolate / hour

Sorry, my fault.

I was able to solve the problem. My length of read - and write-queue was too big. I was using 100 for each queue. This works for a CAN interface, but not for 2. And, Yes, there is an error message... I lost this error somewhere in the error handling.

Something beautiful that I used for the first time here is the network debug function for the executable files. Really cool and useful.

Detective Conan!

Tags: NI Software

Similar Questions

  • How can I work with two icloud ID on the same pc?

    How can I work with two icloud ID on the same pc?

    Define "work".

    What exactly do you want to accomplish?

    You can use the iCloud Panel to connect to iCloud account and use a browser to go to icloud.com and sign in with another account.

  • Can I use with two-step verification account recovery?

    I was reading about how you can use regain access to your account with two-factor authentication.

    Regain access to your Apple ID with two factor authentication - Apple Support account recovery

    Given that two-factor authentication is not yet available for my account, I was looking for to put in place the two-step verification.

    Any type of account recovery is available for users of two-step verification?

    Or this option is available only for users of two-factor authentication?

    Want to add more security to my account, I would like firstly to determine what are the dining options.

    From my understanding, there is not a recovery option to account for users of two-step verification.

    If someone could confirm please would be great.

    "Recovery"?  What are exactly are you afraid to lose and need to recover?  Your password?  No, two-step verification can help.  The approach is quite different from two-factor authentication:

    Frequently asked questions about the audit in two steps for Apple ID - Apple Support

  • Problem with sending of master header with XNET API instead of CAN frame API

    Hi nice guys.

    I am using the XNET API to switch Master slave with LIN Protocol task. Since I have no prior experience, there is something problem as the Interface of the NI USB-8476 s cannot be detected. Gifts of windows prompted the following information:

    Error-1074384758 is produced in .vi:1 XNET create Session (single-point output Signal)

    Possible reasons:

    NOR-XNET: (Hex 0xBFF6308A) the name of the interface does not specify a valid and existing interface. Solution: Use a valid and existing interface. These can be obtained by using MAX, XNET properties of the system, or the name of LabVIEW XNET Interface IO. If you use CompactRIO, see the topic "Getting started with CompactRIO" in aid of software and hardware OR XNET.

    but in the MAX of NOR, the device is detected as "LIN0. Even control interface entry in the examples NOR displays the error. But if I take the CAN API of frame, it works well.

    Does anyone have an idea. I'm so appreciate. Tanks in advance.

    Best regards

    Melo

    Dummy me, know that the XNET API still do not support the NI USB-8476 s, which I am applying.

    Kind of hard to use the API NEITHER of MAY to get the feature I need, that seems easy to get with the XNET API.

    Problem solved!

  • Can DHCP server with two scopes - I have reservations in doubles in the two staves?

    Hi all

    Not really a guru of DHCP, so be nice :)

    Currently, we run a DHCP service from one of our domain controllers (win 2008R2). The domain controller is the segment of a network (10.10.120.0/24), the computers making DHCP requests are on a separate network (10.10.103.0/22). We use our ip-helper routers setting to say the devices on the network, how to reach the DHCP server. This has worked well for years.  I should also point out it is company policy for PCs/servers have a static IP, so for the PC, we create reservations for each PC. Servers are assigned static mmanually.

    The question is now we have overflowed into a new building and put in a black 1 GB fiber that connects the two buildings. The network in the new building is using a different network (10.10.104.0/24) address. Implementation of a 2nd scope on the DHCP server for this address range went well and once the ip-to support additional parameter has been done on the router the PCs in the new building could fine DHCP to the domain controller in the main building. Everything is good.

    The question is now, we are moving PC between the two buildings, I was wondering if it is ok to keep the existing reserves for the PC in one scope and have a duplicate for her in the new scope assign the new IP address. Of course, the PC cannot be in two places at once and the DHCP console doesn't; "t seem to complain about the same MAC address used in two staves, but I don't really know whether it is advisable or not. Basically, our operations staff become a little miffed at having to remove a single scope of reservations and recreate them in the 2nd scope when the PC to move between buildings.

    So the questions is safe / advisable to do it or not?

    Kind regards

    Craig

    Support is located in the Windows Server Forums:
    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer/

  • Message data CAN be read with more 64-bit

    Dear all,

    I work with CAN PCI card series 2 with Labview 8.2.1 measurement and automation 5.1.

    I do the measures since an ECU.

    This one (please see piture) comprises more than 64 bits for one ID.

    I cannot find how I can read these data using 'Channel API'. Is this possible?

    On MAX, I am not able creat CAN measure with more than 64-bit task...

    It is necessary to use only "frame APIs.

    Thanks for repply.

    Concerning

    NI-Channel CAN API is not able to deal with Multi part messages, so you must use the NI-CAN frame API to read the Multi part message and do the conversion to physical quantities on your own.

  • Using a remote control or the remote with two Apple TV app?

    1 can a remote AppleTV, is the most recent or a last generation we use with two different AppleTV (one is the most recent and is the older generation)?

    2. an iPhone Remote APP can be used with two different Apple TV?

    Thank you.

    1 not easily. There is no way to select the device to control, you end up control both. You could get a programmable remote control and lead to control different devices, but this would require a deception.

    2. no doubt. The Remote app offers a grid of all ATVS, he knows, and you choose the one to control. It has the advantage of a keyboard for searches, passwords, etc. Do you need a remote pair with each ATV.

  • Can someone help me with two questions regarding my PowerShot SX540HS?

    I'm generally pretty tech savy, but I'm having problems with two very basic functions on my PowerShot SX540HS.  I downloaded the complete operating manual and followed the instructions to the two questions, but I am unable to answer these questions after a lot of testing with the camera settings.

    1. is it possible to force the flash to the position, but keep any AUTO value? (I need an additional light on the African-American faces when shooting outdoors).  The manual States that there should be a setting IT for flash, but all I see is auto flash or disabled.  I don't see a setting IT allows me to force the flash fires.

    2. I need help with how to set up the camera to focus on how to features of landscapes in the background (such as a mountain range) instead of focus on something more about that appears in the frame, perhaps some leaves from a nearby tree.  When I tried testing the manual focus by following the instructions in the manual and set the focus to infinity, ISO camera settings went haywire and I got a completely overexposed photo.

    I'd appreciate any help.  I thank you very much.

    Your welcome!

    The brightness problem is your camera set to have the i-contrast on Auto? If this is not the case, try this to fix the bightness of images that you have taken or will take.

    You can of course put the ISO and shutter speed manually too in P mode for pictures where I contrast does not work well for you.

    P mode is basically the Auto mode, but it allows you to make changes where you want.

  • My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also backed u

    My computer with two hard drives and 2 starting systems has the car crash in the solid state. When I got the new drive and tried to restore from time capsule, I lost some data. How can I see what backups are on the time capsule? My laptop is also saved to the time capsule. Everything is in 'Data' when I look through the Airport utility. I think that the information that I've lost are still there since I was a Capsule 3 to.

    Time Machine backup to a sparsebundle.

    The sparsebundle will use the share name of computer. So, it should be obvious who is your Macbook and that is your Macpro.

    Open the sparsebundle in Finder and keep open the subfolders until you get to the backup of each separate hard drive...

    You has of course set the exclusion in Time Machine?

    By default, Time Machine will exclude your second drive unless you have included it. Did you?

    Once you get to this level during the backup, you can do a full restore manually whenever you want.

  • Can I use separate iCloud for accts Windows on a pc win10 with two accounts?

    CCan I use iCloud separate for Windows accounts on a pc win10 with two accounts?

    You can, but it will be a bit heavy on your part, juggling two accounts, because you will have to a connection, and then connect to another, etc.

  • I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions?

    I have 2 copies of open Firefox (two different windows with lots of tabs), if I reboot can I restore the two sessions? I am familiar with clicking history / restoration of previous session, but do not want to reboot to let windows update to do it's thing unless I can restore the two sessions.

    guigs2 said

    If they run different profiles, then Yes.

    Thanks, but I use only 1 profile. However, I found the answer! If I restart/turn off / down pc WITHOUT closing a firefox session, he will come with the screen 'well, it's embarrassing"and list the TWO sessions to restore. The trick is not not to close before stopping! If you close them first, then you can only restore the session first (?).

  • I have two email accounts, can I configure Thunderbird with two or more accounts? Thank you

    two accounts different gmail and a yahoo. is it possible to configure Thunderbird with two or three eventually accounts so I can receive all emails in one place. Thank you!

    In the menu bar, select file-new-old e-mail account

  • You can play with two players on the same conlsoe on modern war

    XXXXXXXXXXXXXX

    Hi Capcurt,

    Welcome to the Microsoft Answers site!

    You try to play the game live with 2 players on the same console?

    Unfortunately, you can not go online with two people on the same console. Modern Warfare 2 allows a user to sign in when you play in multiplayer.

    Modern Warfare 2 is a completely new game mode that supports 2-player cooperative play in single line of the solo campaign in history. To do this, you will need two machines.

    For better support, you can contact Xbox Forums.

    http://www.xbox360forum.com/Forum/

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I just changed my internet provider and can connect with two of our cell phones, but the third said no identified network/no access to the internet.

    I just changed my internet provider and can connect with two of our cell phones, but the third said no identified network/no access to the internet.  I tried all of the obvious solutions.  Windows 7

    Original title: unidentified network

    Hello

    Thanks for choosing Windows and thank you for providing an opportunity to help you.

    According to the description, you are having problems with the unidentified network error message.

    Perform the steps from the link below and see if it helps.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-networking/network-connection-shows-that-it-is-connected-but/52e60042-2666-4EAF-80be-193b26db10be

    Answer to us if you are having problems with the unidentified network or any other issue of Windows, and we would be happy to help you.

    Good day!

    Hope this information helps.

  • I want to put two tables on a page with two columns how can I do this?

    I want to put two tables on a page with two columns how can I do this?

    It depends on what application you are using.

    If you use Word, then a good way would be to create a single table of 5 columns, check the borders of the invisible middle column so that it appears to be two separate tables.  You will need to do the same thing for unused cells downstairs as well.

    To get the best advice on Office-Word questions, use the forum not the Windows 7 Office forum that you do.  Look at the top of this page, just below the logo MS Answers and click on Forums , then select desktop. Once there, you can select Word.  By using the forum Office will give you a better chance to find a solution to your problem, as it is inhabited by people who know much about their topic.  Search the Forum of office for the topic, then, if no notice is found, ask your question here instead of this.

Maybe you are looking for