Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I tried and succeed. However, ActiveTcl doesn't support transceiver toolkit commnad such as get_service_paths. I want to use transceiver toolkit to measure number of bits, errors, and BER and tcom to arrange them in xlsx file. How can I do it? --- Quote End --- Ok, this confirms that there is nothing wrong with the Tcl package that you are trying to use. However, it does confirm that SystemConsole tool is not "real" Tcl. It does not support various Tcl commands, Tk does not work, and its difficult to integrate 3rd party packages. Unfortunately, because you want to use the Transceiver Toolkit commands, that forces you to use SystemConsole. You will need to find a work-around. Rather than using .xlsx format from Tcl, just use a file with comma-separated fields or tab-separated fields, and then read that using Excel. An alternative work-around is to control SystemConsole via a socket. I wrote a client-server application in Tcl for this tutorial; http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial There is a version of the server that runs under SystemConsole. This allows you to execute any SystemConsole command from another client, eg., a C application or a Tcl/Tk application. Examples of clients are included. Cheers, Dave