LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to put 2d data as input of fuzzy controller?

Hi

I am working on fuzzy based controller. I have two inputs: 01. EMG 02. Acceleration Angle. These two inputs make a 2d array. But the fuzzy controller VI doesn't accept the 2d array. So I concatenated the array and it worked. But the problem is, when I tried to run the VI for real time data, it took some emg data and then angle data (please see the picture attached, blue circle is EMG and red circle is angle.) But i need those one by one, i.e. one emg data then one angle data then again one emg and so on... How to get it? Please let me know if you have any idea. One simplified VI (for offline data) and my fuzzy system (.fs) are attached herewith.

 

 

Thanks-

Taslim

Download All
0 Kudos
Message 1 of 2
(2,180 Views)

Use the Interleave 1D Arrays function instead of the Build Array function.

Kelly Bersch
Certified LabVIEW Developer
Kudos are always welcome
Message 2 of 2
(2,136 Views)