07-29-2013 11:29 AM
@hamedi wrote:
[...]
I'm a physicist. and it's a project that difficult to explain for you.
[...]
😄
07-29-2013 12:54 PM - edited 07-29-2013 04:05 PM
(Well, it just looks like a sum of harmonics of some sort.... simple enough!)
On my 16 core work machine, the loop rate is 0.6ms. 😄 (here is a link to the parallel version)
07-30-2013 06:20 AM
07-30-2013 06:51 AM
@hamedi wrote:
I'm a physicist. and it's a project that difficult to explain for you.
"If you can't explain it simply, you don't understand it well enough." - Albert Einstein
/Y
07-30-2013 07:10 AM
hi
it's true .
i don't understand it well enough.
but if i explain it simply this explain is not useful.
explain simply: this program simulate the atmospher.
07-30-2013 09:47 AM
@hamedi wrote:
can you say me what is FPGA?
Let me see if I can explain that simply, after all you are just a physicist 😄
LabVIEW can run on specialize hardware that is called FPGA. Start reading here for a quick introduction.
(I was puzzled by your use of fixed sized array datatypes, which is usually only encountered with LabVIEW FPGA, but it turns out that certain formula node syntax can generate these too. No big deal, I was just wondering....)
hamedi wrote:the secend attach is run in my system(corei7) work machine, the loop rate is 3ms
it's so good.
I was testing you here by incorrectly calling a loop time a loop rate. As any physicist knows, a rate has inverse time units (Hz). 😄
So the loop time is 3ms and the loop rate is 333Hz. Right? 😉
I am glad this solution works for you. Lookup tables are extremely fast, because all results are precomputed at the expense of large VI size. The VI could be designed to precompute the lookup tables when the program starts, keeping the VI size small. Modify as needed.