Re: Phantom serial & parallel ports? OCGLTD Sep 10, 2006 8:16 AM (in response to KevinG) Here is the.vmx file for this machine. Note that this vmx shows the 1 serial port I added (which Windows guest cannot connect to). I realize the guest has 2 serial and 1 parallel port by default from the virtual bios. FANTOM DRIVES (275) Global Bargains (245) Logitech (209) Monoprice Inc. (290) Power Stop (320) SAMSUNG. PCI Express to Parallel / Serial Port (2) PCI Express to Parallel Port (4) PCI Express to Serial Port Card (2). Ver009S PCIe Riser 16x to 1x Gold-plated Powered Riser Card with 60cm USB 3.0 Extension Cable-6pin Power Cable - GPU Riser. Minicom by Tripplite Phantom MX II: The Minicom Phantom MXII KVM switching solution takes server management to a higher level of operation. Now two Phantom users can simultaneously control and manage up to 63 servers in mixed, multi-platform environments (PS/2, SUN, RS-232, USB) from two separate KVM consoles.
We want to control a program (written in VB) by pressing a switch attached to a serial to USB adapter. When pressed a certain function in the program will be activated. In order to achieve this we need to poll the relevant com port, continuously in the comm_event of the serial port and call the said function. We tried by connecting a push button switch between the transmit and ground pins of the adapter, to change the state of the input buffer. It works sometimes, but misses most of the time. So it seems we need to create a long pulse train to keep the input buffer state last long enough to detect any change. Is there any gadget available for something like this? What kind of simple electronics can achieve this task.
Any help will be highly appreciated.
dsolimano3 Answers
Fantom Yase 2 Serial Port Number
Here is the answer by Robert Grier (the author of Visual Basic Programmer's Guide to Serial Communications, 4th Edition ISBN 1-890422-28-2) I am grateful for his help and therefore sharing this with all interested.
Connect one side of the switch to the DTR output (pin 4 of the connector) and the other side of the switch to the DCD input (pin 1)
Drop the Comm control from the Toolbox you your form and add a single Label. In code:
dsolimanoFantom Yase 2 Serial Portable
If I understand correctly, the computer doesn't have a serial port, so you are plugging the USB adapter into the USB port on the PC then trying to read some condition that you create on the RS-232 side of the adapter? I would look at the flow control pins DTR/DSR etc. Do you have an external source of power available? RS232 expects typically +/- 12v. Depending on what you're trying to achieve and your circumstances you could also look at adding a hardware serial port to the PC, or using a hardware USB interface such as this one : http://www.maplin.co.uk/usb-experiment-interface-board-42857
peterGpeterGI haven't tested this but some variation on...
...should work. Change the state of pin 6 on a DB9 connector. You can access other pins also using this method.