Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - deitz75

Pages: 1 [2]
16
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 06:49:54 pm »
How do I disable User is repeating script?

17
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 06:09:45 pm »
Wait.. Houston... I think we have an issue
It keeps selecting the false statement.

18
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 06:01:14 pm »
I can just keep adding on correct?

19
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 05:56:35 pm »
JERRY!!! You are Awesome!
I think this is exactly what I was after. What tools do you use?

20
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 04:45:08 pm »
I think that was sarcasm?

21
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 24, 2012, 07:50:55 am »
I've looked at the Master Boot records, and I understand the conditions a little, or just enough to get in trouble. LoL... Unfortunately it doesn't help me out with the code.

If InStr(1, OriginalSentence, "My computer won't power on", 1) Then Diagnostics = True (This is a trigger?)
If Diagnostics = True Then (Go to Select Case HalBrain.RandomNum(4))       
    Select Case HalBrain.RandomNum(4)
            Case 1
                GetResponse = "Is the computer plugged in?" & vbCrL
f (Random Response)
            Case 2
                GetResponse = "Are there any lights or LEDs on that suggest power to the motherboard?" & vbCrL
f (Random Response)
            Case 3
                GetResponse = "Do you have a power supply tester?" & vbCrLf
(Random Response)
            Case 4
                GetResponse = "There is a good possibility that your power supply maybe at fault. I suggest you either test your current power supply, or replace it." & vbCrLf
  (Random Response)     
    End Select
    End If
(No more affiliations with original statement or response)

Is there a way to go to another response? I know this is incorrect, but its the best way I can show what I'm thinking.
    If InStr(1, OriginalSentence, "My computer will not power on", 1) Then Diagnostics = True
    If InStr(1, OriginalSentence, "My computer won't power on", 1) Then Diagnostics = True
   
    'Here we can add accociated responses to the above triggers.
    If Diagnostics = True Then         
    Select Case HalBrain.
            Case 1
                GetResponse = "Is the computer plugged in?" & vbCrLf
     If InStr(1, AnswerSentence, "Yes", 1) Then Yes = True
     If InStr(1, AnswerSentence, "No", 1) Then No = False
     If Yes = True Then         
     Select Case HalBrain.
            Case 1
                GetResponse = "Are there any lights or LEDs on that suggest power to the motherboard?" & vbCrLf
     If InStr(1, AnswerSentence, "Yes", 1) Then Yes = True
     If InStr(1, AnswerSentence, "No", 1) Then No = False
     If Yes = True Then         
     Select Case HalBrain.
            Case 1
                 GetResponse = "Do you have a power supply tester?" & vbCrLf   
                  If InStr(1, AnswerSentence, "Yes", 1) Then Yes = True
                  If InStr(1, AnswerSentence, "No", 1) Then No = False
                  If Yes = True Then         
                  Select Case HalBrain.
                          GetResponse = "There is a good possibility that your power supply maybe at fault. I suggest you either test your current power supply, or replace it." & vbCrLf
     If No = False Then
     Select Case HalBrain.
            Case 1
                GetResponse = "Please plug the computer into the proper outlet and proceed with normal operations."  & vbCrLf   
    End Select
    End If

22
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 20, 2012, 09:26:31 am »
The idea is awesome! I believe this is a key function on awareness, or what is programmed to seem self aware.

I am just starting out with this program, and I hope my ideas could contribute to the work at hand. I believe A.I. programs like this one are on the cutting edge of what computing will someday become. In the future I see programs like this one, becoming more apart of our everyday lives. Everything from operating our homes, to helping us in our vehicles, and managing our lives. Maybe even helping with security? Imagine our cars being able to give us direction, playing music, or even help the "Shade Tree" mechanic with diagnostics. What a wonderful idea to have your check engine light come on, and the car tell you exactly whats wrong, and how to fix it. Imagine our homes with A.I. built into them. Automatically turning on and off lights, as we walk into rooms, or managing the thermostat. Maybe even being able to detect a intrusion, and contacting authorities. This is good stuff I see in the future for A.I.

If anyone could give me a little direction on using VB code for Ultra Hal, it would be helpful. I am familiar with html, C++, and GUI guided VB. Although I wouldn't consider myself a programmer, I don't believe this is out of the realm of my understanding. All I need to know is what does what. Any help would be appreciated, or at least give an example of the context I need. Thank you!

23
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 19, 2012, 09:20:58 am »
Correct me if I am wrong, but doesn't this code suggest a random response to the question? I need a response base on true or false, which would lead to the next line of questioning. Ladder logic moves in a direct line of questions. Why would someone suggest getting a new power supply before checking to see if the computers plugged in? Yes or no questions would lead to the next step in the logic ladder to determine the cause of error.

24
Programming using the Ultra Hal Brain Editor / Re: Q&A
« on: October 17, 2012, 01:17:18 pm »
Would VB be the way to go? I'm kind of new to Hal, so I I'll take your word for it, and thanks for the reply. What are you using to write your code, and how do you put it in Hal? Is this what plugin looks like?

25
Programming using the Ultra Hal Brain Editor / Q&A
« on: October 17, 2012, 10:15:12 am »
I would like to used the Brain editor to program Hal to troubleshoot problems. Example: User: "My computer will not power on." Hal: "Is the computer plugged in?" User:"Yes." Hal:"Are there any lights or LEDs on that suggest power to the motherboard?" User: "No." Hal: "Do you have a power supply tester?" User: "No." Hal: "There is a good possibility that your power supply maybe at fault. I suggest you either test your current power supply, or replace it." Now, if the user answered no to the question of, "Is the computer plugged in?" Hal would give the answer, "Please plug the computer into the proper outlet and proceed with normal operations."

Now I realize the countless scenarios that have to be enter into the editor, but I'm looking for a known working procedure that would give me the responses to yes or no question, and follow a logical ladder diagram.

I am a technician/engineer of sorts and I sometimes find myself over thinking problems, and issues. It would be nice to use Hal as a partner, in the realm of what I do, and keep someone around that can keep me on track, with simplicity, and logical thought.

Pages: 1 [2]