LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

wait until the acquisition is done

Solved!
Go to solution

Hi Fird, have you seen the last program that i sent you. Work with that you can count the edges in train of pulses and passe to another state of a state machine when the number of pulses are reached. The program that you sent me its not able to count the edge of the pulses. Please tell me if the program that i sent you latter works as you want.

 

saci

0 Kudos
Message 11 of 21
(1,937 Views)

Hi SaCi,

 

Thanks for your assistance.

 

Yes, it helps me a lot.

 

Btw, since this problem actually for my acquisition project, I would like to go back on the original VI.

 

I would like to get your suggestion on the array problem.

 

Sans titre.JPG

 

The data only show like below:

 Sans titre2.JPG

 

The next value will replace the previos value.

My objectives is to put all the data in the array. Do you have any idea? Do I need to use a loop?

 

Thanks.

 

-Fird- 

Message Edited by Fird on 07-06-2009 04:24 AM
Download All
0 Kudos
Message 12 of 21
(1,923 Views)

You overwrite the array all the time, that's why you get only one result.

Yo should concatenate succesive array's using for example the "Build array function as showed in the attached screen shot where MyData is the array that contains all the data and New Data is the data from each loop iteration.

Be sure to select "Concatenate inputs" whenyou right click the "Build array" function.

 

Hope this helped 🙂

0 Kudos
Message 13 of 21
(1,911 Views)

Hi Alain,

 

I did not get you. Can you explain using a VI attached together here.

 

Thanks.  

0 Kudos
Message 14 of 21
(1,902 Views)
I could if you provide me a LV 8.5 version Smiley Happy
0 Kudos
Message 15 of 21
(1,898 Views)

Ok. Please find the attachment below.

 

Thanks a lot.  

0 Kudos
Message 16 of 21
(1,895 Views)
Solution
Accepted by topic author Fird

Modified version in attachment 🙂

 

I simulated two DAQ cards with the MAX and tested the VI.

It looks good 🙂

 

Hope this helped

Message 17 of 21
(1,889 Views)

Hi Alain S, 

 

Thanks a lot. I will try it now.

 

-Fird- 

0 Kudos
Message 18 of 21
(1,887 Views)

Hi Alain, 

 

I just curious. What make my VI become 2D not 1D as yours. See figure below.

 

Sans titre.JPG  

 

Fird. 

Message Edited by Fird on 07-06-2009 08:00 AM
Message Edited by Fird on 07-06-2009 08:03 AM
Message Edited by Fird on 07-06-2009 08:04 AM
0 Kudos
Message 19 of 21
(1,884 Views)

Hi Alain, 

 

I manage to solve it. But I don't know what cause the problem.

 

Sans titre.JPG 

Thanks a lot.

 

Fird 

0 Kudos
Message 20 of 21
(1,878 Views)