Author Topic: How to merge many forks from github, 108 many?  (Read 3566 times)

0 Members and 1 Guest are viewing this topic.

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7904
  • Country: nl
  • Current job: ATEX product design
Re: How to merge many forks from github, 108 many?
« Reply #25 on: November 25, 2022, 12:13:39 pm »
You know what they say:  How to eat an elephant?
 

Online DiTBho

  • Super Contributor
  • ***
  • Posts: 4228
  • Country: gb
Re: How to merge many forks from github, 108 many?
« Reply #26 on: November 25, 2022, 12:19:06 pm »
@RoGeorge
Spent my Black Friday bonus and Bought a 1104z dso, I can help.
I d like to implement stuff in C.
The opposite of courage is not cowardice, it is conformity. Even a dead fish can go with the flow
 

Offline RoGeorgeTopic starter

  • Super Contributor
  • ***
  • Posts: 6701
  • Country: ro
Re: How to merge many forks from github, 108 many?
« Reply #27 on: November 25, 2022, 01:44:44 pm »
Congratz for the new oscilloscope!  :-+

It's about 10-30 lines of Python, but sure can be done in C.
As an inspiration you can take a look at https://github.com/lxi-tools/liblxi.

But before that, assign a fixed IP to your new dso, then open a telnet to the IP you assigned, port 5555.  Mine has 192.168.1.3, so with netcat that will be:
Code: [Select]
nc 192.168.1.3 5555
aaa@bbb:~$ nc 192.168.1.3 5555

# then from inside nc, type
*IDN?

# and if all OK, your oscilloscope will answer with something like
RIGOL TECHNOLOGIES,DS1104Z,DS1ZA123456789,00.04.05.SP2

That's it, you now officially know how to talk SCPI with your oscilloscope, in this case using Telnet.  :D
« Last Edit: November 25, 2022, 01:46:46 pm by RoGeorge »
 
The following users thanked this post: DiTBho

Offline Sherlock Holmes

  • Frequent Contributor
  • **
  • !
  • Posts: 570
  • Country: us
Re: How to merge many forks from github, 108 many?
« Reply #28 on: December 05, 2022, 03:58:55 pm »
I think if one forks a repo that isn't clearly and regularly maintained then you're on you're own. You've basically taken their code and taken responsibility for it's future.

It's incredible how many repos are out there with issues dating back months that the owners haven't even responded to.
“When you have eliminated all which is impossible, then whatever remains, however improbable, must be the truth.” ~ Arthur Conan Doyle, The Case-Book of Sherlock Holmes
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf