If I open a large .vcd file with Pulseview it crashes after less seconds during loading this file! With following steps you can reproduce this problem: 1.) Create a .vcd file with sigrok-cli with this command: sigrok-cli.exe --driver demo --time 600s --channels D0 --config samplerate=100000 --output-format vcd --output-file test.sr 2.) Open the created file with sigrok pulseview --> The application crashes after less seconds during loading and closes himself (I've tested it on 2 separate systems)
The .sr file extension is probably not what you want for the VCD output format. See the generated file, and do the math. The low timescale (1ns?) times the sample count result in rather large a memory consumption, which your hardware probably does not provide. Yes there is other software which can handle this file. The current sigrok implementation cannot (yet). So find a VCD file creator which can pick a better (more suitable) timescale, or modify the file before loading. There is experimental code in https://repo.or.cz/libsigrok/gsi.git/shortlog/refs/heads/wip/output-vcd-timescale which you may want to try, especially https://repo.or.cz/libsigrok/gsi.git/commitdiff/2fbae019d359eb6cc7a084510467a9ed671f6a32
thank you for your answer, i will check it the next days. For your information: I use .vcd format, because i have the same problem like in this case "Bug 762" (https://sigrok.org/bugzilla/show_bug.cgi?id=762) when i use .sr format --> i get the message during sampling "Device only sent xxxx samples" and the recording stops. (the driver, which i use is: fx2lafw, and the Device: saleae logic analyzer but not the original device --> imitation) I can't find another solution here, do you have any idea? ty
*** This bug has been marked as a duplicate of bug 1624 ***