11-16-2009 07:08 PM
Hi;
I am trying to make the smart buffer example given in (http://zone.ni.com/devzone/cda/epd/p/id/2499) accept an array. I am wondering if there is anyone out there who knows how to do that. I would really appreciate any answer.
Thank you very much.
Solved! Go to Solution.
11-18-2009 12:56 AM
Howdy,
I am a little confused by your request...can you explain the the application you are intending to use this smart buffer? Also, were you able to open the Smart Buffer example from online? If so, what version of LabVIEW are you using?
For others: The current version of the Smart Buffer example can be found in the following directory: <labview directory>/examples/general/globals.llb/Smart Buffer Example.vi and it appears to already use an array...
11-18-2009 02:52 AM
Hi Joshua;
Thank you so much for taking time to answer my question. In terms of my question, currently I am using LabVIEW 8.6.1 and am able to run the smart buffer example. In that example, the smart buffer takes scalars as its input and with the read-all option on, all the scalars kept in the buffer can be read all at once.
This given smart buffer example accepts only scalars and outputs the collection of these scalar values, which is a 1-D array. In my problem, however, I need to make the smart buffer accepts 1-D arrays and outputs a 2-D array, instead.
As for my application, I am reading serial data with VISA that comes in to my PXI machine randomly (I don't exactly when the new data is sent to the PXI unit.) I would like to keep this serial data (which is a 1-D array) in the smart buffer and send the overall content of the buffer to my KALMAN code, which accepts only the collection of 1-D arrays, or 2-D array. I am wondering what changes I have to make to the smart buffer so that I can make it accept 1-D arrays and spit out a 2-D array.
Best Regards
Serdar
11-19-2009 05:14 PM
11-20-2009 02:33 PM
11-21-2009 02:43 AM
03-09-2010 04:21 PM