Device interface #3

Open
opened 2021-04-14 21:00:46 -05:00 by wp · 0 comments
Owner

Eventually, a standard device interface should be made available. Example would be to create a controller which provides the communication layer between the GPIB controller and device. The controller will abstract away the communication such that when the device class wants to send or receive data with the device, the device class will use e.g. "controller.send(data, gpib_addr)" and "controller.recv(gpib_addr)"

The device class will provide basic commands to communicate with the specific device. The device instance will need to have a GPIBController instance to provide the hardware communication to the device along with the specific GPIB address of the device. The class would then provide standard methods such as "measure_volt_dc" or other common sense methods depending on device.

Look into InstrumentKit to help with this. https://github.com/Galvant/InstrumentKit

Eventually, a standard device interface should be made available. Example would be to create a controller which provides the communication layer between the GPIB controller and device. The controller will abstract away the communication such that when the device class wants to send or receive data with the device, the device class will use e.g. "controller.send(data, gpib_addr)" and "controller.recv(gpib_addr)" The device class will provide basic commands to communicate with the specific device. The device instance will need to have a GPIBController instance to provide the hardware communication to the device along with the specific GPIB address of the device. The class would then provide standard methods such as "measure_volt_dc" or other common sense methods depending on device. Look into InstrumentKit to help with this. https://github.com/Galvant/InstrumentKit
wp added the
enhancement
label 2021-04-14 21:00:46 -05:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Groesz.org/progpib#3
No description provided.