Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:12
    bessman edited #155
  • 07:22
    nkpro2000sr commented #146
  • 07:15
    nkpro2000sr synchronize #147
  • 05:47
    limitless-Sky commented #1925
  • 05:47
    limitless-Sky commented #1925
  • Nov 29 21:27
    bessman opened #155
  • Nov 29 19:19
    orangecms commented #79
  • Nov 29 13:19
    bessman commented #146
  • Nov 29 02:15

    orangecms on development

    Update Chokidar to 3.4.3 Remove unused test setup (compare)

  • Nov 29 02:05

    orangecms on development

    utils/bundling: fix Python scri… Upgrade react-scripts to v4 (compare)

  • Nov 28 21:59
    nkpro2000sr commented #146
  • Nov 28 21:47
    bessman commented #146
  • Nov 28 21:34
    nkpro2000sr commented #146
  • Nov 28 21:34
    nkpro2000sr commented #146
  • Nov 28 21:31
    nkpro2000sr synchronize #147
  • Nov 28 21:19
    nkpro2000sr commented #146
  • Nov 28 21:12
    nkpro2000sr commented #146
  • Nov 28 21:01
    bessman commented #146
  • Nov 28 20:56
    bessman commented #146
  • Nov 28 20:51
    nkpro2000sr commented #146
Mario Behling
@mariobehling
I thought the release of Aakash is v1.
I was just thinking that we did not really have an official Electron app/Python release v2.
We never considered the version 2 usable and now we are advancing already to version 2.x.
I agree, we should have a better management. Actually nobody paid real attention to it. We should align with @CloudyPadmal as well.
Mario Behling
@mariobehling
An idea would also be to align version numbers with the Python component. This way people could more easily know which releases work well together.
Well, it needs to be thought-through, but this is what we are doing in Open Event -> open event frontend 1.18.0 works with open event backend 1.18.0.
Daniel Maslowski
@orangecms
The Python app was released at 1.0.0, see https://github.com/fossasia/pslab-desktop/releases/tag/v1.0.0
Norbert Preining
@norbusan
Yeah!
Daniel Maslowski
@orangecms
Regarding dependencies: I proposed to pin specific versions of the Python lib in the desktop app. Both are now under further development, but the desktop app is mainly behind in terms of features and the Python lib being stabilized.
I created fossasia/pslab-desktop#638 to cover the matter.
Mario Behling
@mariobehling
Thank you!
François Cartegnie
@fcartegnie
so finally that desktop bloat can be used ?
Daniel Maslowski
@orangecms
Oh that has been possible for months already, just yay -S pslab-desktop on Arch :)
Ir Jelle van der Linde
@Jelle007
I understand I have to wait for PSlab for Windows or IOS. In the meantime I can start with Python and I can buy a moderate Android tablet. In order to select which one to buy I want tot know if there are any minimal requirements or recommandatins with respect to screen size/resolution and USB connection. Is it possible or needed to use USB 2 , USB 3 or USB C with/without OTG. The current HW has an MCP 2200 UART so I expect that USB 2.0 will do and that an OTG connection may cause problems. But I am not sure.
Mario Behling
@mariobehling
@Jelle007 we have our weekly meeting now
Please feel free to join
nielek2
@nielek2
i found this library for possibly implementing sd card functionality: http://elm-chan.org/fsw/ff/00index_e.html and a tutorial here: https://www.studentcompanion.co.za/interfacing-sd-card-with-pic-microcontroller-xc8/
Ir Jelle van der Linde
@Jelle007
Thx I'll try to join next time
Alexander Bessman
@bessman
Waveform table size does not seem to correlate with max amplitude:

@CloudyPadmal
Padmal
@CloudyPadmal

i found this library for possibly implementing sd card functionality: http://elm-chan.org/fsw/ff/00index_e.html and a tutorial here: https://www.studentcompanion.co.za/interfacing-sd-card-with-pic-microcontroller-xc8/

Thank you @nielek2 .. I'm using this chan library generated from "Microchip Code Configurator" and it works as a separate function. Now need to integrate it with the current work flow.

Waveform table size does not seem to correlate with max amplitude:

@CloudyPadmal

Thank you @bessman ,, I'll try a simulation and hope it would narrow it down the bottleneck..

