Hi pstest,
You can use anything that is capable of generating a TTL output, such as a DAQ card. It may be possible to use the control lines, such as RTS, CTS, etc on a serial port to do the same without buying an expensive card, you'd just need an appropriate cable and software to control those lines.
A software approach will be coming in the API release.
David