Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > General Hardware Discussion > Fusion Brain


Reply
 
Share Thread Tools Display Modes
Old 04-15-2009, 11:35 PM   #1
Newbie
 
Join Date: Apr 2009
Posts: 7
jeffkay is an unknown quantity at this point
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.
jeffkay is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 04-16-2009, 12:09 AM   #2
Fusion Brain Creator
 
Join Date: Mar 2005
Posts: 2,197
greenman100 is on a distinguished road
Post some screenshots.
greenman100 is offline   Reply With Quote
Old 04-16-2009, 07:14 PM   #3
Newbie
 
Join Date: Apr 2009
Posts: 7
jeffkay is an unknown quantity at this point
Help Programming...

Got it to work! Now I will have more questions but it is working well...
Jeff
jeffkay is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
**NEW Fusion Control Centre Configuration Wizard!** 2k1Toaster FB Software 60 09-08-2008 01:51 PM
Fusion Control Centre Uber MDX -- Now with Threads and Timer Updates :) 2k1Toaster FB Software 0 08-31-2008 02:32 AM
How to add a Fusion Brain instance to your configuration file 2k1Toaster FB Documentation and Tutorials 0 06-07-2008 09:42 AM
What programming language? KyleYankan Software & Software Development 32 04-19-2005 05:00 PM
Programming help needed (DirectShow & VB) All4Norway Software & Software Development 0 01-06-2003 06:42 PM



All times are GMT -5. The time now is 08:13 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics