Jump to content
  • 0

Zybo Z7 and LabView


Josef Čada

Question

Hello everyone,

I'm working on a SOC oscilloscope, and I think that my project would be better with labview. My idea is displaying to LabView if it is possible or at least setting up my osccilloscope via LabView (modes, etc.). But I haven't found a way to connect my Zybo Z7 to LabView. Is it possible? How is it possible?

 

Thank you for any tips

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 1

Hi @Josef Čada,

I do not believe there is any way to directly connect the Zybo Z7 to LabVIEW, or at least I am not aware of any option.

In principle, it should be possible to set some serial communication up with NI VISA or something like that...actually it should be possible based on this tutorial I found here: https://www.instructables.com/Digilent-ZYBO-based-oscilloscope-with-LabVIEW/, where they did exactly that.

Thanks,
JColvin

Link to comment
Share on other sites

  • 1

Hi @Josef Čada,

I'm not certain what you mean by change the values on the ADC through NI VISA. You are correct though that this particular demo I found on the internet simply only has LabVIEW receiving the data being generated on the serial port by the Zybo board; LabVIEW does not do any communication or control of the device.

The ADC on both Xilinx FPGA boards and SoC boards is configured in hardware before the application starts running on the boards. I suppose it would be possible to configure on the onboard XADC to have all channels enabled and then create your own custom C application that listens for data input on the serial port that would then read from whatever channel you choose to request from in LabVIEW, maybe via a button press that sends a "2" indicating channel 2 which would then be processed by the application? Something similar is done for the Zybo Z7 HDMI demo with a switch case statement waiting for different characters to be received in the UART FIFO (demo project is detailed here: https://digilent.com/reference/programmable-logic/zybo-z7/demos/hdmi, with the specific code that does what I'm attempting to describe in the DemoRun() function on line 182 on the Digilent Github here: https://github.com/Digilent/Zybo-Z7-SW/blob/5d3c1cf06f8215cbeae1081a7ce06ac5f3d97807/src/Zybo-Z7-10-HDMI/src/video_demo.c).

Thanks,
JColvin

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...