Results 1 to 3 of 3

Thread: Help Needed with Fusion Brian Programming

  1. #1
    Newbie
    Join Date
    Apr 2009
    Posts
    7

    Help Needed with Fusion Brian Programming

    Hi, Nick and the team are quite busy and I am hoping that some of you other users can give me some guidance. I have used BASIC and such but I am having some problems with logic and the configurator. Here is what I want to do as a first step: Read input 0's voltage and let's say if the input is above 3.3v for more than 8 second, then turn on relay (output 0). Seems simple. I can do this with the GUI button all day (I mean turning the relay on and off. But that just proves the brain and comp are working). So here is what I have done. I run the ninja for 1 input and one output. Using the virtual brain to test. I look at the logic builder for input 0. From left to right I have: input 0 connecting to >= operator and have a numeric operator connected to the other input of the >= operator. The number is 3.3 in that field. Then this connects to the output (green arrow object). Then I add an if statement setting it up for "trigger output" at port 0. I save all the configurator stuff to the FusionControl file and launch the MDX. The virtual brain pops up and I can adjust the input 0's number which does increment on the MDX Guil but the relay "output" on the virtual brain does not toggle ever (but it does from the GUI button). So in the above example, obviosly I have no step included yet for the hysterisis or checking for the 8 seconds. One thing at a time...

    Secondly, How do you change the button from momentary to toggling again--I did it before but forgot how and now only have the momentary mode.

    Another question is about the logic builder's "output node" Nick says it is an input so I assume this is used for polling to se what state it is in or am I wrong on that?

    Most of my confusion seems to stem from should I be using bolean logic or numeric variables I guess. If folks have a skin I can load and pick at that might be helpful?
    Thanks, Jeff K.

  2. #2
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    Post some screenshots.

  3. #3
    Newbie
    Join Date
    Apr 2009
    Posts
    7

    Help Programming...

    Got it to work! Now I will have more questions but it is working well...
    Jeff

Similar Threads

  1. **NEW Fusion Control Centre Configuration Wizard!**
    By 2k1Toaster in forum FB Software
    Replies: 60
    Last Post: 09-08-2008, 01:51 PM
  2. Replies: 0
    Last Post: 08-31-2008, 02:32 AM
  3. How to add a Fusion Brain instance to your configuration file
    By 2k1Toaster in forum FB Documentation and Tutorials
    Replies: 0
    Last Post: 06-07-2008, 09:42 AM
  4. What programming language?
    By KyleYankan in forum Software & Software Development
    Replies: 32
    Last Post: 04-19-2005, 05:00 PM
  5. Programming help needed (DirectShow & VB)
    By All4Norway in forum Software & Software Development
    Replies: 0
    Last Post: 01-06-2003, 06:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •