Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Error 70113 with Motion Control Board When Loading Data Points for Motion Sequence

Hardware: Motion Control>>Controllers>>PCI-7344

Problem: What is the reason for the occurrence of error 70113 while writing data points to the buffer during the execution of my motion sequence?

Solution:

The buffer that is eventually written to by the Write Buffer.flx function in LabVIEW or flex_write_buffer function call in C is the onboard RAM of the motion controller. The 7344 board has 64 kBytes of RAM allotted for data points. These I32 data type motion points occupy 4 Bytes per point, which leads to an upper limit of roughly 16,000 points that the onboard "buffer" is able to hold at one time. Any attempt to write more data points to the buffer than it can sustain will result in this error 70113, "No RAM available..." (See attached screen capture).

For applications in which more data points are needing to be written to the motion controller, another approach is recommended. By checking the progress of the motion sequence as it advances through the buffer, a program can know when to write new points to the buffer in order to continually update the data stored there. This is illustrated in an example program linked below.

This error can often occur when the user presses the Abort button rather than cleanly exiting the program. Whenever the abort button is used, the buffer will be left in memory and Clear Buffer.flx will never be allowed to run in the application. In order to clear the memory on the card, you can either power cycle the computer, or use Object Memory Management.flx. To see a list of the buffers that are present in memory on the card, use Read Registry.flx. These functions are located at Functions»Vision and Motion»NI-Motion»Onboard Programming»Object Management.



Related Links:
Developer Zone Example: Continuous Sine Velocity Profile Example Program
Product Manuals: 7344/7334 User Manual (see page 4-5)
Motion Control Support


Attachments:


ScreenCaptureError70113.JPG - ScreenCaptureError70113.JPG


Report Date: 03/30/2004
Last Updated: 09/17/2007
Document ID: 37TDP5WX

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit