01-28-2024 08:19 PM
Hello,
I am using the linx hobbyist toolkit and it works well for controlling the raspberry pi, however I also want to control an Agilent 34405 and the raspberry pi together.
What is the best way of doing this? The easiest way I know of is just to have two separate projects. Ideally, I'd prefer it to be under the same project/application.
01-28-2024 09:26 PM
To control your Agilent DMM, use VISA libraries.
You can use both in the same application, just maintain both the VISA references separately and use them appropriately with their commands.
01-28-2024 09:31 PM
So if I place my Agilent subvis into the raspberry pi application would I then connect the usb cable to my pc or raspberry pi? My assumption is raspberry pi. Will the library also be uploaded to the raspberry pi?
I am hoping to be able to use the front panel on my pc and am communicating to the raspberry pi using the local I/O option.
01-29-2024 07:27 AM
You connect Agilent to your PC, and your PC talks to RPi over LINX and over VISA libraries or drivers with Agilent.
01-29-2024 06:42 PM
I follow what you’re saying and that’s exactly what I would like to do. However, I can’t get it to work with the raspberry pi. I can do that with Arduino, but I need 3.3V SPI so have to use raspberry pi.
The only way I’ve been able to communicate with the raspberry pi is by using the Local I/O option which is by adding the raspberry pi as a real time device in my project.
If you have time can you write up an example of what you’re suggesting? Thank you for the help so far.