Hi everyone,
I am trying to communicate with the a programmable dc load device through the serial port, using python scripts (Reason for python? The s/w library from the manufacturer is written in python )
The serial port monitor's Request-View dump for the custom software provided by the manufacturer (it has limited functionality) can be seen below...
As we can see here, the frames that are sent, get a complementary response frame from the dc load device.
However, for some unknown reason, i can't get my python scripts to extract a response from the darn thing!
The serial port monitor dump for my code can be seen below,
This thing just gets stuck after sending the first command itself...NO RESPONSE at all after that! I've checked the baud rate settings, and other basic configuration information for the serial comm (8-bits, no parity, 1 stop bit) for both sides...the settings are the same. Still nothing
Could you guys suggest some troubleshooting methods?
NOTE: The device's manual is attached to this post. Jump to page-45 for RS232 related details.
Thanks for having a look Comments/suggestions would be greatly appreciated!!!
Regards,
mav
I am trying to communicate with the a programmable dc load device through the serial port, using python scripts (Reason for python? The s/w library from the manufacturer is written in python )
The serial port monitor's Request-View dump for the custom software provided by the manufacturer (it has limited functionality) can be seen below...
Rich (BB code):
Port opened by process "PV8500.exe" (PID: 4736)
Request: 7/6/2009 9:57:39 AM.50964 (+424.8825 seconds)
AA FF 6A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13
Answer: 7/6/2009 9:57:39 AM.53764 (+0.0280 seconds)
AA 00 6A 38 35 31 33 43 83 01 36 33 37 37 30 30 31 30 38 34 00 00 00 00 00 B0
Request: 7/6/2009 9:57:39 AM.73564 (+0.1680 seconds)
AA FF 20 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 CA
Answer: 7/6/2009 9:57:39 AM.76764 (+0.0320 seconds)
AA 00 12 80 35 31 33 43 83 01 36 33 37 37 30 30 31 30 38 34 00 00 00 00 00 A0
Request: 7/6/2009 9:57:39 AM.82264 (+0.0350 seconds)
AA FF 22 C0 D4 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60
Answer: 7/6/2009 9:57:39 AM.87764 (+0.0550 seconds)
AA 00 12 80 35 31 33 43 83 01 36 33 37 37 30 30 31 30 38 34 00 00 00 00 00 A0
However, for some unknown reason, i can't get my python scripts to extract a response from the darn thing!
The serial port monitor dump for my code can be seen below,
Rich (BB code):
Port opened by process "python.exe" (PID: 5236)
Request: 7/6/2009 9:50:34 AM.12464 (+51.3691 seconds)
AA FF 6A 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 13
Could you guys suggest some troubleshooting methods?
NOTE: The device's manual is attached to this post. Jump to page-45 for RS232 related details.
Thanks for having a look Comments/suggestions would be greatly appreciated!!!
Regards,
mav
Attachments
-
1.7 MB Views: 33