cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
30
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Benjamin Alva on 05-11-2009 04:40:46 PM
I've downloaded your module and sample code and it appears to already be setup for serial communication, I have my C60 on com4 so that is the only change I made, I compiled, uploaded and I don't see anything happening on my device notifications, other than the touch panel stuff.   Is there more to it, than just download (from you) and load.  I just want to see it in action, thanks

Subject: RE: Trick to get sample code to work on NI4100
Replied by: Viggo Fredriksen on 05-11-2009 05:09:25 PM
Hi Benjamin,

  you should not need to change anything other than the following in the Tandberg_TC_Main.axs file:

Change this to com 4
1dvTandberg_TC = 5001:1:0   // RS232 port 1 real device



Ensure that the Baud_Rate and Password properties are the same as the C60 configuration
before sending REINIT to the module. The section can be found towards the end of the file.
 1(***********************************************************)
 2(*                THE EVENTS GO BELOW                      *)
 3(***********************************************************)
 4DEFINE_EVENT
 5
 6DATA_EVENT[vdvTandberg_TC]
 7{
 8    ONLINE:
 9    {
10        // Set the IP address if using IP control (default=<na>)
11        // send_command vdvTandberg_TC,'PROPERTY-IP_Address,'
12
13        // Set the RS-232 baud rate (default=38400)
14        send_command vdvTandberg_TC,'PROPERTY-Baud_Rate,38400'
15
16        // Set a password (default=TANDBERG)
17        // send_command vdvTandberg_TC,'PROPERTY-Password,TANDBERG'
18
19        // Re-initialize the module for the properties to take place
20        send_command vdvTandberg_TC,'REINIT'
21    }
22}


Subject: RE: Trick to get sample code to work on NI4100
Replied by: Benjamin Alva on 05-11-2009 07:52:22 PM
Yes, we have it set as you have shown, but for some reason we don't see the Virtual Device online.   I have the panel and the master, but no Virtual Devices, we looked for any typos, but can't find any,

Ben

Subject: RE: Trick to get sample code to work on NI4100
Replied by: Benjamin Alva on 05-11-2009 08:12:34 PM
It was figured out for me, the firmware on the controller was 1 rev too old I guess, it's working now that we updated the firmware on the controller, that information is probably on the documentation that i sped through, if not it might be helpful to add, thank you for the quick answer to my question, I'm sure there'll be more

Subject: RE: Trick to get sample code to work on NI4100
Replied by: Tyler Geddes on 20-10-2010 09:06:40 PM
Viggo Fredriksen:
Hi Benjamin,

  you should not need to change anything other than the following in the Tandberg_TC_Main.axs file:

Change this to com 4
1dvTandberg_TC = 5001:1:0   // RS232 port 1 real device



Ensure that the Baud_Rate and Password properties are the same as the C60 configuration
before sending REINIT to the module. The section can be found towards the end of the file.
 1(***********************************************************)
 2(*                THE EVENTS GO BELOW                      *)
 3(***********************************************************)
 4DEFINE_EVENT
 5
 6DATA_EVENT[vdvTandberg_TC]
 7{
 8    ONLINE:
 9    {
10        // Set the IP address if using IP control (default=<na>)
11        // send_command vdvTandberg_TC,'PROPERTY-IP_Address,'
12
13        // Set the RS-232 baud rate (default=38400)
14        send_command vdvTandberg_TC,'PROPERTY-Baud_Rate,38400'
15
16        // Set a password (default=TANDBERG)
17        // send_command vdvTandberg_TC,'PROPERTY-Password,TANDBERG'
18
19        // Re-initialize the module for the properties to take place
20        send_command vdvTandberg_TC,'REINIT'
21    }
22}


When I change the baud rate on this line to 19200 the netlinx controller still sends out a command to the TANDBERG as the module initializes that says "Command To [5001:1:1]-[TSET BAUD 38400,N,8,1,485 DISABLE]"

Is there any other place that one must change the baud rate within the AMX module?
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links