05-06-2013 01:24 PM
Hello all, i would like to know how can i represent knowledge in labview. I would like to develope a knowledge-based expert system, which would control some kind of technological process. How could i represent a knowledge base and inference engine in labview ? I don't really know am i talking clearly, but i hope you understand what i need. I will be using ni elvis ii+ prototyping board, temperature sensor's data, barometer's data and humidity sensor's data to conotrol some "kind" of tech. process. I just don't know how should i start developing the system. Any advices are receivable. Thnx
~Alex
05-07-2013 05:32 PM
Hi Alex,
So I'm a little unclear of exactly what you're trying to do here, and unfortunately we do not have the resrouces to provide users with specific algorithms for each application. My advice would be to study the structure of an inference engine in a C language (I located an open source rules engine at http://clipsrules.sourceforge.net/) and either try to mimic its implementation in LabVIEW or create a wrapper for the relevant C code within LabVIEW.
Hopefully someone else on the forum may have more insight into this topic.
Cheers,
Andy C.
Applications Engineer
National Instruments
05-08-2013 02:42 PM - edited 05-08-2013 02:43 PM
Hello, try looking into fuzzy logic. It is supported by LabVIEW and could be used for your purpose.
Jakub
05-09-2013 05:10 PM
Okay, i'll try something. I got one more question. How can i represent inputs without DAQ Assistant ? Where can i find these things ? I would like to represent separately every AI channel.
~Alex
05-10-2013 02:44 AM
Take a look at this example: https://decibel.ni.com/content/docs/DOC-25155
05-10-2013 08:22 AM
It says that NI elvis cannot represent more than 1 signal at time. Next question, where can i find things like this ? To represent technological process ? Do i need to download an additional library or something ?
05-13-2013 06:29 PM
Hi Alex,
There are many functions built in to LabVIEW as well as several toolkits which can be used for control processes similar to the one you posted. However, you will need to do some research to see if the function/library already exists for your application. An interface like the one you provided can be programmed from within LabVIEW using basic coding structures.
What exactly are you trying to accomplish?
Cheers,
Andy C.
Applications Engineering
National Instruments
05-14-2013 12:25 AM
Okay, i would like to represent something like this (picture). It is technological process which dry out wood. And i will be using temperature, barometer and humidity sensors here. Barometer for capturing the amount of water in the heater, temperature for camera's, and humidity to control humidity in the camera. The whole process should go automatically. Lets say water is filling untill the needed amount, then it is heated and then sent for heating camera and so on..
05-15-2013 12:13 AM
Hi Alex,
There are many ways to implement this sort of process in LabVIEW. I would recommend starting with a state machine structure to design this system.
You might consult this example as well for a demonstration of how a state machine can be used to control a process.
I hope this helps!
Cheers,
Andy C.
Applications Engineer
National Instruments
05-15-2013 09:56 AM
In this vi, i am trying to fill the tank with water, number goes up to 200, then the valve should close, ( don't know how to do that with these loops) after it reached 200 and should have closed, the heater turns on and heats until 20C. After the water is being heated, through next valve it should go down to 0, but it goes up. The main problem, that i don't know how to use the last parameter again for editing. Lets say valve on and then OFF, it doesn't let me to connect it twice.. (Using boolean) I know that i am doing something wrong, but can't find out what. I'm pretty new to labview. Use the Front Panel to see what i am talking about. Thnx in advance for help people!.