Padmal
@CloudyPadmal
So, I made some changes in pslab-hardware repo (my fork) where I added a special branch to hold diff images comparing the new changes with the previous board. https://github.com/CloudyPadmal/pslab-hardware/tree/diff-img
@mariobehling , should I integrate that in to the main repo?
Abhijay Jain
@Abhijay007
I made some changes in PSLab where I set-upped Storybook UI environment and Updated Electron to version 10. Now Codacy/PR Quality Reviewer show that some test case is not passed but I don't understand what is the reason.
@mariobehling,@orangecms sir review my PR here : fossasia/pslab-desktop#642
when you get time.
Daniel Maslowski
@orangecms
Really nice, thank you! Let's discuss further details on GitHub :)
Ir Jelle van der Linde
@Jelle007
I am still reading all documentation /source files etc..It is overwhelming and a lot of work In the mean time I build a nice case ...... Still do not know basic requirement for an Android tablet (> Android > 6 also Android 10?, Screen resolution ?) . I started a RS 232 terminal session (COM3,9800 Baud, 1 stopbit, no parity) with the board conected. I understand the firmware lissten to commands-subcommands-parameter. (three documented in an old protocol.ods document) . The command get_version (chr(11) Chr(5) or 0x0B 0x05) shoult give a response , but I only get 00 00 00 after issuing a CR/LF after the command. So that's bothering me. Broken board ? Beginners mistake ? This weekend I am not able to participate in de 5'o clock meeting. Happy to do that later on when I am more familiar with PSLAB . In the meantime any suggestions are welcome.
I am still reading all documentation /source files etc.. (difficult to get a complete and consistent view, for me of coarse ) )
But the the amount of work is overwhelming and impressive. I can not find a (functional-technical) specification document for the toolset and hardware (The intended goal is to get/improve a low cost device to be used in an experimentation environment )
In the mean time I build a nice case for de PSLAB V5...... Still I do not know basic requirements for an Android tablet (> Android > 6 also Android 10?, Screen resolution ?) so that’s stops me from buying one and starting with the Android app. . I started a RS 232 terminal session (COM3,9800 Baud, 1 stop bit, no parity) with the board connected. I understand the firmware is message driven : commands-subcommands-parameter. (three commands out of the dozens documented in an old protocol.ods document) . The command get_version (chr(11) Chr(5) or 0x0B 0x05) should give a response , but I only get 00 00 00, after issuing a CR/LF after the command. So that's bothering me. Broken board ? Beginners mistake ? This weekend I am not able to participate in de 5'o clock meeting. Happy to do that later on when I am more familiar with PSLAB . In the meantime any answers to my basic beginners questions are welcome.
Daniel Maslowski
@orangecms
@Jelle007 I have filed a PR to replace the ODS doc with a simpler Markdown table. I am not 100% certain I got it right, mostly working on the desktop app. Do you have any feedback so far @CloudyPadmal? Otherwise, for talking to the board, please have a look at the Python lib: https://github.com/fossasia/pslab-python
It has all the bits to connect and talk to the board via pyserial. That might be easier to understand.
nielek2
@nielek2
@Jelle007 you could also give the python library on the raspberry pi a try
Daniel Maslowski
@orangecms
Interesting bits on Antratek when looking at their PSLab product page - they list those related products:
https://www.antratek.com/pocketlab-voyager
https://www.antratek.com/logic-analyzer-25mhz-8-channel
Daniel Maslowski
@orangecms

I found this flow chart for the firmware:
https://github.com/CloudyPadmal/pslab-firmware/blob/pslab-v2.0/PSLabFirmwareFlowChart

And converted it to SVG:
https://metaspora.org/pslab-flowchart.svg

It is quite huge though

Daniel Maslowski
@orangecms
It was a hassle with Electron, but I finally managed to get the thing to work. We now have asar bundling reenabled, and release builds manage to locate the Python scripts correctly. Now the CI server just needs to play along and we will finally have a working binary release - .deb, .rpm, and .tar.xz for Linux. That was a :roller_coaster:
nielek2
@nielek2
great!
Daniel Maslowski
@orangecms
Thank you for volunteering to try it out. :D
I just downloaded the tar.xz and ran it - it works \o/ :tada:
That was quite some motivation++ lol :D
nielek2
@nielek2
the tar.xz also runs on my computer
Daniel Maslowski
@orangecms
Does it also detect the board?
nielek2
@nielek2
yes
Daniel Maslowski
@orangecms
Woohoo! \o/ (the tricky part was really the Python script path lookup, heh) awesome :)
nielek2
@nielek2
the file doesn't offer to run from the gui, when i double-click it
Daniel Maslowski
@orangecms
Now the basics are there for further releases. I need to dive a bit into the Docker thingies to figure out where to dig out the Windows build and we can publish that as well.
Someone already wrote in the venv issue that they could work on it. Maybe that will get us a full bundle.
nielek2
@nielek2
execute bit is set though
Daniel Maslowski
@orangecms
Hmm can you describe that a bit further? Did you navigate to the directory with a file manager like Nautilus or something?
nielek2
@nielek2
yes starting it from the terminal works but double-clicking in nemo does not - asks what program to open it with...
"unknown file type"