Why do I get error "-1074388885" when using CANopen in PXI RT?

Dear all,
I built a test program (reading only the temprature of a motor) to use it later to exchange data between NI- PXI RT  and a
LUST servo controller, which are locally connected with CAN network. Please see the attached
VI. After
run the program , a communication error with CAN network is happend.
The error code is (-1074388885; CANopen NMT send.vi) after that the
RT-Target give an error a message:
 (impossible to connect to target Real-time)
and then switched off. To connect it again, switched off/on of power supply has to be done.
I test the CAN connection between them with MAX, the test results give no problems.
Normally this test program was before running  correct between PC
(with NI CAN-card) and Lust servo motor.
Does anybody have a solution?
Regards
al_ibr
Attachments:
main_target.vi ‏70 KB

Hi Yann, Many thanks for your reply. The LV version is 8.6 and MAX is 4.5. The PXI RT has the following data: NI PXI chassis: 1031 NI PXI embedded controller: 8104NI PXI CAN card: 8461 The servo controller (Lust CDD3000) has a CAN card LUST CM CANI (see attached documentation). The equivalent program in PC with NI PCI CAN/2, which tests the data exchange with this servo controller, is attached (works without any problem). I attached the project file for the test program in PXI RT. Regards al_ibr     
Attachments:
test_only_CAN_RT.zip ‏62 KB
test_progr_CAN_non_RT.vi ‏19 KB
CAN_CMCAN1_usermanual_052000_EN.pdf ‏1179 KB

