LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

16 lines of data and truncate to 1 line of data ???

Solved!
Go to solution

alright my program generates a data of 16 lines as shown below and the following is the block diagram.

 

 

 what I need is for it to generate a data with only 1 line shown below.

 

I think the problem is because of the analog to digital conversion but I think this is the most non-trivial method. it would be great if i can truncate it to 1 line because it's essentially the same thing.

I've also attached my VI if that would be more help. thanks in advance, this wall that I'm running into is annoying me.

Message 1 of 7
(3,611 Views)
Solution
Accepted by sdkpark

lol sorry I figured it out again eventually.

rather EXTREMELY simple

 

you just have to create a constant on the "resolution" of analog to digital and set it to however many bits (in my case 1)

 thanks!

0 Kudos
Message 2 of 7
(3,586 Views)
pls can u send the correct vi to me... it may helpful for me...
Regards,
N. Srinivasan
0 Kudos
Message 3 of 7
(3,571 Views)
sorry i got the answer.. 🙂
Regards,
N. Srinivasan
0 Kudos
Message 4 of 7
(3,568 Views)

here it is just incase

 

as you can see there is a [1] in the for loop

Message 5 of 7
(3,553 Views)
thank you park.... 🙂
Regards,
N. Srinivasan
0 Kudos
Message 6 of 7
(3,529 Views)
thanks i actually needed this
0 Kudos
Message 7 of 7
(3,515 Views)