Hello,

further

research

revealed

that

there

is

a

new

2017

model

for

the

product

name

PCE-322A

[1]

and

the

associated

Windows

software

refers

to

a

baud

rate

of

9600

[2].

Reading

data

is

possible

with

9600

bps

without

any

problems,

but

unfortunately

the

interpretation

of

the

data

seems

complicated

to

me

and

I

would

like

to

ask

for

help:

-----------------------------------------------------------

0

-

4:

2022-09-02

2?:??:??

0: ?

1: ?

2: ?

3: ?

4:

seconds

5: ?

6: ?

7: ?

8: ?

9: ?

10: ?

11: ?

12: ?

13: ?

14: ?

15: ?

16: ?

17: ?

18: ?

19:

end

following is hex from

/dev/ttyUSB0:

0

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

-----------------------------------------------------------

a5

06

03

54

45

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

45

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0b

00

a5

06

03

54

46

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0b

00

a5

06

03

54

46

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

46

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0b

00

a5

06

03

54

47

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

35

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0b

00

a5

06

03

54

47

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

34

a5

0c

a5

1b

00

a5

06

03

54

47

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

32

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

33

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

32

a5

0b

00

a5

06

03

54

48

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

32

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

32

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

32

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0b

00

a5

06

03

54

48

a5

19

a5

02

a5

1f

a5

1a

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

48

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

49

a5

40

a5

0e

a5

11

a5

0d

03

31

a5

0c

a5

1b

00

a5

06

03

54

49

a5

40

a5

0e

a5

11

a5

0d

03

30

a5

0c

a5

1b

00

Kind

regards

[1]

https://www.pce-instruments.com/english/download-win_4.htm

(search

for

PCE-322A)

[2]

https://www.pce-instruments.com/english/api/getartfile?_fnr=1790767&_dsp=inline

------- Original Message -------
On Thursday, August 18th, 2022 at 9:35 PM, glaubnichtalles via sigrok-devel 
<sigrok-devel@lists.sourceforge.net> wrote:

> Hello,
>
> after an evaluation, the information given in the wiki regarding the support 
> of the PCE PCE-322A [1] led to an investment [2]. Tests with the installation 
> packages available on the part of Ubuntu 20.04 & 22.04 were unfortunately 
> unsuccessful and only the use of all successfully compiled master branches of 
> libserialport, libsigrok and sigrok-cli let me successfully communicate with 
> the device.
>
> ./sigrok-cli --driver pce-322a:conn=/dev/ttyUSB0 --scan
>
> The following devices were found:
> pce-322a - PCE PCE-322A with 1 channel: SPL
>
> ./sigrok-cli --driver=pce-322a:conn=/dev/ttyUSB0 --show
>
> Driver functions:
> Sound level meter
> Scan options:
> conn
> pce-322a - PCE PCE-322A with 1 channel: SPL
> Supported configuration options:
> continuous: on, off
> limit_samples: 0 (current)
> spl_weight_freq: A (current), C
> spl_weight_time: F (current), S
> spl_meas_range: 30-130 (current), 30-80, 50-100, 80-130
> power_off: on, off (current)
> data_source: Live (current), Memory
>
> However, this is where the problems start because even testing to change 
> configurable values fails and subsequent getter calls always returned the 
> default value.
>
> ./sigrok-cli --driver=pce-322a:conn=/dev/ttyUSB0 --config spl_weight_time=S 
> --set --show
> ...
> spl_weight_time: F (current), S
> ...
> ./sigrok-cli --driver=pce-322a:conn=/dev/ttyUSB0 --get spl_weight_time
> 'F'
>
> More importantly, however, the attempt to read out the "live data" of the 
> device was unfortunately unsuccessful. At the beginning of a reading process 
> there are small differences in the first bytes (see the beginning of the 
> following three measurements), but after that you only get "0" as 
> information. My hope was to get at least a usable value of the device, 
> unfortunately the value displayed by the device is in no way comprehensible 
> with the data sent via USB. Only the activation or deactivation via device 
> "Setup" button allows the data transmission to the computer to start or stop.
>
> cutecom /dev/ttyUSB0
>
> 00000000 00 fd 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000016 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000032 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000048 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> ...
> 00000000 08 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ␈
> 00000016 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000032 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000048 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> ...
> 00000000 06 12 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ␆␒
> 00000016 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000032 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> 00000048 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> ...
>
> Upon inquiry in #sigrok IRC, I was told that there is evidence of newer 
> PCE-322A devices with a different protocol that does not seem to be 
> compatible with the one supported by sigrok.
> My tests so far could not find a cause, but there are documents (unknown age) 
> that differ at least from the command set implemented by sigrok and the 
> images in the sigrok wiki clearly differ from a newer variant. [3][4]
>
> Kind regards
>
> [1] https://sigrok.org/wiki/PCE_PCE-322A
> [2] 
> https://www.pce-instruments.com/english/measuring-instruments/test-meters/decibel-meter-pce-instruments-decibel-meter-pce-322a-det_5840592.htm
> [3] 
> https://www.pce-iberica.es/medidor-detalles-tecnicos/protocolo-interfaz-pce-322a.pdf
> [4] 
> https://www.pce-italia.it/html/dati-tecnici-1/link/protocolo-interfaz-pce-322a.pdf
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to