Home AMX User Forum NetLinx Studio

how can i send code on the thread

hello, i have little question ,how i can send code on the thread ,i saw others can send their code .Can you help me ?

Comments

  • BigsquatchBigsquatch Posts: 216
    You have to put tags in front of and also after your code.

    Example: (remove the * symbols when actually posting code)

    [*code*]

    DEFINE_CONSTANT

    TRUE = 1
    FALSE = 0

    DEFINE_VARIABLE

    INTEGER nDogPolisherIsOn = FALSE

    [*/code*]


    Remove the *'s and it looks like this:
    DEFINE_CONSTANT
    
    TRUE = 1
    FALSE = 0
    
    DEFINE_VARIABLE
    
    INTEGER nDogPolisherIsOn = FALSE
    
  • thanks ,i know it .
  • wgqkakawgqkaka Posts: 16
    about iphone connect to master(NI-700)

    anyone has used the iphone to control your light system ??
    i have some problem about the iphone and the master connect setting.

    this is diagnostics message.
    Line      1 (11:34:21)::  CICSPTCP Rx connection to 192.168.1.8 has been closed locally or by peer
    Line      2 (11:34:21)::  Memory Available = 9074680 <37696>
    Line      3 (11:34:52)::  CICSPTCP Rx connection to 192.168.1.8 has been closed locally or by peer
    Line      4 (11:35:24)::  CICSPTCP Rx connection to 192.168.1.8 has been closed locally or by peer
    Line      5 (11:35:55)::  CICSPTCP Rx connection to 192.168.1.8 has been closed locally or by peer
    Line      6 (11:36:26)::  CICSPTCP Rx connection to 192.168.1.8 has been closed locally or by peer
    

    master's ip is 192.168.1.29.i use the 'AMX_Module_REV02' and i don't know how to set the
    DEFINE_DEVICE
    
    dvMaster_1 =     0:01:0 (* NETLINX MASTER                               *)
    
    RS232____1 =  5001:01:0 (* 		                    NI-RS232    *)
    RS232____2 =  5001:02:0 (* 		                   NI-RS232    *)
    
    dvRelais_1 =  5001:08:0 (*                                  NI-Relais   *)
    
    dvIR_____1 =  5001:09:0 (* 		                    NI-IR       *)
    
    dvIO_____1 =  5001:17:0 (*                                  NI-I/O      *)
    
    dviPhone_1 =     0:02:2 (* iPhone TP Device                 iViever     *)
    

    my iphone's ip is 192.168.1.8 and in my iphone setting 'CF iviewer' the 'File URL' is 'http://192.168.1.237:8020 ',but when i use the CF iviewer on my iphone will get a Warning message like"Experiencing intermittent connection loss"

    my computer's ip is 192.168.1.237 and use the 'CommanFusion guiDesigner' that i set the 'project properties'--'control system'--'Ip Address' is 192.168.1.29 and 'port' is '1319'.


    has anyone ad ,thanks a lot.
Sign In or Register to comment.