01-30-2012 10:04 AM - edited 01-30-2012 10:05 AM
Hello,
I'm trying to use the CANopen labview library and I get an error -2147136892 when I create an interface object. Here's my little program and a image of my MAX.
I'm finding very difficult to find examples of how to use this library, can someone help?
Thanks in advance!
06-28-2013 04:03 AM
Hi,
We are receiving a similar error while attempting to run an example programme. Did you manage to solve this issue? If so how?
Also, we are also struggling to find tutorials/info on how to use the CanOpen library in labview. If you know where to find them that would be great!
Thanks
03-08-2015 06:21 AM - edited 03-08-2015 06:48 AM
Hello,
We're having the same problem as you. First of all, the solution was to use external power supply to canopen module 9881. After that, module has passed online test pannel, which previously was not possible.
After downloading bitfile and passing online test pannel first status led on module 9881 is blinking green (info from ni site: the canopen hardware port is stopped).
Now we are trying to create canopen interface and facing the same problem as you (error code: -2147136892).
The same error occurs when we try to change baud rate.
Do you have any ideas how to manage this issue ?
03-08-2015 10:09 AM
These are some of the most frustrating posts. You're actually giving information. But, you're doing so in a zombie thread you bumped. In ths tread, there are two posts from two and three years ago. There's no working towards a solution. There's no response. There's no benefit to bumping the thread. Just make your own thread to work through your problem next time.
Now, it's a bit hard to know without seeig your application. Where are you trying to reach your device? Is your code runing on the RT target or is it running on the host? You'll need it on the cRIO for it to be recognized.
Which version of LabVIEW and the FPGA module do you have? Keep in mind the CANopen library is only supported up to 2013. If you are working with newer, it'd wouldn't be a shock to see some errors.
Can you see your module under your cRIO in MAX? If not, have you ensured you installed the CANopen library on the cRIO as well as the on your development machine?
03-08-2015 12:20 PM - edited 03-08-2015 12:21 PM
Hello again,
Sorry for the all inconvenience.
We're trying to connect cRio with actuator using CanOpen.
Everything was done with this manual:
http://zone.ni.com/reference/en-XX/help/373197B-01/cserieshelp/scan_interface_for_modules_rt/
Labview and Fpga module are from 2013 version.
After downloading a bitfile and adding libraries to program ladder MAX started to see Canopen module 9881.
Feel free to call me rookie 🙂
03-08-2015 02:13 PM
Drag your VI from where it is to where it says "Chassis" That's where RT code exists. Try to run it then.
03-12-2015 11:24 AM
Hello,
Thank you for your attention.
I've tried this one and yes, you're right. But now im facing another problem. (see attachment).
I have installed libraries from cd which was added to my module 9881. All of them are added to my program.
Everytime i want to start VIs from those libraries (doesnt matter which one) it goes like this. I cannot enter to their code, they are protected by passwords.
I know im doing something wrong.
Please bo so patient and deliver some possible solutions for me. I will be really grateful 🙂