04-14-2017 04:46 AM
I keep getting this error all the time, It seems like the Labview is not able to locake my fuzzy logic system file the so called .fis file. I have tried several ways to create a path to the location where my file is, but it always gives me this error. Its incredibly irritating.It just dosent make sense.
Also what is irritating is that National Instruments explains several places how to do certain things, and when you do them exactly to the point it doesn't work and you get errors.
Does anybody have any clue on how to make this path correctly????
04-14-2017 10:33 AM
Hi adis,
Does anybody have any clue on how to make this path correctly????
Well, start by using standard delimiter chars as expected by Windows! You used a forward slash when Windows expects a backslash!
To avoid/minimize problems like this you should use path constants instead of strings: they come with path checking already built in!
04-14-2017 10:57 AM
I figured out the problem. I removed the blocks Build Path and Current VIs Path and used only File Path control directly into the FL Load Fuzzy System block and baaam it worked. The NI FRuzzy Logic Guide was misleading a bit.
04-14-2017 11:07 AM
Hi adis,
I … used only File Path control directly
So you used a correct path (as expected by Windows) and your VI is working!?
How is this related to the PID/Fuzzy toolkit and its help?
(Hint: use AutoCleanup before uploading images of the VI block diagram…)
04-15-2017 06:49 AM
Hi GerdW, and thanks for the response. I am relatively new to Labview so some of my questions must probably appear very obvious to many peeps here. Apologize for that.
I was using the recipe from the LABVIEW-PID and Fuzzy Logic Toolkit User Manual that I found online on how to make Fuzzy logic controllers. That is why I used this approach from examples from the manual with Current VIs Path block and Build Path blocks etc which didn't work.
Anyways my project is actually monitoring and watering of a potted houseplant where I need to implement a fuzzy logic controller to control when the watering of the plant shall be done. The watering of the plant is mainly done when the soil moisture drops below certain amount of %. Now the controller with the defined membership functions is done, and the output from it is actually the watering dosage time, basically the pump work time.How ever since my pump and the rest of the system is wired up to an Ardunio UNO I dont know how to start the pump from Labview, so this is the next obstacle.