Search the Community

Showing results for tags 'labview'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Test and Measurement
    • Measurement Computing (MCC)
    • Add-on Boards
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions
    • Archived

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 17 results

  1. Hi experts, I wanted to control spectrum analyser of AD2 using labview, but it seems like there is no vi for it, hence I used bode analyser. I was wondering from the bode analyser labview, how/is there a way for me to control all the controls that is shown in this image? Also, I encounter a problem in which when I change the amplitude lower than 3V for the bode analyser vi, it will hang. Is there something wrong that I did? The reason why I want to control the spectrum analyser is because I want 'for a step increase in W2, a fast frequency sweep (using W1) is done to get the phase difference between scope 1 and 2, which setting the values for min periods etc will allow me to get a more accurate reading. And for each sweep, I want to export the data to excel. Is there a way to do this via labview/python or any other ways to automate this process? Thanks! Digilent_WaveForms_Bode Analyzer (FGEN and MSO).vi
  2. Hi everyone, For my project I have two myRIO motor adaptors that are both used with two motors each, and each give encoder signals. However, from testing it was notcied that only two of the four motors would give an encoder measurement. I found that even though the adaptors can support two DC motors they only provide one encoder measurement, which isn't ideal. Therefore, I've decided to use the MSP Port, where the following channels are being used for additional encoder signals : DI06,DI04,DI02, and DI00. I've attached the wires to these channles however I'm slighty confused on where I'll connect these wires to on the adaptor board. Should I place the wires in the header pins on the board or use them in the encoder terminals? I'm using a simple code to check the that it works for each channel, however I don't think I'm changing the code correctly to support the additional channel. Any help is apprceiated! Robot Movement.lvproj
  3. Hi guys, I just do some labview exercises on the "Digilent_WaveForms_Analog Discovery 2 Power Supplies (PS).vi" and want to know if its possible to get actual current value of power supply? Is there any reading by internal controller? many thanks in advance!
  4. Hi, I am using Labview to create a pattern generator and logic analyzer on the Analog Discovery Kit using the waveforms sdk dll. At the minute the pattern generator is functioning and I am using it to send data to a second discovery kit to test the logic analyzer. I am having issues acquiring the acquisition data when using the FDwfDigitalInStatusData node, when transmitting 0xFF, I read back 0x6 or 0x9 depending on the trigger position setting. I am only interested in the data after the trigger, I have scourged the internet trying to find a solution with no luck, I have a feeling I am miss using the FDwfDigitalInTriggerPositionSet node, any feedback on what the correct trigger position and reason for incorrect data would be great Data is arriving at 1MHz, the frequency of the analyzer is setup at 2MHz to prevent aliasing Using a 32bit sample format and triggering on a rising edge Single Acquisition Mode with the buffer set anywhere between 100-300 Unsure on placement of trigger position to receive data Thanks Guys, Chris
  5. I'm following these instructions: https://reference.digilentinc.com/reference/instrumentation/guides/getting-started-with-labview I installed Digilent Waveforms and the Labview Package Manager (VIPM) and I get to the instructions to double click on Digilent Waveforms VI to install it. It won't install and I get an error 8 which I found information on here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Rp8SAE&l=en-US I've tried the suggestion at the above link to allow to run as administrator (doesn't actually say that in the menu options, but I shared the folder). I also tried running it as administrator and I get the same error 8. So I'm assuming it's a permission error. I was able to install the AD2 Toolkit through VIPM. Here's some info about my system: WIndows 10 Waveforms 3.14.3 (64 bit) installed Labview 20.0.1 (64 bit) VIPM installed AD2 Toolkit installed Analog Discovery 2 is recognized in Waveforms Any suggestions? Thanks!
  6. We're excited about using the AD2 for a whole bunch of courses in our college as we teach online for the foreseeable future. One useful feature would be if we could get the raw A to D data from the scope channels so we can use them in LabVIEW. At this point, niVB_MSO_ReadAnalogDigitalU64 provides the voltages, all cleaned up, instead. Is there another dwf that provides the raw data, or could this feature be added to the next revision? At this point, I'm taking the voltage and converting it back to a step count using the step size, but we'd be just a bit more accurate if we had the raw data.
  7. I am using the Digilent Waveforms package for LabVIEW 2020 (32 bit) for the Electronics Explorer board. I have two related questions. I am using the "DWF Dig Read" VI, and I realize it outputs a 1D array of booleans, which I interpret as the current state of the digital lines. How do I get a kind of digital waveform and observe the digital signals over a period of time? Also, the "DWF Read and Write VIs" have a setting for the lines they are writing to/observing. I see that on my Electronics Explorer board, I have 4 digital banks. However, in the example VI for digilent in LabVIEW, the input is: "dig/0:7", how does it know which bank to use? I guess I am overall a bit confused on how to use the digital banks then. Thank you for all the help!
  8. I am using the AD2 on LabVIEW with dwf.dll. I am using the I2C interface on DIO bits 0 and 1 and the positive power supply. I have configured everything based on the python example code. When I set the power supply and write the I2C data, several other DIO bits go high even though they are not configured in this program. I have auto configuration enabled. I can do the same thing in WaveForms and it works fine. Any suggestions would be appreciated. Thank you
  9. Hello, I am building an SPI proof of concept for the Analog Discovery 2 in LabVIEW and I am unable to get the entire thing working, despite other successful LabVIEW projects that use the Analog Discovery 2. The issue I am having is that I am capable of generating an SPI message output where the AD2 is the master, but I am unable to get the expected response in the Rx array. The pinout is the clock is on pin 2, the chip select is on pin 1, the MOSI_SISO is on pin 4 and these three outputs are connected to an oscilloscope for observation. The MISO is on pin 7 and is connected to a pullup resistor to 3.3V on a supply separate from the AD2. I perform the following function calls in the following order after opening the AD2 and enabling the internal AD2 power supplies: DigitalSpiReset(hdwf), DigitalSpiClockSet(hdwf, 2), DigitalSpiDataSet(hdwf, 0, 4), DigitalSpiDataSet(hdwf, 1, 7), DigitalSpiSelect(hdwf, 1, 1), DigitalSpiFrequencySet(hdwf, 1000000), DigitalSpiModeSet(hdwf, 1), DigitalSpiOrderSet(hdwf, 1). I perform the following function calls in a while loop to continually send and receive a SPI message: DigitalSpiSelect(hdwf, 1, 0), DigitalSpiWriteRead(hdwf, 1, 8, Tx array, 2, RXarray, 2), DigitalSpiSelect(hdwf, 1, 1). If these functions worked as expected, I should get an Rx array back that has the values 0xFF for elements 0 and 1. Instead I get an Rx array back with 0 for elements 0 and 1. If I perform the exact same setup in waveforms, I can get the expected response with the exact same wiring setup. Please see the screenshot attached to this post. I am scratching my head on this one. I can achieve the expected results in Waveforms, so I know my hardware is working properly, but I cannot get them working in my own program. I don't know if I am missing an important SPI function call or what. Edit: I applied a scope probe to the MISO pin as well and the MISO pin is pulling down the input voltage as if it were an output. So my problem seems to be that the MISO line is not being correctly set as an input.
  10. Hi! I want to read the output data of a delta-sigma modulation based ADC (AD7402) using NI LabVIEW FPGA. Can you help me by explaining what the Verilog code in the attached datasheet (page 17) does? AD7402.pdf
  11. I am trying to get my Analog Discovery 2 to work with NI LabVIEW 2019. I've searched around and most of the info I see calls for LabVIEW 2014, so it is not clear to me if it does or does not. I have installed the AD2 Toolkit and the Digilent WaveForms VIs. My problem is what is the "Device Name" that need to be entered? I see the AD2 with the WaveForm 3.13.10 x64 using Windows 10 and full LabVIEW 2019 x32. Thanks for shedding any light on the situation. JoeD
  12. Hi, I am using your driver Analog Discovery 2 in Labview 2017. Trying to run a sampe I can't receive the results I expect. the setup is : sample rate of 7.692M wiht 8192 samples - trying to use hight rate or no. of smaple returns an error. Here is attach a picture of the case. Could you send me some information how to fix and have the wave as the example in the picture ? AD2 Analog Example(Multiple).vi
  13. I need to control a device, using LabVIEW to give command to signal generator(Agilent 33522A), which can make the device switching voltage(amplitude)with short time(10~50ms). I have a problem: Where to put the time command to make the time can be adjusted? Or indicate whether my code is proper for my requirement. Agilent 33522A Control_2.vi
  14. Hi all, I use Analog Discovery 2 to generate a ramp up waveform and observe synchronously the response in the scope. The wavegen output W1 is wired to the scope input Ch.1. I want the scope to be triggered by the generated waveform, so that subsequent acquisitions yield signal that starts exactly in the same moment. I attach the VI that I have made to achieve this (testscope3.vi). I use Configure Digital Edge Trigger.vi to set up triggering. What I expect is that on each loop repetition the acquired signal would start in the same moment, but this is not the case. Each acquisition starts at an arbitrary moment and the signal moves visibly along the time axis. I am perfectly able to achieve the above using the WaveForms 2015 application (I attach the corresponding WaveForms 2015 workspace file), so I know that the hardware is capable of doing this. However, the experiment I need this for is controlled from LabVIEW and I would like to get the same result using the LabVIEW Driver for Analog Discovery 2. Thank you for any suggestions on how to achieve this from LabVIEW. testscope3.vi sweep.dwf3work
  15. Hello, I am working on a project that uses the Analog Discovery 2 to measure the response of a DUT over a long period (hours or days). I am working in LabVIEW and have been building this project using the foundation provided in the LabVIEW project shared here. It uses both the Waveform Generator functionality to apply a signal and the Scope functionality to measure the response. Currently, I am running into a problem where my code stops working after 250 minutes. It seems to be very consistent. I and another have replicated the issue using multiple AD2 devices, multiple PCs, and both the LabVIEW source code as well as compiled into an executable. I have used LabVIEW to do profiling on the memory usage and such of the application and I do not believe I have a memory leak eating away at the PC. Also, the timeout is very repeatable to 250 minutes. The log files always end after that amount of time has passed. Is it possible that the AD2 session has a timeout built into it somehow? If so, how do I reset the AD2 before the timeout occurs? I looked through the SDK and did not find a function call that appeared to be the obvious one to use. Any help would be appreciated! Thank you.
  16. Hello, I need help creating a VI on labview to read the gyroscope on the Pmod Nav. I have Linx and the Pmod example files but none are for my specific Pmod. I have the Pmod connected to a arduino uno and using Linx for the interface between the two. I can't find any examples on how to make one for this Pmod or make a custom VI for it. Help will be appreciated. Kind Regards, ARD1996
  17. Hi guys: I need know how create a Custom Command in LINX for read a encoder of two square pulses from the digital pins of Arduino in LabVIEW. Thanks.