Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CanOPEN NI 8472

Solved!
Go to solution

Hi,

 

I'm trying to build up a communication between a dc motor(not NI) and LabVIEW.
PC(LabVIEW) -> NI-8472(USB-CAN) -> DC MOTOR(CanOPEN)
That is my setup
I have tried this example, CanOPEN SDO example for USB CAN

https://decibel.ni.com/content/docs/DOC-


But I'm not able to write anything... Do you guys have any tips to get started?

My second question, when I have a funciontal communication between LabVIEW and the dc motor.
How can I control it using LAbVIEW?
I only need thee commands:
-Start
-Stop
- Reverse

Thanks,
andechr

0 Kudos
Message 1 of 4
(5,496 Views)

@andechr wrote:

 

My second question, when I have a funciontal communication between LabVIEW and the dc motor.
How can I control it using LAbVIEW?


You read the documentation that goes with your hardware.  It will tell you what you need to send to make it do stuff, and what format you will get data in.

 

Also your link is broken.

0 Kudos
Message 2 of 4
(5,490 Views)

Thank you!

 

I was using this example:

https://decibel.ni.com/content/docs/DOC-4439

I'm not able to save this example, every time a close it down and restart it I have to change the interface, index etc...

When I tried to build it on my own I couldn't find the palletts for READ SDO, WRITE SDO etc.

 

Do you guys have any idea how I could get it?

 

/andechr

0 Kudos
Message 3 of 4
(5,442 Views)
Solution
Accepted by topic author andechr

@andechr wrote:

 

I'm not able to save this example, every time a close it down and restart it I have to change the interface, index etc...

When I tried to build it on my own I couldn't find the palletts for READ SDO, WRITE SDO etc.


Did you set the control values to default and save the VI?  Did you programatically set the control values on start?  

 

That example looks like it uses a modified version of this library.

 

http://www.ni.com/example/30873/en/

 

I've never used that library and have no idea how it may have been modified.  If you have questions about that example you'll probably want to contact the developer, they didn't give much information it.

Message 4 of 4
(5,436 Views)