The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines. Sep 9th, 2010, 6:15pm
  HomeHelpSearchLoginRegisterPM to admin  
 
Pages: 1
Send Topic Print
type check error, problem with terminal (Read 91 times)
chippendale
New Member
*
Offline



Posts: 3

type check error, problem with terminal
Jul 23rd, 2010, 5:57am
 
Hi there,

I have an terminal bus.
terminal test:electrical_vector(0 to3);

I assign a constant through quantity to these terminals.
test(0 to 3) == -10.0e-6;

The output message of the compiler is
"type check error: expression is not a type IEEE.ELCTRICAL_SYSTEM.__THROUGH_ELECTRICAL_VECTOR"
and references to the above given text passage

Any ideas?!


Back to top
 
 
View Profile   IP Logged
chippendale
New Member
*
Offline



Posts: 3

Re: type check error, problem with terminal
Reply #1 - Jul 23rd, 2010, 6:59am
 
Hi,
I found the solution. The assignment has to look like this
test(0 to 3) == (others => -10.0e-6);
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Trouble viewing this site? Copyright © 2002-2009 Designer's Guide Consulting. 'Designer's Guide' is a registered trademark of Designer's Guide LLC. All rights reserved.
Give back to the Designer's Guide Community by shopping at Amazon. Purchasing products through this link helps to fund our activities and does not increase your cost.