tell where is the problem please!!
galaye
Junior Member
hello!!
i have a NI4000 controler...
i controled until now 6 devices and worked fine...
now i want to add a device to the 7 port and does not seem to work!!
if i change between the port put the device on port 6 inted port 7...
all the devices work and the device on the 6 port does not...it like it does not send commands more then 6 port and the contorler does want to only 6 port it does not matter to him the order....
the device is another mtrx of kramer, i have allredy have one that work on port 2 ,
i have tried to put the cable that work on port 2 and kramer work fine from port 2 but stop working on port 7 ,it does seem to be the strings ....
i think i missing something like enable 7 port ,or send commands to 7 ports, and i am seending the configuration at the start of the code to each port with the right name!!
it a problem i have never come a crross please can u give some leeds ,if u had
understand the problem?
i have a NI4000 controler...
i controled until now 6 devices and worked fine...
now i want to add a device to the 7 port and does not seem to work!!
if i change between the port put the device on port 6 inted port 7...
all the devices work and the device on the 6 port does not...it like it does not send commands more then 6 port and the contorler does want to only 6 port it does not matter to him the order....
the device is another mtrx of kramer, i have allredy have one that work on port 2 ,
i have tried to put the cable that work on port 2 and kramer work fine from port 2 but stop working on port 7 ,it does seem to be the strings ....
i think i missing something like enable 7 port ,or send commands to 7 ports, and i am seending the configuration at the start of the code to each port with the right name!!
it a problem i have never come a crross please can u give some leeds ,if u had
understand the problem?
Comments
-
a: check the baudrate of port 7
b: check if the TX LED blinks when you send something
c: check if the RX LED blinks when you send something
d: your port could be broke
-
Also,
You have to set the baud rate somewhere in the program. make sure that you do not put the baud rate set command(s) in the DEFINE_START section. Put it in a DATA_EVENT instead.
So for example
DEFINE_DEVICE
dv_SERIAL_PORT_7 = 5001:07:0
DEFINE_EVENT
DATA_EVENT[dv_SERIAL_PORT_7]
{
ONLINE:
{
SEND_COMMAND dv_SERIAL_PORT_7, 'SET BAUD 19200,N,8,1 485 DISABLE'
}
} -
well the led only tx led!! and i did set the boudrate
i set it the same all the others
is there any diffrence between the ports
it is a strange problem when i change ports the one i replace the cable from stops working and the new start working...
i will try with a clean soft!!
this soft is origenly works on axcent 3 and i chnged it according to the note on amx.com to netlinx!!
thanks
any more ideas -
it suppose to be in the event not on the start!!
i understand ,it suppose to be on the event nor on the define_start!!!
right
this i didnt know...
so i suppose to all ports define them by define event!! -
DEFINE_START in a NetLinx application, happens before the devices come on line. So the command has no effect. That's why you need to initialize devices in the ONLINE event.In NetLinx, DEFINE_START is only good for initializing variables, or setting up buffers and level connections.
-
thanks....now i need to do this to all devices!!
so how the other devices work....does he has some old config that he remember from older soft ...\\ -
I think that baud rates etc are persistent, so that you can get lucky and have a port's settings correct even though your software didn't do it.
-
i understand!!!
thanks alot....
i will try it and tell u , i will also try to control the device by ip,
now i looking to for a web base tps....so can control the devices from my laptop.
the idea is to put on the ie an ip addres and the same gui as the tps has comes up....
still looking thanks for all your help! -
o.k....i have tried....
and this is what was the problem...
i didnt know that the port setting is being done on the event...
thanks
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums