DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Diadem DAC formula invalid mathematical operation

Solved!
Go to solution

Hello,

 

I will disturb you with a short question, maybe easy for you but I didn't find a solution for my self ( I'm a novice in working with Diadem DAC)

I build a scheme and when I run it I receive an  error ( see attachment) "...invalid mathematical operation" and I don't know what is wrong.

Maybe I don't know how to work with the formula block, and maybe you can give me some hints.

 

Please have a look on this error (see attachment) and tell me what to do.

 

 

0 Kudos
Message 1 of 7
(4,944 Views)

Hy again,

 

I came back with some auxiliary info.

I have seen that I need to use auxiliary variables, but I have 40 variables ( channels that I want to use in formula blocks) , and  I can't assign all as auxiliary variables.

How to declare the all 40 channels?

0 Kudos
Message 2 of 7
(4,941 Views)

Try formula without the ' character like this    Resistor100_1tens / 100

 

If you need 40 channels in one calculation then you need to divide the fomula into multiple formulas, each formula block can have max 10 channels.

0 Kudos
Message 3 of 7
(4,920 Views)
Solution
Accepted by topic author Marse

Hi Marse,

 

It seems that you're using DIAdem 10.2. In this version there was a limit for the symbol name in the f(x) block of 16 characters. If you change the name it works fine (please have a look at the attachment). This is changed with DIAdem 11.0 or later.

 

Referring to your second question I'm not such whether I really understand the problem. Please can you explain what you would like to do?

 

Greetings

Walter

0 Kudos
Message 4 of 7
(4,919 Views)
... and here is the attachment ...
0 Kudos
Message 5 of 7
(4,916 Views)

Hello Walter,

 

Referring to the  second question, I was thinking to transform all the 40 channels to auxiliary variables, so the formula can work, but I find out later that if I will change the name of the channels( to be shorter) it will work.

 

In Diadem 11 you don't have a limit of characters?

 

Thank you again for your help.

 

Best regards,

Marius

0 Kudos
Message 6 of 7
(4,882 Views)

Hi Marse,

 

Sorry for the late response, but the last two weeks I wasn't in the office. Yes, since DIAdem 11.0 we don't have a channel name length limitation.

 

Greetings

Walter

0 Kudos
Message 7 of 7
(4,742 Views)