DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create a channel with results coming from an expression?

Hello!

I need to create a new channel, e.g. "Drag Torque", which cointains as elements the results coming from this expression:

 

y = 1 + 2*x - 3*x^2 + 5*x^3

 

where x = elements of the "Speed" channel.

Basically I need to calculate the drag torque as function of speed --> y = f(x).

So in the new channel named "Drag Torque" I need to store all of the results through a loop. Can you help me? 

 

Thanks in advance!

0 Kudos
Message 1 of 2
(1,081 Views)

Hi Piacioo,

 

Kindly see Generating a Formula Channel in the Data Portal.

 

In your case, you would:

  1. Right-click the "Speed" channel in DataPortal.
  2. From the context menu, select New>>Formula Channel.
  3. In the popup Window, you will write the channel name as "Drag Torque".
  4. In the formula field, wherever you need "x" ("Speed") drag the Speed channel from DataPortal and drop it in the Formula field. Write the rest of the formala normally, using the keyboard.
0 Kudos
Message 2 of 2
(1,074 Views)