Passing IP Address to a Netlinx Module
tpeery
Posts: 5
Does anyone have any example of how to pass an IP address to a Netlinx Module?
0
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.