04-12-2013 09:25 AM
From picture 1, whenever I run the code, the fuzzy output will always be zero. Then I try to extract the Fuzzy logic part into another new VI, give input value manually and it give me output.
So, I assume there is a problem with the DAQ, in picture 2, i replace the daq with one data and run, it works.!!
by the way, the data which is 4 I input is a number that is close to the data that can be output by the daq
So, problem with the DAQ, ok, I open it, and run manually, it works , see picture 3.
Now, I am confused.my code can work with my manualy input data but cannot work with the data from the DAQ VI?
Please help me , big thanks
04-15-2013 01:14 PM
Have you tried adding any probes to the first case where you're seeing the zero value returned? Probing the wire coming out of the DAQ VI, as well as a few going into the fuzzy logic VIs, could help give some more information on where the unexpected data begins to appear.
Should you need it, here is some information explaining how to use probes in LabVIEW. Best of luck with your application!