NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write C++ with LabVIEW

hallo
I am trying to write this C++ prog.
for( step2=0, step2<3, step2++)
{
  Y=step2;
  for(step1=0, step1<11, step++)
   {
    X=step2;
    A=measure the Sensor;
    save X,Y,A in a table;
   }
}
with labVIEW (see attachment), the PROBLEM is  Y the first step Y=0 (O.K) the second step Y still =0 instead of 1 and the third Y=1 instead of 2 . where is the problem ?
 
 Thank you in advance
Toni
0 Kudos
Message 1 of 4
(3,174 Views)

Hi,

You will get a better response if you re-post to the LabVIEW forum

http://forums.ni.com/ni/board?board.id=170

as this is the TestStand forum.

Also, state which version of labVIEW you are using.

Regards

Ray Farmer



Message Edited by Ray Farmer on 03-18-2008 08:43 AM
Regards
Ray Farmer
0 Kudos
Message 2 of 4
(3,173 Views)
Hi Ray
 
Thanks for your reply. I re-post it on the other Forum, do you mean they can help me ?
 
by the way I am using LV 8.5
 
Thank you  again
0 Kudos
Message 3 of 4
(3,166 Views)

Hi,

Hopefully, but there is no guarantee.

If I had access to LabVIEW at this time I would of looked at your VI and provide an answer for you. But pointing you at the correct forum should get you a quicker response.

If you haven't had a reply by the end of the day, I will have access to labview and therefore can look at your VI.

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,160 Views)