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

Labrador Development Documentation #243

Open
damercer opened this issue Apr 20, 2023 · 1 comment
Open

Labrador Development Documentation #243

damercer opened this issue Apr 20, 2023 · 1 comment

Comments

@damercer
Copy link

Hello:
I am a software developer. I am trying to adapt my laboratory virtual instruments software package to use the Labrador hardware. After reading through the "Labrador Development Documentation" file here in your repository I'm having some difficulties. It is apparent that the documentation is currently very out of date. I guess my first question would be is there any possibility of seeing new USB interface support documentation anytime soon? My development language of choice is Python and the pyusb interface library.

Using what info there is and a lot of guessing and sniffing the USB traffic to the board using Wireshark I have managed to be able do some communication with the board and control some parts of the hardware such as toggle the digital output pins and adjust the PSU voltage. I can send waveform arrays to the awg output channels but nothing appears on the output pins. That is from a cold power up of the board. If I first run your provided software and configure the awg outputs to something and close the software, I can then send awg data using my test program ( dev.ctrl_transfer() ) to the board and see it on the outputs. But only the part that happens to be the same length (number of samples) as what was used in the Labrador software. Clearly I'm missing something here that starts the output stream.

On the input side, I can send control settings to set the scope channel mode and gain with out any errors but when I attempt to read back data using dev.read(0x83, readarray) as mentioned in the documentation all I get is an error saying:
"NotImplementedError: Operation not supported or unimplemented on this platform" So again I seem to be missing something here as well and the output stream needs to be initialized and/or started beforehand.

Any help on sorting this out would be greatly appreciated. As background on my laboratory virtual instruments software package I have adapted versions that currently work with three other USB based data acquisition platforms and is currently being used by hundreds of colleges and universities around North America and the world. The Labrador board would be number four.

Thanks.

@EspoTek
Copy link
Owner

EspoTek commented Apr 23, 2023

Hi Doug. No plans to write new documentation, as it's unlikely to be useful to many people.

Feel free to share your code, either publicly or via email and I'll be more than happy to provide support directly.

Cheers,
~Chris

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