Now I remember, I got the ET5410A file from somebody where the ET5410A+ identified itself as ET5420. This bug has obvious been fixed in yours.
Try editing the ET5410A file and change:
#idString ET5420
to
#idString ET5410A+
Now I just have to learn how to create a load test of continuous 300W or so and have it plot the voltage graph.
Thanks for all the help.
The get anything on the chart you have to use the "Log" button.
You can use the "Setup" button to control the load.
For automatic tests (i.e. vary a parameter or stop on some condition) there are two entries in the "Popups" list.
Ok, I've played with many of the options within the "Setup" field, as well as "Popups" and I see things change on the screen of the load (including measuring the 14.142V on the battery), but I'm not able to make it start...
So far I've only clicked buttons and haven't done any sort of code/script.
The only thing I'm trying to do is to set a constant power load, start it and log a voltage/amperage chart until the battery is dead. I can get the logging to start, but the load doesn't seem to want to start pulling amps from the connected battery.
Press the "Input on" button at the bottom of the form is supposed to do it.
When doing it manually you setup the load to the desired power/current, start logging and then press the on button.
You might also be able to control the load directly on it, but in most devices this is disabled when using remote control.
The popup "Log Event" can do it automatic and stop at a specified voltage.
I have no idea if this specific device works correctly for all functions, the definition (That is the .txt file) is made and tested by another user, I do not have the load. And there may be other changes to the protocol than just the *idn? string.
If a command is changed you can type the new command to the load on the command line in TestController and later on modify the definition .txt file.
55 aa 01 0b f7 00 4c 01 11 01 ec 00 4d
24.7 33.2 27.3 23.6
55 aa 01 0b ef 00 e0 00 02 01 eb 00 c8
23.9 22.4 25.8 23.5
55 aa 01 0b 60 6d dd 00 ff 00 ee 00 a2
null 22.1 25.5 23.8
55 aa 01 0b 62 03 60 6d 60 6d 60 6d d7
86.6 null null null
55 aa 01 0b 2d 06 60 6d 60 6d 60 6d a5
158.1 null null null
p.s. so, "60 6d" -> 28000 -> 2800.0 C. Kind of max/impossible temperature and should be classified as NULL.If you could suggest me an example of an existing supported similar device for Test Controller, it would help me to develop/replicate support for my Tasi device.
Can this program be connected to SkyRC MC3000 ?
;; jSerialComm version: 2.9.1
;; Start thread for: COM4 - Agilent 34401A
;; COM4: Set params: 9600
;; COM4: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM4: Rx: <HEWLETT-PACKARD,34401A,0,10-5-2> 48 45 57 4C 45 54 54 2D 50 41 43 4B 41 52 44 2C 33 34 34 30 31 41 2C 30 2C 31 30 2D 35 2D 32
;; COM4: Tx <SYST:REM>
;; COM4: Tx: <SYST:REM.> 53 59 53 54 3A 52 45 4D 0A
;; COM4: Delay: 500ms
;; Found Agilent 34401A on USB-Serial Controller (COM4)
;; HP34401A: Tx <FUNC?>
;; HP34401A: Rx <"VOLT">
;; HP34401A: Tx <READ?>
;; HP34401A: Rx Timeout
;; HP34401A: Rx as numbers <No data (timeout?)>
;;+9.99999900E+00
;; HP34401A: Tx <READ?>
;; HP34401A: Rx Timeout
;; HP34401A: Rx as numbers <No data (timeout?)>
It does not read the data into Current values, it stops with Trig and Error, looks like something is wrongly set, any hint, plz?It does not read the data into Current values, it stops with Trig and Error, looks like something is wrongly set, any hint, plz?
When messing with Auto/Man/Trig on the meter it returns the correct voltage once in the debug window but with timeout/error and beep.
;; HP34401A: Rx Timeout
READ?
;; HP34401A: Tx <READ?>
;; HP34401A: Rx Timeout
READ?
;; HP34401A: Tx <READ?>
;; HP34401A: Rx Timeout
READ?
;; HP34401A: Tx <READ?>
;; HP34401A: Rx Timeout
;; jSerialComm version: 2.9.1
;; Start thread for: COM4 - Agilent 34401A
;; COM4: Set params: 9600
;; COM4: Tx: <*IDN?.> 2A 49 44 4E 3F 0A
;; COM4: Rx: <+1.00000280E+01> 2B 31 2E 30 30 30 30 30 32 38 30 45 2B 30 31
;; USB-Serial Controller (COM4) Device HEWLETT-PACKARD,34401A, do not match: +1.00000280E+01
;; COM4: Close
;; Stopping thread for: COM4 - Agilent 34401A
;; COM4: Close
My meter is set for 100PLC, it means it sends the value back in 4secs.
When I power on the meter it is set to default 100PLC and 10V range and sends the voltage automatically (repeatedly) out with 4secs period.
It seems the meter has to be put in some specific state before the TC starts communication.. Or something like that..
I get the correct identification when I manually stop the meter with AUTO/MAN button on front panel (it lights Man Trig on the display), and then the TC init goes ok, but with subsequent voltage reading issues as described above.
With READ? I get Rx Timeout in about 10secs..
PS: it looks to me the DTR/DSR does not work here properly.. I know from past the DTR must be set to a value in order to send the data repeatedly..
e) when I power-on the meter, it sends data automatically out and the TC has problem to identify it, so several tries are needed..
What would help is to add some more retries during the initial phase or longer timeouts, such it gets the right answer.
No idea how to switch off the sending data via default set rs232 i/o in the meter, I have to investigate..
If it is related to the 100NPLC setting then other users may not have seen it often (you'd have to set the meter to 100NPLC before trying to connect, though that is a totally valid setting with a stock meter!).
Note that TestController also gets confused when it asks a 34401A what mode it's in and gets "TEMP" as a reply
Might need to make some additions to the definition for the "enhanced" 34401A, maybe call it 34401A+ or something?
(for those who didn't see the thread, later 34401A FW revisions support a few hidden features such as settings-recall on boot and temperature measurement, with razvan784 finally finding the magic incantations for closed-case unlock here: https://www.eevblog.com/forum/testgear/hp-agilent-34401a-hidden-menu/msg4559242/#msg4559242 - ONLY try these on FW 07-xx-yy and later though, at least until you have an EEPROM backup or read the rest of the thread!)
..No idea how to switch off the sending data via default set rs232 i/o in the meter, I have to investigate..Maybe some of the people that uses TC with 34401A see this and can chime in.
After power-on the meter does 100NPLC here (I changed that from 10NPLC via hidden menu), and when the HP-IB address is set to 31 "Talk only" it sends results via RS232 continuously out (i/o set to rs232). This "talk only mode" I've been using with my stm32 interface.
With a different HP-IB address set in the rs232 mode it does not send results out without requesting the data via a command.
#askValues value?
#askValuesReadFormat sxx
;; +.0000000 V STBY
; " -2.00000mV STBY"
; "-2.000000 V STBY"
; " +0.00 C KSTBY"
; " -1.00 C JSTBY"
; " +829.40 C J "
However, I can use the program, I do it like this:
1. (the application is closed) I set the parameters manually in the electric load machine (not through the application)
2. I initialize the discharge or consumption process, manually, right at this moment I open the application and log the data, in this way I capture the data.
The bad thing is that in this way I lose about 1-3 seconds of data, while the application is open.
With the application I can configure the parameters of the discharge, but I don't know how to initialize the test, since the machine is blocked.
My electric load machine East Tester ET5410A+
HKJ, I'm amazed at your patience for answering question after question : )
If I too can impose on your time : I'm working on adding support for Xitron 2000 calibrators (output V or I; measure V/thermocouple). Protocol is ascii; basic manual commands in a serial terminal work well.
I pasted my current device file here : https://bpa.st/UPAG6
The only thing that works is the Mode popup (V/I/T selector). Starting a log records empty readings (missing column), probably because my #askValuesReadFormat is broken.Code: [Select]#askValues value?
#askValuesReadFormat sxx
Testing the 'value' command manually does get a response from the unit :Code: [Select];; +.0000000 V STBY
Returned string has sometimes leading whitespace, sometims a m/u prefix, sometimes 'STBY'. Not sure how to handle all that. Examples (inside double-quotes)Code: [Select]; " -2.00000mV STBY"
; "-2.000000 V STBY"
; " +0.00 C KSTBY"
; " -1.00 C JSTBY"
; " +829.40 C J "
Next, I will need to send commands like "K00-12.1mVS" , where a float value is concatenated without spaces or separators between 2 strings.