Could not get receive sequence from COM port's RX line in docklight

693 Views Asked by At

I used a RS232 to connect my pc and VALHALLA 4300C, and used Docklight software to explore it. I went through a sample project: PingPong.ptp, I followed the instruction and I did not get any data back. I could only see the TX info but not RX info. (NOTE: the reason that I used 4300C is because I just explore Docklight and I can only have access to 4300C for the moment.) Here is the link to the instruction of the sample project. It is REALLY short. http://docklight.de/manual/index.html Any help would be appreciated.

1

There are 1 best solutions below

2
Oliver Heggelbacher On BEST ANSWER

As mentioned, the PingPong example is not suitable for the application you have with the VALHALLA 4300C. The 4300C will not respond to a "Ping" text it does not understand.

Here is how I suggest you get started communicating with your VALHALLA 4300C from a Windows PC.

  • Start Docklight (but also any other plain text terminal like Realterm, Teraterm oder YAT should work, of course).

  • Select the COM port number that is your actual RS232 interface on your PC. (Docklight displays a dropdown list of available ports and their descriptions.)

  • Set the serial port settings to 9600 baud, no parity, 8 data bits, one stop bit (see the Valhalla 4300C Manual on page 6-15).

  • Open the COM port and send a command the VALHALLA 4300C understands, e.g. *IDN? followed by a CR (carriage return) and LF (line feed). Refer to the 4300C Manual from 6-18 for the full command list.

  • You can use the ValhallaScientific_4300C_Example.ptp Docklight example project I created: Download it, open it by double-click, adjust the COM1 port number to what is the actual COM port for your PC's RS232 interface. Then click on the "IDN" Send Sequence to send a query about Manufacturer & model details.

Docklight COM port number and serial settings (baud, parity, ..)

Sending example data sequence (no actual 4300C connected for this demo)