Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Write\Read NI-9516 module in FPGA Project?

Hi,

 

I use NI-9149 RIO and NI-9516 module.

I want to write to the 9516 throw the FPGA. 

My project look like this:

project.PNG

How can I do It?

 

Thanks for advance,

Aviad

 

P.S: I read this paper, but don't know how to work throw it...

0 Kudos
Message 1 of 7
(5,391 Views)

Sorry - I manage throw...

Thanx

0 Kudos
Message 2 of 7
(5,345 Views)

Hi aviadCielo,

 

I would use the cRIO in hybrid mode. We have a helpful KB on using 951x modules in hybrid mode (http://digital.ni.com/public.nsf/allkb/12287236ED86B789862576630059572C). From there you can create a virtual axis and program in SoftMotion. This will save you from having to do FPGA programming with the 9516.

 

Let me know if this works or if you still have the issue.

 

Michael Bilyk

Applications Engineer

National Instruments

 

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 3 of 7
(5,332 Views)

Thanks!

Its look good, but I don't mention that my project have to be implement over C++ code, so, if I don't miss something here, I can't escape from the FPGA programing, correct?

 

Thanks again,

Aviad

0 Kudos
Message 4 of 7
(5,318 Views)

I would check out the FPGA Servo Interface (9516) example which creates a SoftMotion axis using FPGA. That is probably your best resource.

Michael Bilyk
Former NI Software Engineer (IT)
0 Kudos
Message 5 of 7
(5,290 Views)

Is there an updated link to this KB article?  When I click the link, there is an error.

0 Kudos
Message 6 of 7
(3,021 Views)

Try this link:

 

How Do I Use the 951x Series Motion Modules in a Hybrid Configuration on my CompactRIO?

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Rj0SAE

Trevor H.
Technical Support Engineer
National Instruments
0 Kudos
Message 7 of 7
(3,014 Views)