Author Topic: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE  (Read 4082 times)

0 Members and 1 Guest are viewing this topic.

Offline JeffreyLatter

  • Contributor
  • Posts: 28
  • Country: dk
  • Electronics Technician
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #25 on: June 14, 2022, 05:41:47 pm »
Hi,

If you send the unit a trigger command by sending a *TRG command, does it not reply with current mesurement result?
 
The following users thanked this post: oz2cpu

Offline oz2cpuTopic starter

  • Frequent Contributor
  • **
  • Posts: 878
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #26 on: June 14, 2022, 05:43:58 pm »
no clue mate, please tell me how to do this ?
and how to get the two different values it displays ?
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
youtube : oz2cpu teardown
 

Offline JeffreyLatter

  • Contributor
  • Posts: 28
  • Country: dk
  • Electronics Technician
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #27 on: June 14, 2022, 05:51:41 pm »
Just like sending it the *IDN command, as you did in your youtube video, but type *TRG instead - This should trigger a measurement.

It should return the current displayed measurement value to the output buffer.
Does it not reply with anything?
 
The following users thanked this post: oz2cpu, luudee

Offline oz2cpuTopic starter

  • Frequent Contributor
  • **
  • Posts: 878
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #28 on: June 14, 2022, 06:11:33 pm »
HAHA, you F-ing RULE THEM ALL !!

and thew winner is : JeffreyLatter

YES it return BOTH display items

where is this explained in the manual ? i go look for it now :-)
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
youtube : oz2cpu teardown
 
The following users thanked this post: luudee

Offline JeffreyLatter

  • Contributor
  • Posts: 28
  • Country: dk
  • Electronics Technician
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #29 on: June 14, 2022, 06:19:35 pm »
Great - Happy to help!

It's a rather common GPIB command and documented on page 106 in the manual.
But perhaps the correct way would be using the FETCh command documented on page 89?  :-//
« Last Edit: June 14, 2022, 06:22:00 pm by JeffreyLatter »
 
The following users thanked this post: oz2cpu

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6814
  • Country: de
  • Testfield Technician
"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Offline oz2cpuTopic starter

  • Frequent Contributor
  • **
  • Posts: 878
  • Country: dk
    • webx.dk private hobby and diy stuff
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #31 on: June 14, 2022, 06:39:33 pm »
fetch does the same,

trig  start a manual measurement in single shoot mode (not needed in internel free run mode)
fetc?  returns the displayed two values (not sure where the difference is from *trg)

no one told me i needed to use GBIB commands :-)
and i am not familiar with GBIB in general, only SCPI
and in fact I usually get someone else to make the low level drivers ..

but big time thanks.. we are now officially started to make curve trace program
Radioamateur OZ2CPU, Senior EE at Prevas
EMC RF SMPS SI PCB LAYOUT and all that stuff.
youtube : oz2cpu teardown
 

Offline JeffreyLatter

  • Contributor
  • Posts: 28
  • Country: dk
  • Electronics Technician
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #32 on: June 14, 2022, 06:45:03 pm »
The manual is - as you mentioned - NOT great at explaining the commands and how to use them.
I worked a bit with GPIB and remote device control a few years back and especially with a few chinese brands, so I just remembered something about doing manual triggered measurements.  :-+

Anyways - Happy to be a help!
Best of luck with the programming  :-+ :-+ :-+
 
The following users thanked this post: oz2cpu

Online mawyatt

  • Super Contributor
  • ***
  • Posts: 3906
  • Country: us
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #33 on: March 13, 2023, 02:28:53 pm »
This is an old thread but thought we should include something related.

We couldn't get remote readings returned no matter what we tried, always just a bunch of zeros. After numerous email exchanges with Tonghui we've finally got the meter to respond with a reading that is displayed on the LCD.

Under "TOOLS" menu, the command "NULL" needs to be set to OFF. On our meter is was "ON" and prevented getting proper remote readings, altho the LCD readings weren't affected.

Best,
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 
The following users thanked this post: coromonadalix, Martin72

Offline Alain MIZREH

  • Newbie
  • Posts: 1
  • Country: fr
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #34 on: July 10, 2024, 08:56:31 am »
Good Morning,
I am new to the forum, because I am trying to find a solution for the TH2830's we have in my factory...
So far, they are all used as bench equipments.
However, we'd like to "connect" them to a PC in order to generate test reports.

I asked TONGHUI for drivers, because the ones I downloaded from their website doesn't work. Actually, Mr Windows says it is not the right one.
To my understanding, the USB on the back panel of TH2830 seems to be a USB to SERIAL interface. No problem for us...
But to make it recognized by the computer is key, to be able to send commands, and run automatic tests...

Does someone knows where / how to find this driver ?

Thanks in advance for your assistance...

Alain
Electronics Tech from France!
 

Online Martin72

  • Super Contributor
  • ***
  • Posts: 6814
  • Country: de
  • Testfield Technician
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #35 on: July 10, 2024, 11:09:54 am »
Hi,
It's no secret that TongHui and Sourcetronic are identical apart from the name.
So this software might be something for you:
Quote
Plug & Play control for Sourcetronic LCR measuring instruments
Compatible devices: ST2830, ST2832, ST2827A, ST2827C, ST2829A, ST2829C
Complete remote control of the measuring instruments
Comfortable surface in JAVA "look&feel
Automatically scaling graphical curve progressions
Linear & logarithmic
Extra "Live" data window
Automatic zero calibration Short / Open
Special function "Frequency Sweep in graphical display
User-definable limit value comparison
GOOD/BAD" analysis in seconds
"Drag-and-drop" test plan creation
Long-term measurement for test series
Tabular logging
Save the graphs as .png
Saving the measurement results as CSV
Professional reports in PDF format
Barcode function, e.g. for serial number
Language German and English
Operating systems: Win 7, Win 8, Win 10

https://www.sourcetronic.com/shop/en/st-meter-4-0.html

"Comparison is the end of happiness and the beginning of dissatisfaction."
(Kierkegaard)
Siglent SDS800X HD Deep Review
 

Online mawyatt

  • Super Contributor
  • ***
  • Posts: 3906
  • Country: us
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #36 on: July 10, 2024, 12:19:56 pm »
We mostly use the RS232 port and a generic RS232 to USB cable, don't forget the Null Modem RS232 Adapter.

Best,
Curiosity killed the cat, also depleted my wallet!
~Wyatt Labs by Mike~
 

Offline KungFuJosh

  • Super Contributor
  • ***
  • Posts: 2740
  • Country: us
  • TEAS is real.
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #37 on: July 10, 2024, 01:48:12 pm »
I had no issues connecting with this cable: https://www.amazon.com/gp/product/B075YFS64T/

I used the attached drivers on Windows 11. As Martin said, the SourceTronic and TongHui drivers are the same.
"Right now I’m having amnesia and déjà vu at the same time. I think I’ve forgotten this before." - Steven Wright
 

Offline mow

  • Newbie
  • Posts: 2
  • Country: de
    • Measurement Technology FAQ
Re: Tonghui TH2830 LRC meter serial port, HOW ? BRAKE THRU, ALIVE
« Reply #38 on: August 23, 2024, 03:01:05 am »
I asked TONGHUI for drivers, because the ones I downloaded from their website doesn't work. Actually, Mr Windows says it is not the right one.

If the PC is able to connect to windowsupdate, it should auto-install the generic usb-serial driver.
Did you set the mode to USBCDC? USBTMC is only for NI VISA/LabView (which provides its own generic driver).
 
The following users thanked this post: KungFuJosh


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf