-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows version #1
Comments
The Windows Software from the CD is working ? Sorry I don't work with Windows. |
I don't have a CD that has a program similar to yours :( |
Slow down Baud-Tate to 57600 |
@martin-bochum No difference. But i am using an RS232/Ethernet Bridge so maybe this is the issue. With DMM it works fine, even with 115k. |
Also not working with an RS232/USB Bridge from Prolific. Guess there is some difference in serial handeling between Windows/Linux. |
I don't know how old the DMM's Firmware is. My Firmware (1 year ago) was very buggy and i changed the OWON-DMM to a Siglent-DMM ( https://martin-bochum.github.io/DMM-Siglent-SDM/ ) . The RS-232 connection never worked for me with 115KBaud. With 57600Baud it works quite stable. The TCP connection, that I want to use, was very unstable. |
But that firmware is not for XDM2041, right? |
Yes, I have had a PEAKTECH but it is from OWON |
I tried yesterday with an Ubuntu LiveCD and it did not work either. So it does not depend on Windows vs. Linux but I guess more on a buggy firmware on the device. Which firmware do you have @Groko93? (Under "Utility"). Our devices ODOM XDM2041 and Peaktech P4094 are the same, so i guess they are running the same firmware. |
It's version 3.1.0 as you can see on my screenshot above from the program. Checksum: 504D96ED |
Yeah, got the same. I write a request to OWon, if there is a newer firmware. |
I'll ask PeakTech service about it. Let's see if we get the same answer. :o) |
Sorry, but I am using just Linux. I don't have the P4095 anymore and the last Firmware was 2.22.0 with more bugs then the previous Version . I think there is a problem with the Windows VISA, what you need to run the Windows Software, and pyvisa. You can check it in a Console with pyvisa-shell. pyvisa-shell Welcome to the VISA shell. Type help or ? to list commands. (visa) list Documented commands (type help ):EOF attr close exit help list open query read termchar timeout write (visa) |
try this Version |
Ok, thanx, but still the same. ------test.py---------------- inst.baud_rate = 115200 print(inst.query("MEAS?")) That's working. |
what happens if you set RS232_PORT = ASRL6::INSTR in the ini file ? I reactivate DATE and TIME. With pyvisa-shell try print(inst.query("MEAS1?")) http://martin-bochum.de/Cloud/Multimeter-RS232-Test.py is a new version SET the DMM and the Software to 57600 Baud or slower. If it works you can speed up. I start a measurement every 250ms! Slower is better. |
The 4094 has no real Dual-Display, neither AUTO1/AUTO2 nor RANG1/RANGE2 is working. I remove 1 and 2 from AUTO and RANGE, don't know what happens. |
Sorry i can not remove RANGE2. Don't use DUAL-DISPLAY !!! ALL RANGE1 are replaced with RANGE |
Just getting "No connection to DMM" with your latest Test version. |
That throws an exeption, because you used "oscilloscope = serial.Serial(RS232_PORT,..."
That command provides the real measurement value. Same as "MEAS?"
That command delivers: "NONe" The latest test script crashed again. :o( |
Based on your ideas I've written a really simple data logger for my purpose. In fact the P4094 is quite limited in functionality and probably I've paid too much for it. PS: I got an answer from the PeakTech support. There are currently no know bugs inside the firmware. May be it's a feature and no bug. :o)) |
I really want your program to work under Windows!
How can I do that?
The text was updated successfully, but these errors were encountered: