Jump to content

Josef Čada

Members
  • Posts

    2
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Josef Čada reacted to JColvin in Zybo Z7 and LabView   
    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
  2. Like
    Josef Čada reacted to JColvin in Zybo Z7 and LabView   
    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
×
×
  • Create New...