Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

High rate coordinate measurement @ NI-Motion 7344

Hello!

 

I'm using NI-Motion 7344 and FlexMotion 5. I need to to perform coordinate measurement along a trajectory with a rather high rate (a sample in 1-2 ms). And I need to know the exact time, when a coordinate sample has been measured. Had anyone faced a similar problem? Is it possible to get any timing information with the FlexMotion?

 

Thank You!

0 Kudos
Message 1 of 4
(4,902 Views)

Hi Alanbor,

 

I just provide with a couple of useful links in order to let you access to basic information:

 

Overview of the FlexMotion architecture

http://zone.ni.com/devzone/cda/tut/p/id/3753

 

FlexMotion Software Reference Manual

http://digital.ni.com/manuals.nsf/websearch/92003B670CC3CB3F862567C800755B95

 

Motion Synchronization with DAQ via (Breakpoint-external Scan Clock)

http://zone.ni.com/devzone/cda/epd/p/id/4624

 

Let me know if you're able to gather information yuo need or if I can provide with additional assistance.

Best regards

 

 

FlexMotion Software Reference Manual

Matteo
0 Kudos
Message 2 of 4
(4,894 Views)

Thank You, Matteo!

 

I've looked through the links you provided.

 

As for the third link. I don't have a LabView installed, is there the same example in C++? As far as I understood from the description, the NI-Motion board can issue trigger signals at predefined positions which can then be used by some external DAQ device, connected via RTSI. Right? This can be a solution, though it is not exactly what I'm searching for. In current hardware design I have to perform data acquisition every 2 ms. Can breakpoints be loaded, enabled and having status read at this rate?

 

I'm also going to try HS capture. What is the fastest way to transfer a set of captured positions from encoder registers to the host memory? Do I need to call flex_read_cap_pos() after each HS capture event?

 

Thank You!

 

0 Kudos
Message 3 of 4
(4,890 Views)

Hello Alanbor,

 

Here below the example code edited in ANCI C language. The project is designed to be loaded into LabWindows/CVI, which is a ANSI C editor that allow you to program in a procedural and have NI libraries to be loaded into your application. However you can access to the C code and take a look to the implementation you are looking for.

 

Motion Synchronization with DAQ via RTSI (Routing Onboard Breakpoints to DAQ as Scan Clock) with CVI

 

I figure out that the HS Capture function call should be the right way to accomplish your task. Anyway I'm not sure about the best tune that would allow you to optimize your tasks. Can you provide for additional details or clarify the specifications?

Did you try to benchmark your hardware performance and tune your parameters?

Bye

Matteo
0 Kudos
Message 4 of 4
(4,871 Views)