|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17 ![]() |
Hi
I am using following syntex to define gradient of temp to UDMI. ND_VEC(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2 ),=,C_TMP0_G(c,ct)); I got following warning. warning C4002: too many actual parameters for macro 'ND_VEC' I tried following four options which did not work. " (1) NV_D(TEMP_GRAD,=,C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_U DMI(c,ct,2)); ND_VEC(TEMP_GRAD,C_TMP0_G(c,ct)); (2) ND_SET(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2 ),C_TMP0_G(c,ct)[0],C_TMP0_G(c,ct)[1],C_TMP0_G(c,ct)[2]); (3) ND_V(C_UDMI(c,ct,0),C_UDMI(c,ct,1),C_UDMI(c,ct,2), =,C_TMP0_G(c,ct)[0],C_TMP0_G(c,ct)[1],C_TMP0_G(c,ct)[2]); (4) C_UDMI(c,ct,0)=C_TMP0_G(c,ct)[0]; C_UDMI(c,ct,1)=C_TMP0_G(c,ct)[1]; C_UDMI(c,ct,2)=C_TMP0_G(c,ct)[2]; " Can anybody suggest where is the source of error? Any response is welcome. Thank you Mvee |
|
![]() |
![]() |
![]() |
|
|