Sponsored links

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


Reply
 
Share Thread Tools Display Modes
Old 07-20-2009, 10:49 PM   #1
Low Bitrate
 
GadgetBandit's Avatar
 
Join Date: Oct 2008
Posts: 87
GadgetBandit is an unknown quantity at this point
when statements

<when year="XXXX" month="XX" day="XX" hour="XX" minute="30" second="XX">

any way to substitute a variable?

<when year="XXXX" month="XX" day="XX" hour="XX" minute="var" second="XX">

or

<when "var">

and if that's possible, how do you concatenate strings?

Thanks,
GadgetBandit
GadgetBandit is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 11-04-2009, 11:59 PM   #2
JiC
Newbie
 
Join Date: Sep 2008
Posts: 25
JiC is an unknown quantity at this point
<whens> look like this:
Code:
<boolean_operation type="and"> <parameter1> <boolean_operation type="equal to"> <parameter1> <variable do="get" name="mpp"></variable> </parameter1> <parameter2> <number>1</number> </parameter2> </boolean_operation> </parameter1> <parameter2> <boolean_operation type="less than"> <parameter1> <analogue id="SWC" time="0"></analogue> </parameter1> <parameter2> <number>0.2</number> </parameter2> </boolean_operation> </parameter2> </boolean_operation>

if mpp==1 && SWC < 0.2 then ...


I'm definitely not the expert, but I don't think you'll be able to find things like date and string manipulation in the Fusion environment.

I think a better way would be to do your logic in another program, then have it use the COM interface to trigger digital outputs or whatever it is you're after.
JiC is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
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
Variable syntax questions Iamthehor FB Software 14 02-25-2009 10:58 PM
Suggested reading to better understand graphical interface Dagwood FB Documentation and Tutorials 6 09-24-2008 10:12 AM
police laptop\radio frequency jdogg1583 Hardware Development 63 03-31-2008 05:32 PM
So...America IS hated? sdashiki Off Topic 48 09-09-2005 11:21 AM



All times are GMT -5. The time now is 09:58 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