Home AMX User Forum AMX General Discussion

NI-Ascent3 system

Hi All,

I have NI-700 with Axcent3, so from the old, I set the Axcent3 to slave (6:0:0) and NI be the master(AxLink together, so it is just a simple question here, hope you could help me!

1. If I want to use the RS232 port in Ax3, so for setting the baud rate, I should use 'send command' just like setting port in NI, and also use send string to make it send RS232 command?

e.g
dvCam = 9:1:1
SEND_COMMAND dvCam, 'SET BAUD 9600, N, 8, 1, 485 DISABLE'
send_string dvCam, "'84',ITOA(Focus_value),13,10"
or I need to do anything else?

2. For IR port in Ax3, I just load the IR to NI and map the Ax3 ports like using the NI-IR port?

e.g
dvLCD1 = 13:1:1 // Axcent3 relay
SEND_COMMAND dvLCD1, 'SET MODE IR'
pulse [ dvLC1, irLCD1On ]


Thanks guys, I am new to AMX

Comments

  • Also,
    AMX provides module, but will AMX provides any source code?
  • DarksideDarkside Posts: 345
    Once the device is declared correctly, you treat it just as any other device in your system.

    dvRGBMatrix = 5001:1:0 // netlinx DPS device declaration
    dvYUVMatrix = 5001:2:0 // netlinx DPS device declaration
    dvDVD = 20:1:0 // AX device declaration
    dvSTB = 21:1:0 // AX device declaration

    Remember, all devices connected via axlink have different device numbers and the same port number.
  • DHawthorneDHawthorne Posts: 4,584
    kenlok16 wrote:
    Also,
    AMX provides module, but will AMX provides any source code?

    No, not for compiled modules. All you get is the UI source (which necessarily changes with every application) and an example file to show how to declare all the necessary variables, etc. AMX does not provide source for the communications or main modules.
  • kenlok16 wrote:
    For IR port in Ax3, I just load the IR to NI and map the Ax3 ports like using the NI-IR port?

    The IR file is loaded to the Axcent3. I think you can do it via the NI, worth a try.
Sign In or Register to comment.