×

Sale ends todayGet 30% off any course (excluding packages)

Ends in --- --- ---

Math block

Link G4 Plus Software Tutorial

Forum Posts

Courses

Blog

Tech Articles

Discussion and questions related to the course Link G4 Software Tutorial

= Resolved threads

Author
134 Views

Hey guys,

was wondering how i would go about making a math block to use one input to turn on two outputs

can di 1 status =

Can di 2 status

Can di 3 status

so would the equation be a=b+c

If the goal is to turn on 2 outputs when one input is turned on, here's one way:

Make a GP output for each output

set the output for it to CAN Aux # (whatever number you want to use)

set switch logic to cond 1 only

set the switch parameter to be the status of the thing you want to be the input

set sw cond 1 to =

set the next line to active

The setup for each of the 2 would be identical except for the GP Output # and CAN Aux #.

It may help if you check out Boolean Logic, AKA Boolean Algebra, as it's the math' behind the core logic of the equations.

I don't know the specific options available to you, in the cell, but that should give you something to work with.

Math channels would be used to generate a numeric value, rather than turn on 2 outputs.

We usually reply within 12hrs (often sooner)

Need Help?

Need help choosing a course?

Experiencing website difficulties?

Or need to contact us for any other reason?