Motion Control and Motor Drives

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I have Buffer1 and Onboard Program1 on the same 7344 card? (else Buff2?)

I am coding a controller in C on a NI7344 card. I gather that both onboard programs and buffers are stored as "memory objects" on the card. If I want to run an onboard program which uses 2 buffers, should the program number be 1 and the buffer numbers be 2 and 3 respectively or should the program number be 1 and the buffer numbers be 1 and 2 respectively. I suspect that the latter case would be an error in that the first buffer might overwrite the programme. Is my surmise correct ? It is very hard to find out this information from the documentation provided. 
0 Kudos
Message 1 of 2
(3,238 Views)

Both, buffers and onboard programs are memory objects. Each memory object is assigned to a unique object number in a single object number space, so your first suggestion is correct.

 

Kind regards,

Jochen Klier

National Instruments

Message 2 of 2
(3,236 Views)