ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need Help with DAQ in Labview

Solved!
Go to solution

Hi Dennis,

 

I tried to append the waveform like you had suggested with a for loop and I also initialized the shift register with a empty waveform but I end with the same thing because the empty waveform is not updating its value...which i don't know why.....kindly look into my VI and let me know the possible reason for it and how can I overcome this problem...

 

Thanks and regards,

Suresh

0 Kudos
Message 11 of 15
(1,099 Views)
Solution
Accepted by topic author Patra79
No, the shift register is in the wrong place.
0 Kudos
Message 12 of 15
(1,097 Views)

Hi dennis,

 

I just ran the modified VI which gave but the for loop is not executing and returning the value 0 but rest of the program runs fine.

 

Thanks and regards,

Suresh

0 Kudos
Message 13 of 15
(1,091 Views)
Sorry, the inner for loop is not executing because of the initally empty array. It's auto-indexing and a for loop will iterate to a count equal to the size of the smallest array. You could change it to not auto-index and wire a count to the N terminal since you know how many channels you are capturing. A couple of index array functions inside could be used.
Message 14 of 15
(1,087 Views)

Hi Dennis,

 

Thank you very much....its doing what I wanted...thanks again!!!!!

 

Regards,

Suresh

0 Kudos
Message 15 of 15
(1,083 Views)