Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VNA "Connect" set DIO0 to "1" and PTT to "on" #724

Open
Rolf-L opened this issue Aug 21, 2018 · 9 comments
Open

VNA "Connect" set DIO0 to "1" and PTT to "on" #724

Rolf-L opened this issue Aug 21, 2018 · 9 comments

Comments

@Rolf-L
Copy link

Rolf-L commented Aug 21, 2018

How can I prevent the signal DIO0 from being set to "1" when I connect the VNA program? This generates the PTT signal in my Transceiver and turns on the connected Power-Ampli. Only the bias current flows, but it is about 4A and heats up the Power-Ampli after a short time. Can I prevent this by a further command line in the SD Card image file latest version and, if so, what are the commands?

@Rolf-L Rolf-L closed this as completed Aug 21, 2018
@Rolf-L Rolf-L changed the title VNA Cnnect VNA "Connect" set DIO0 to "1" and PTT to "on" Aug 21, 2018
@Rolf-L
Copy link
Author

Rolf-L commented Aug 21, 2018

sorry, I dont want to close it

@Rolf-L Rolf-L reopened this Aug 21, 2018
Repository owner deleted a comment from Rolf-L Aug 21, 2018
@pavel-demin
Copy link
Owner

The easiest solution is still to edit line 566 in vna.py and to replace self.set_gpio(1) with self.set_gpio(0).

In the latest GUI version, there is no place left for additional control elements. So, I don't know how to add a GUI element for controlling the GPIO pins.

@Rolf-L
Copy link
Author

Rolf-L commented Aug 22, 2018

Hi Pavel,
thank you for your quick response.
Unfortunately, I'm not a software expert.
If I understand that correctly, I'll have to do the correction in the source code and recompile, but that will overwhelm my knowledge.
Is it possible to edit start.sh and insert a command line that does the same thing?
If so, how should this be?
best regards
Rolf

@pavel-demin
Copy link
Owner

pavel-demin commented Aug 22, 2018

If I understand that correctly, I'll have to do the correction in the source code and recompile,

The recompilation isn't required. One of the ideas behind the VNA client is that it should be very easy to modify. The code is in vna.py and the GUI is in vna.ui. Both files can be edited.

So, the following steps should be enough:

  • open vna.py in a good text editor like for example Notepad++;
  • go to the line 566;
  • replace 1 with 0;
  • save the file.

@Rolf-L
Copy link
Author

Rolf-L commented Aug 22, 2018

Hi Pavel,
I can only find vna.py on GitHub, but not on the SDCard in the vna folder.
Do I have to make the change on GitHub and what's next?

@pavel-demin
Copy link
Owner

pavel-demin commented Aug 22, 2018

I can only find vna.py on GitHub, but not on the SDCard in the vna folder.

The vna.py file is on your computer in the folder from where your start the vna.exe program.

@Rolf-L
Copy link
Author

Rolf-L commented Aug 22, 2018

Hi Pavel,
If you know how to do it, it's really easy :-)
Thanks again for your quick help.

best regards and have a nice day
Rolf

@Rolf-L
Copy link
Author

Rolf-L commented Aug 31, 2018

Hi Pavel,
one of my friends is using the HAMLab-Transceiver, made by Red Pitaya.
He told me that your vna program connects to the HAMLab, but when pressing open short etc. no reaction takes place.
Question: is there a special vna-version for the HAMLab and if so, what is its name and where can he download it, or is it possible, to modify one of the vna-files, like I did it with success?
Best regards,
Rolf

@pavel-demin
Copy link
Owner

Hi Rolf,

I don't have any special version for HAMLab. The normal version should work just fine.

I'd suspect that the VNA application included in the HAMLab software is outdated and incompatible with the latest version of the VNA client.

To solve the problem, I'd suggest to install the latest version of the VNA application for Red Pitaya. It can be done via the Application marketplace.

Best regards,

Pavel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants