I haven't looked into controlling it over USB
You will need to install an interlock jumper(jumper pins 11-12 on the 15 pin connector) to enable the HV. You will not need a HV cable installed to do the 5kV ramp test(you will require it at higher voltage since the connector is not rated to the full voltage unless mated to the proper HV connector; without it it will probably arc to the case).
I was testing mine with it plugged into am Ethernet switch common to my computer, I have not tested it with a direct connection to the computer. The matlab test program requires an ethernet connection to the supply to control/monitor it.
Here is a newer version of the matlab control program with better comments, it should run as configured and produce a 5kV ramp
This has to be run in matlab, but should work as configured. Matlab will handle connecting to the supply as well as HV control and monitoring.
More info on the TCP commands can be found in the manual starting on page 63 of the PDF
http://www.spellmanhv.com/-/media/Files ... DXMMAN.pdf
When run as provided it should produce the following plot
the red overvoltage light should turn on at 10s when the kV_set is turned to 0 and the program should have output something like this to the terminal:
Spellman DXM Control
HV On Hours= 21,93.1,
Status= 22,0,0,1,1,
DSP Version= 23,SWM0113-008,
Hardware Version= 24,L05,
Webserver Version= 25,SWM0030-003,
Model Number= 26,X3547,Q-003,
Network Settings= 50,DXM70N600X3547,192.168.1.4,50001,255.0.0.0,00:40:9D:2F:10:27,
Interlock Status= 55,0,
Faults= 68,0,0,1,0,0,0,
Prog kV Set= 10,$,
Prog mA Set= 11,$,
Prog Fil Lim Set= 12,$,
Prog Fil Preheat Set= 13,$,
Req kV Set= 14,0,
Req mA Set= 15,0,
Req Fil Lim Set= 16,0,
Req Fil Preheat Set= 17,0,
Req Analog Mon= 19,0,0,0,
Req kV Mon= 60,0,
Req mA Mon= 61,0,
Req Fil Feedback= 62,0,
Req -15V LVPS= 65,1673,
Local/Remote= 99,$,
HV On/Off= 98,$,
Data Run
Local/Remote= 99,$,
HV On/Off= 98,$,
Prog mA Set= 11,$,
Time= 0.021608 kV_set= 2 kV_mon= 1.453
Time= 0.9284 kV_set= 2 kV_mon= 1.9487
Time= 1.3931 kV_set= 2 kV_mon= 1.9487
Time= 1.8092 kV_set= 2 kV_mon= 1.9487
Time= 2.1963 kV_set= 2.1963 kV_mon= 2.0513
Time= 2.6578 kV_set= 2.6578 kV_mon= 2.2906
Time= 3 kV_set= 3 kV_mon= 2.8034
Time= 3.3467 kV_set= 3.3467 kV_mon= 3.0085
Time= 3.6817 kV_set= 3.6817 kV_mon= 3.4188
Time= 4.0219 kV_set= 4.0219 kV_mon= 3.8974
Time= 4.3578 kV_set= 4.3578 kV_mon= 4.0342
Time= 4.6878 kV_set= 4.6878 kV_mon= 4.4274
Time= 5.0189 kV_set= 4.9811 kV_mon= 4.8547
Time= 5.3558 kV_set= 4.6442 kV_mon= 4.8376
Time= 5.6889 kV_set= 4.3111 kV_mon= 4.3761
Time= 6.0268 kV_set= 3.9732 kV_mon= 3.9658
Time= 6.3585 kV_set= 3.6415 kV_mon= 3.8291
Time= 6.6978 kV_set= 3.3022 kV_mon= 3.4359
Time= 7.0307 kV_set= 2.9693 kV_mon= 3.2308
Time= 7.3698 kV_set= 2.6302 kV_mon= 2.8376
Time= 7.7058 kV_set= 2.2942 kV_mon= 2.4615
Time= 8.0379 kV_set= 2 kV_mon= 2.188
Time= 8.3685 kV_set= 2 kV_mon= 1.8632
Time= 8.6968 kV_set= 2 kV_mon= 1.9487
Time= 9.0365 kV_set= 2 kV_mon= 1.9487
Time= 10.1553 kV_set= 0 kV_mon= 1.9145
Time= 10.4953 kV_set= 0 kV_mon= 1.5385
Time= 10.8303 kV_set= 0 kV_mon= 1.2479
Time= 11.1702 kV_set= 0 kV_mon= 1.0256
Time= 11.5091 kV_set= 0 kV_mon= 0.83761
Time= 11.8457 kV_set= 0 kV_mon= 0.66667
Prog kV Set= 10,$,
Prog mA Set= 11,$,
Req kV Set= 14,0,
Req mA Set= 15,0,
Local/Remote= 99,$,
HV On/Off= 98,$,