Similar Messages

  • Why do I get error "-1074388952" when using CANopen?

    Hi there,
    I built a VI to communicate over a PXI-8461 with a servo controller from SEW-Eurodrive. I use the LV CANopen Library, please see the attached VI! When starting my application, I use the init case, during runtime I change the settings of the servo controller with the "write" case and finally in the "stop" case I close and kill all objects I previously created
    There is no communication from the controller to the PC, I only send a PDO to the controller. Although there is no "read"-function in the VI (necessary), after some time I get the mentioned error, please see the other attachment! After confirming the error dialog with "continue" or "stop", I'm no longer able to communicate with the servo controller. How can I prevent my application from hanging? And is it possible to reset the CAN-Card from within my LV 8.5 application? Currently I have to reboot the whole PC to do that, otherwise no new communication is possible...
    To say it with the Scorpions: "Is there anybody there who feel's that vibration?"
    Does anybody have an idea?
    Thanks in advance for any help
    Regards
    Achim
    Attachments:
    error.PNG ‏12 KB
    SEW_EncoderDriveControl.vi ‏58 KB

    Hi Dirk,
    thanks for the answer...although it really not gets me any further.
    I already use a PXI-8461 Series 2 CAN-Board! What do you mean when you say "high busload"? I have to communicate with 500kBaud because the SEW controller expects this rate. I only transmit new parameters in "single shot mode", meaning I fire new values (8 bytes) event-based (button push). As I mentioned I do not transmit any data from the controller to my LV application.
    Sometimes it's also not possible to reset the board in the MAX, then there reamains a exclamation mark on yellow background on the board icon.
    I still receive another error message (something like "PDO write object does not exist") when I changed nothing for quite some time and then try to transmit new parameters on an object I successfully used several times before. Sometimes everything works fine until I try to stop communication...then sometimes a error message pops up saying something similar, like "Synch Object does not exist". It must have been existed, because if not, the SEW controller would not have been working because it expects this cyclic synch.
    Do you (or anyone else) have a clue?
    I found the ncReset.vi in the NI-CAN library and I am going to test it ASAP. Is there any difference in the use between "your" method with the (ncAction.vi + Reset) and the direct use of ncReset.vi? I'm going to code a automatic reset with that function in the case that one of the mentioned errors occurs. Do you think it's possible to automatically reset and then reinitialize my CANopen session? Or will I get some other strange errors?
    Hoping for a helpful answer:
    Achim
    Ahhh...before I forget it:
    Seasons Greetings! Have a cheerful and happy christmas time!

  • Why do I get error 1031 when using vi server to call an exported vi?

    I'm trying to call a vi that is inside an exe using vi server.
    For some reason I keep getting error 1031 "VI Reference type does not match VI connector pane" from the open vi reference primitive.
    However:
    If I statically link to the vi using the same type specifier, it works just fine.
    I've attach 2 code capture screen shots.  One shows the original code that generates the 1031 error.  The other shows calling it directly locally and that code executes with no problem.
    Oh and also, if I don't connect the type input I can open a reference to the remote vi and interact with it.
    I've also attached a code capture screen shot as well.
    So it appears that the vi server connection to the exe is not transferring the VI reference type correctly??  Has anyone had any experience with this?
    I have no idea why this is happening.  Anyone have any thoughts? 
    I'm using LV2009SP1 by the way.
    Attachments:
    doesnt work.png ‏13 KB
    Works.png ‏13 KB
    Works2.png ‏13 KB

    When you are trying to call into an executable, LabVIEW will not necessarily know what type it is. You are getting this error because you cannot use a strict type definition in certain cases, this being one of them. Some cases will require you to use a strict type definition due to their architecture but again, due to the structure of your applications, you can't use the strict type definition. Your other two examples use the correct passive types and therefore do not get the error. Hope this answers your questions!
    Mychal F
    Applications Engineer
    National Instruments

  • My Application gets Error 37 when using Serial Port VIs.

    My Application works fine developed with LV 6.1. Then I updated to LV 7.1 and now the Executable of my application gets error 37 when using the old serial port functions. The "serpdrv" file is located in the application directory and is from 02/2002. The application runs well in the development environment after I placed the "serpdrv" file in the LabView directory. I tried to put a line with "serialDevices=..." in the .ini-file of my application but this did not cause an improvement. I also tried to rebuild the EXE with this line in the "labview.ini" file but nothing changes.
    Does anybody have another idea ?
    Many thanks for help
    Thomas

    >Did you actually replace the old serial functions that come with 7.1 with the functions from 6.1?
    Yes. E.g. "open serial driver.vi" uses "open device" with "serpdrv" as device string.
    I had the same problem running my application as VI´s. After the copy of serpdrv into the LV 7.1 directory everything works fine.
    I don´t understand why the application running as a .exe doesn´t find the serpdrv when it is in the same directory....
    Nevertheless many thanks for your answer
    Thomas

  • TS1538 Why am i getting error 9006 when trying to restore my ipod 5th gen?

    Why am i getting error 9006 when trying to restore my ipod 5th generation?

    Configure your security software
    Check your security software and settings, which can block ports and prevent connection to Apple servers during update and restore.
    Common errors: 2, 4, 6, 9, 1000, 1611, 9006, 9807, 9844. Sometimes as a result of this issue, a device might stop responding during the restore process.

  • Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Why am i getting error 5002 when trying to redeem a UV movie purchase?

    Sharonc21 wrote:
    If one is downloading directly to the iPhone via WiFi, it doesn't matter what version of iTunes is on the computer.
    I decided to sync my phone to Outlook via iTunes.  First thing, iTunes discovered that 7.0.3 was not on my phone.  It asked if i wanted to install it.  I said, "yes", and VOILA!! 7.0.3 is now installed on my iPhone.
    So therein is the answer.  Have no idea what bug is in there to keep it from loading to some phones directly via WiFi, but obviously, it is something!!
    There is no bug.  While you can update your iOS via wi-fi, it's recommended to do so via USB & iTunes.  Depending on your wi-fi connection & singal strength, you can get errors.  That's not a function specifically of the device.

  • TS1424 Why am I getting error 11222 when trying to access the store?

    Why am I getting error 11222 when trying to access the store?

    The 11222s can sometimes be associated with LSP issues.
    I'd try the following document:
    Apple software on Windows: May see performance issues and blank iTunes Store
    (If there's a SpeedBit LSP showing up in Autoruns, it's usually best to just uninstall your SpeedBit Video Accelerator.)

  • Why do i get error 1004 when trying to get ringtone?

    why do i get error 1004 when trying to buy song(ringtone) on my iphone

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Why do I get Error: 404 when I try to download a Lightroom upgrade on the UK site?

    Try downloading from below link :
    New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools
    Feel free to post , if you need further assistance

  • Why do I get error 50 when importing CD to my PC?

    Why am I getting error 50 when adding CDs to my PC?

    That is a write error message, are you trying to rip them to an external CD? And do you have write privileges on the computer?
    First thing I would try is rebooting your computer.

  • Why do I get bright colors when using the smudge tool?

    Why do I get bright colors when using the smudge tool?

    Thank you!!!
    *Caryl  *
                               (my flickr page ↓)
    *https://www.flickr.com/photos/feathersarenice/
    <https://www.flickr.com/photos/feathersarenice/>*
    We were all born mad. Some remain so.
    "Reality is whatever refuses to go away after I stop believing in it."
    Philip K. Dick

  • HT203421 why do i get error 1004 when trying to download mountain lion software?

    why do i get error 1004 when trying to download mountain lion software?

    Read this
    Error 1004 and 1013: These errors may be the result of the connection to gs.apple.com being redirected or blocked. Follow these steps to resolve these errors:
    Check security software. Ensure that communication to gs.apple.com is allowed. Follow this article for assistance with security software. iTunes for Windows: Troubleshooting security software issues.
    Check the hosts file. The restore will fail if there is an active entry to redirect gs.apple.com. Follow iTunes: Advanced iTunes Store troubleshooting to edit the hosts file or revert to default on Windows. See section "Blocked by configuration: (Mac OS X/Windows) > Rebuild network information".
    Try to restore from another known-good computer and network.
    If the errors persist on another computer, the device may need service.

  • Why do I get error -42408 when I tried to download my recent purchases?

    Can someone tell me why do I get error -42408 when I tried to download my recent purchases?

    See this document iTunes: "Error 42408" or "Error 42404" after ... - Support - Apple
    Make sure you have upgraded to the latest iTunes version.

  • Why do I get error 1303 when trying to install either Reader X or XI on Win 7??

    Why do I get error 1303 when trying to install either Reader X or XI on Win 7??

    Hi kbannister1
    Please refer to the following forum thread on error code 1303 when trying to install Reader x or XI.
    http://forums.adobe.com/thread/670046
    Hope this helps.
    Regards,
    Sumit Singh

  • Why do i get error 43 when trying to update iphone3

    why do i keep getting error 43 when trying to update iphone3? very frustrating please help!

    If you back up your device manually before syncing, you can restore it from that backup again. A manual backup does not include the sync process.
    To backup manually do this:
    Connect your iPod to your computer and right click on it in the device list and choose backup. iTunes will backup your iPod without syncing.
    Transfer your purchases the same way, choosing "transfer purchases" this time.
    When you connect your iPod let iTunes erase all media content and  restore your settings and app data from your manual backup afterwards.

Maybe you are looking for

  • I'm having a problem downloading

    I've used Adobe Muse for a couple years and for some odd reason I when I went to launch it the program was uninstalled on my computer. I went to adobe creative cloud and tried several times to download it but it stops at 46%. Please help

  • Sharing a printer on a connected computer

    Hi, I have a Lynksys WRT610N router. The way I have it set up is with  one desktop unit connected directly via one of the wired ports on the router and then the router connected to a cable modem.  The other three laptops of course connect in via wire

  • Upgrade harddrive, now DVD drive is ejecting on start up

    So I upgraded my harddrive a few months ago...Now everytime (or mostly everytime) it start up my computer my DVD super drive ejects the cd that is in it. Its never done this before I upgraded. Is there a setting somewhere or something I did wrong? I

  • Reg categories to be displayed on page

    Hi, I have atleast 1000 documents to be displayed on portal.I have made categories and uploaded items of file type in them. Now on my portal page how do I add the contents of those categories. If I do add items on my page region I dont find any categ

  • Constantly accessing itunes store

    My itunes continueously accesses the itunes store to the point that i cant use it at all. I've heard that i need to authorise my computer, but to do this i will need to deauthorise all my other computers. Is there a way i can do this without using it