Both amp_hour_text_field and projector_ip are being declared as single byte character variables. You want to make them into an array of appropriate length.
Change
(dev vdvprojector, dev dvprojector,dev dvtp, char lamp_hour_text_field, CHAR projector_ip)
to
(dev vdvprojector, dev dvprojector,dev dvtp, char lamp_hour_text_field[4], CHAR projector_ip[15])
Both amp_hour_text_field and projector_ip are being declared as single byte character variables. You want to make them into an array of appropriate length.
Change
(dev vdvprojector, dev dvprojector,dev dvtp, char lamp_hour_text_field, CHAR projector_ip)
to
(dev vdvprojector, dev dvprojector,dev dvtp, char lamp_hour_text_field[4], CHAR projector_ip[15])
I just guessed on the lamp hour length.
Thanks I got it!! I actually was define the them as constants and not variables.
Comments
Is that what you are asking for?
I have defined my ip address in my define module like this.
(dev vdvprojector, dev dvprojector,dev dvtp, char lamp_hour_text_field, CHAR projector_ip)
Then in my main program I have defined like this
comm(vDVMON1,DVPROJECTOR1,dvtp,14,projector_1_ip)
What I get in the complier is that the char of projector_1_ip is that it is an expression.
Any ideas?
Change to
I just guessed on the lamp hour length.
Thanks I got it!! I actually was define the them as constants and not variables.