I am not sure if this is going to work, but if you can see a BANG from the middle pin (on data) off the RS232 node, you are on a good lead.
(connect a counter or something to see if something is happening)
Others Q’s: Are you sure it is COMport1? Are you sure you used the correct colors?
DS-412 Model
3A Max power
125V Max Current
AC Altering Current
JAPAN Country made in
Stil I would use an old mouse, way easier…, or something like an old game-controller, more buttons, or an Arduino, even more buttons!!
Are you sure it is COMport1? Are you sure you used the correct colors?
i am pretty sure cables and colors are okay, at least these guys told me to do this:
[ link: sci.electronics.basics]( link: sci.electronics.basics)
i checked cables 4th pin is yellow 6th is blue, so i connected beasts…
but i wasn’t sure about com port number, so i tried all 32 :), however it doesn’t work. Probably i’ll try old mouse, arduino is not worth buying because of one knob (i need only one). But if someone has an idea about rs232 knob issue, would be great to hear some tips.
update: i don’t know what i’ve done, but after i cut serial cable, to make color wires longer (for easier tweaking)
yellow is 4th pin – DTR (Outgoing handshaking signal)
and red is 2nd pin – RD (Incoming Data from a DCE)
i’m curious if other cables will make any signal in vvvv…
…if I won’t write about further progress in 5 minutes – it means i’ve been burned my motherboard :)))
…so i tried all in+out pins combination, and got these work for me: red + orange = makes On Data output to 1 forever (kinda Toggle)
red + yellow = makes On Data to 1 once (kinda Bang)
Oke, congrats :) That is one simple way to make a button to work in vvvv!!!
The ÿÿÿ and beta sign are ASCII code, but I think you would be more interested in the value it represents, so connect a Ord (string) to it.
I think you want to stick with the ‘on data’ pin to introduce the button in vvvv. If you connect a TogEdge (animation) between the counter, does one press represent one count??
If not, we need to think about another way to make it work ;)
what jimmi is trying to accomplish is using the DTR (4) and DSR (6) pins of the RS232 port to read switches. this is basically a hack which is not a part of the RS232 specification. these lines are meant to check if a telephone line of a modem is ready, or if the communication between pc and device somehow break down. nobody uses these lines for that purposes anymore, and it is quite a good idea to use these lines for connecting switches, but unfortunately vvvv´s RS232 node will not return the current status of these lines – it will just return the data which gets received according to the RS232 spec.
as it was demonstrated it is actually possible to get at least some behaviour when wiggeling these line, but i consider the
returned ÿÿÿ character more like the static noise used to be seen on tv channels late at night, as some interpretable data. the characters received will change with different baud rates, and may also vary with different rs232 hardware or cables.
anyway, if it works, thats cool, and i am not in the position to say it doesnt work, but i would rather suggest dismantling an old gamepad or mouse to get a much more reliable data input.