01-09-2014 05:13 AM
hello, i have a problem to transform a c++ program to a LV VI
i have done a VI but it's not correct and i can't understand where i made mistakes.
Someone could help me?
I use LV 7.1
01-09-2014 05:49 AM
Your best bet is to compare the values generated by various stages of the C and LabVIEW versions as they execute. You can do this a bunch of ways in LV- 'highlight execution' is handy. This will allow you to narrow it down to the exact point where the behaviour diverges.
01-09-2014 06:36 AM
i can't...where i work i can't execute c programs
01-09-2014 06:46 AM
No problem- you have a web browser. You can test your C code online. Google 'online C interpreter' and you will get a bunch of hits.
01-09-2014 06:54 AM
01-09-2014 07:02 AM
you start by extracting the 2nd element of an array and then use the double value +1 as index ... What are you trying to achieve?
i dunno 😞 i'm just trying to copy the c program ...i can't understand the c program 😞
01-09-2014 08:19 AM - edited 01-09-2014 08:19 AM
I created the code below before looking at your code. They are very similar with one difference: additional shift register.
I may have made a mistake, but look at it just in case...
01-09-2014 09:00 AM
thanks...i'm going to study your VI