LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how can run my vi real time?

Solved!
Go to solution

@hamedi wrote:

 

[...]

 

I'm a physicist. and it's a project that difficult to explain for you.

[...]


 

 

😄

 

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 11 of 16
(670 Views)
Solution
Accepted by topic author hamedi

(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)

Message 12 of 16
(659 Views)

hi dear altenbach

your answer is great.

and it's interesting method.

 

the secend attach is run in my system(corei7) work machine, the loop rate is 3ms

it's so good.

thank you so much.

 

you wrote:

Was this ever designed to run on an FPGA?

 

can you say me what is FPGA?

 

 

0 Kudos
Message 13 of 16
(626 Views)

@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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 14 of 16
(622 Views)

hi

it's true .

i don't understand it well enough.Smiley Very Happy

but if i explain it simply this explain is not useful.

 

explain simply: this program simulate the atmospher.

 

0 Kudos
Message 15 of 16
(619 Views)

@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.

0 Kudos
Message 16 of 16
(604 Views)