02-23-2012 04:21 AM
I need to generate continuous data on anlog output board. The example on labview are very celar when the buffer size is always the same. I need to send out 'pack' of data of different size continously depending on some external input.
How is possible to buffering data of different size withouyt loosing continuoous generation ?
The buffer remain 'dirty' of old data if the new packet have a size less than the new one, ( i Know that this is expalined in a NI note, but I don't know how to solve this..).
I would like to manage the board sayng Use Buffer A, when is finished,, Use Buffer B ( the two buffer have different size ) and so on.
In attachemnt the sofwtare we are using today.
Actually waveform data change size during the generation, so when the new data are shorter than the old one I have probelms...
Kind regards
02-24-2012 08:23 AM
Hello Max,
I believe that you have to create a consumer-producer architecture. It is the right method to use in case you would like to generate or acquire multiple sets of data that have to be processed in order.
You can find all the information you need about this structure in the following link:
http://zone.ni.com/devzone/cda/tut/p/id/3023
but also here
http://digital.ni.com/public.nsf/allkb/DD7DBD9B10E3E537862565BC006CC2E4?OpenDocument
Could you please take a look?
Regards,