Jump to content

Search the Community

Showing results for tags 'labview'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 16 results

  1. Hi, I need to use labview to program two USB1608gx. At the same time, two USB1608GX are needed to collect data together.Is it feasible to do so?   But there are no relevant examples in the MCC Knowledgebase.   Is there any important point I need focus on? How could I do it on labview? Thanks alot.
  2. Hi, I am trying to access the downloads section of mccdaq.com (https://www.mccdaq.com/support/swdasylab.aspx?t=https://mcc.download.ni.com/downloads/DASYLab/DASYLab_2022_ENG.zip) and the form seems to be unresponsive on the second page. Does anyone have this issue? If there is a direct download link for the necessary drivers for a USB-TC please let me know, thanks!
  3. Hi, I am running into problem using Digilent Toolkit on Labview. The Analog Discovery Pro 5250 has three power supply ports, +6V, +25V and -25V. The toolkit cannot detect the ports, therefore, throwing an error. I know that the toolkit for labview has not been updated since 2016, is there any fixes or workaround for writing labview code for the ADP 5250? Thanks!
  4. 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
  5. 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
  6. 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!
  7. 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
  8. 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!
  9. 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.
  10. 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!
  11. 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
  12. 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.
  13. 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
  14. 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
  15. 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
  16. 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
  • Create New...