Hi,
I m owning the fluke 289 , and sigrok was unable to detect it .
here was the log :
serial: Opening serial port '/dev/ttyUSB0' (flags 1).
sr: [00:00.008399] serial: Parsing parameters from "115200/8n1".
sr: [00:00.008557] serial: Setting serial parameters on port /dev/ttyUSB0.
sr: [00:00.009357] serial: Flushing serial port /dev/ttyUSB0.
sr: [00:00.009462] serial: Wrote 3/3 bytes.
sr: [00:00.019879] serial: Received 1: '0'.
sr: [00:00.021871] serial: Received 24: 'FLUKE 289,V1.16,30420108'.
sr: [00:00.021953] serial: Flushing serial port /dev/ttyUSB0.
sr: [00:00.022026] serial: Wrote 3/3 bytes.
sr: [00:00.031855] serial: Received 1: '0'.
sr: [00:00.033874] serial: Received 24: 'FLUKE 289,V1.16,30420108'.
sr: [00:00.033925] serial: Flushing serial port /dev/ttyUSB0.
sr: [00:00.033980] serial: Wrote 3/3 bytes.
sr: [00:00.036855] serial: Received 1: '0'.
sr: [00:00.039860] serial: Received 24: 'FLUKE 289,V1.16,30420108'.
sr: [00:00.039908] serial: Closing serial port /dev/ttyUSB0.
sr: [00:00.046321] serial: Opening serial port '/dev/ttyUSB0' (flags 1).
sr: [00:00.048793] serial: Parsing parameters from "9600/8n1".
sr: [00:00.048894] serial: Setting serial parameters on port /dev/ttyUSB0.
i tried to dig into the code , despite poor knowledge... I think the
multimeter is pretty much the same as 287, it s just missing some
identifiers on the code .
i was able to get some data by modifying :
added line 36 in src/hardware/fluke-dmm/fluke-dmm.h :
enum {
FLUKE_187 = 1,
FLUKE_189,
FLUKE_287,
FLUKE_190,
FLUKE_289, //adding the fluke 289
};
added line 59 in src/hardware/fluke-dmm/api.c :
static const struct flukedmm_profile supported_flukedmm[] = {
{ FLUKE_187, "187", 100, 1000 },
{ FLUKE_189, "189", 100, 1000 },
{ FLUKE_287, "287", 100, 1000 },
{ FLUKE_190, "199B", 1000, 3500 },
{ FLUKE_289, "289", 100, 1000 }, //adding fluke 289 support
replaced line 436 in src/hardware/fluke-dmm/fluke.c :
else if (devc->profile->model == FLUKE_287)
by
else if (devc->profile->model == FLUKE_287 || devc->profile->model ==
FLUKE_289 ) //adding fluke 289 support
I now have some outputs, and got the readings of the units (ohms , volts
ac , volts dc ...) according to the multimeter selector position.
I hope you ll add this to the code so the support for this excellent
multimeted will be mainline.
as a remark, i found it difficult to find the correct syntax to connect
to some devices using ttyUSB like :
sigrok-cli --driver=fluke-dmm:conn=/dev/ttyUSB0 --continuous
or for a power supply
sigrok-cli --driver=korad-kaxxxxp:conn=/dev/ttyACM1 --config
voltage_target=8 --set
shouldnt those kind of commandlines appear in the wiki on the page of
each device , (i think I had to go dig in the code to find the
conn:=/dev/xxx , as a very average user, i might expect to see this
maybe in man page or in the wiki)
thanks for all people making sigrok and enabling some open possibilities
with closed devices :).
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel