The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 6:43pm
Pages: 1
Send Topic Print
type check error, problem with terminal (Read 35 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
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.