Help with I/O Ports
staticattic
Posts: 200
in AMX Hardware
I have an NI-3100 and am trying to use the I/O ports to verify if an A/B switch is in position A or B. When the switch is in A, the status pin puts out 0VDC with respect to ground. When the switch is in the B position, the status pin puts out 5VDC with respect to ground. I have taken the status pin wire and ran it to I/O 1. I took the ground wire and ran that to the ground I/O pin. The I/O never does anything. I have a multimeter and can verify the voltage is there. I have gone through the AMX manuals and on paper, everything is connected properly. What am I doing wrong? Thanks.
0
Comments
I've found that (in general) it is a good practice to keep such things separate when possible. If it were me, I'd put a relay on the output of the switch your speaking of and then use the contact closure of the relay to connect to the I/O of the AMX master.
This does a couple things:
1) it physically separates the master from the switch circuit. Not that anything might happen but I've personally been bit in the rear end by stuff like this when it fails or whatnot. I just don't like the idea of sending voltage from another device into my boxes. (albiet even low voltage...)
2) it simplifies your use of the I/O port. I've found that the I/O ports can be somewhat fussy about sensing voltages. It seems simple enough but I've found that input/output impedences can get screwy between the AMX and whatever else and it results in strange behavior. However, if the voltage is used to charge an electromagnet in a relay it seems to work more reliably.
Now, it does introduce another component and the possibility of failure there too. But, I've found this to be a non-issue. Use a high quaility relay and you should be fine.
That's my 2 cents...
e
I was trying to make this project work with what I was given. I guess I need to take a trip to Radio Shack and pick up a few relays. Thanks again.
Hey, I'm always looking for an excuse to hit 'The Shack' whenever possible.
But Eric's point is a very good one, and what I consider best practice. By directly connecting and outside voltage, you run the risk of blowing the TTL that drives the IO port. In my experience, that can mean anything from that particular IO not working to none of them working ... and losing the 12V output as well. In extreme cases, you can blow the whole controller chassis (happened to me once, but that was enough). Isolating your input with a relay is highly recommended. The one exception I would make to that is when using an AMX device like the VSS2 or PCS, which were specifically designed for that purpose.
Are they still selling parts? I thought is was all cell phones and satellite systems these days.
Check out: www.radioshackcatalogs.com for some nostalgia.
We also still have a good old fashioned electronics parts store complete with shirtsleves, hoorned rimmed glasses and pocket protectors. That too is going the way of the Wooly Mammoth. Ha! remember when those were roaming around free on the plains! I do. Those were the days those were the days...... zzzzzzzzzzzzzzzz uprphmph ah did is doze off?