Search the Community

Showing results for tags 'labview'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • News
    • New Users Introduction
    • Announcements
  • Digilent Technical Forums
    • FPGA
    • Digilent Microcontroller Boards
    • Non-Digilent Microcontrollers
    • Add-on Boards
    • Scopes & Instruments
    • LabVIEW
    • FRC
    • Other
  • General Discussion
    • Project Vault
    • Learn
    • Suggestions & Feedback
    • Buy, Sell, Trade
    • Sales Questions
    • Off Topic
    • Educators
    • Technical Based Off-Topic Discussions

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 52 results

  1. Hi, I have designed an UART core without any flow control for use with FPGA devices when communicating with LabVIEW. I am looking for a way to receive (from FPGA to LabVIEW) data fast and correctly, hence I am investigating the following configurations for setting the VISA READ when to start or stop reading UART bytes: 1-with termination char: this is very tricky in the binary world as are the FPGAs, because it can trigger false stops sooner than expected. A solution will be to use a custom 3 termination chars like "/n/n/n" and LabVIEW will read till will receive this sequence. 2- by counting the received bytes and compare them with the expected number of bytes and the process the data. 3- using flow control. Which approach is better to be used? Or do you have another ideas? Thanks, V.M.
  2. Tonym

    LabVIEW issue with Discovery 2

    Hello, I am working on a project that involves using the digilent analog discovery 2 to act as a an input and output for a VI in LabVIEW. I have downloaded the Adept and Waveforms software to communicate with the discovery 2 and LabVIEW. In this VI, I am getting an error number 1097, which has to do with the call library function. The error is in an attached photo. I have tried the suggested fixes online but have not found one to work for me. The error does seem to occur at the sub-VIs I downloaded from National Instruments, built to work for the discovery 2 in LabVIEW. When I open the call library function of the sub-VI that seems to raise the error, I see the attached images. Does anyone know if the set values are correct or if I need to change something? I am hoping that the error may be fixed by changing one of the parameters or options listed. The following links shed light on the 1097 error in LabVIEW: "Error 1097 Occurred at Call Library Function Node" "Error 1097 While Calling DLL with Correct Calling Convention" Thank you!
  3. I am using Raspberry Pi 3 with raspbian jessie and installed labview 2014(32bit) in my windows 7 laptop. Everything goes smoothly as I connect to my rpi using the linx target configuration. The problem is that everytime deploy a vi (I deployed blink), i get this: Initializing... Calculating dependencies... Checking items for conflicts. This operation could take a while... Preparing items for download. This operation could take a while... Deploying NI_PtbyPt.lvlib Deploying LMH-LINX.lvlib Deploying LMH-LINX.lvlib:Local IO.lvlib Deploying LMH-LINX.lvlib:Device.lvlib Deploying LMH-LINX.lvlib:myRIO.lvlib Deploying LMH-LINX.lvlib:Interaction Parts Kit.lvlib Deploying LMH-LINX.lvlib:Ultrasonic.lvlib Deploying LMH-LINX.lvlib:TMP3x.lvlib Deploying LMH-LINX.lvlib:TCN75A.lvlib Deploying LMH-LINX.lvlib:PmodTC1.lvlib Deploying LMH-LINX.lvlib:PmodGPS.lvlib Deploying LMH-LINX.lvlib:PmodMAXSONAR.lvlib Deploying LMH-LINX.lvlib:PmodBT2.lvlib Deploying LMH-LINX.lvlib:PmodGYRO.lvlib Deploying LMH-LINX.lvlib:PmodALS.lvlib Deploying LMH-LINX.lvlib:PmodACL2.lvlib Deploying LMH-LINX.lvlib:PmodACL.lvlib Deploying LMH-LINX.lvlib:PmodTMP3.lvlib Deploying LMH-LINX.lvlib:PmodMIC3.lvlib Deploying LMH-LINX.lvlib:PmodJSTK.lvlib Deploying LMH-LINX.lvlib:PmodCMPS.lvlib Deploying LMH-LINX.lvlib:LTC2631.lvlib Deploying LMH-LINX.lvlib:AD9850.lvlib Deploying LMH-LINX.lvlib:WS2812.lvlib Deploying LMH-LINX.lvlib:BlinkM.lvlib Deploying LMH-LINX.lvlib:SSD1306.lvlib Deploying LMH-LINX.lvlib:HiTechnic.lvlib Deploying LMH-LINX.lvlib:HiTechnic.lvlib:Accelerometer.lvlib Deploying LMH-LINX.lvlib:Servo.lvlib Deploying LMH-LINX.lvlib:DS1307.lvlib Deploying LMH-LINX.lvlib:MMA8452.lvlib Deploying LMH-LINX.lvlib:MMA8451.lvlib Deploying LMH-LINX.lvlib:ADXL345.lvlib Deploying LMH-LINX.lvlib:MPU60X0.lvlib Deploying Raspberry Pi 2 B(successfully deployed target settings) Deploying TagReturnType.ctl (1.32 K) Deploying whitespace.ctl (1.32 K) Deploying LMH-LINX.lvlib:Device.lvlib:TCP Config.ctl (1.58 K) Deploying LMH-LINX.lvlib:Platform.ctl (1.32 K) Deploying Trim (3.18 K) Deploying LMH-LINX.lvlib:Channels.ctl (4.50 K) Deploying Search and Replace (8.40 K) Deploying Find (11.43 K) Deploying LMH-LINX.lvlib:Device.lvlib:LINX VI API (2.93 K) Deploying Format Message (6.47 K) Deploying NI_PtbyPt.lvlib:Update (7.55 K) Deploying (3.83 K) Deploying LMH-LINX.lvlib:Device Firmware.ctl (2.51 K) Deploying LMH-LINX.lvlib:Device.lvlib:Bit (5.18 K) Deploying LMH-LINX.lvlib:Error Type.ctl (1.32 K) Deploying VISA Configure Serial Port (Instr).vi (7.45 K) Deploying LMH-LINX.lvlib:Interface.ctl (1.32 K) Deploying NI_PtbyPt.lvlib:Mean (10.42 K) Deploying LMH-LINX.lvlib:Loop (4.69 K) Deploying Check Special (5.77 K) Deploying DialogTypeEnum.ctl (1.32 K) Deploying LMH-LINX.lvlib:User Platform.ctl (1.32 K) Deploying LMH-LINX.lvlib:Get (3.61 K) Deploying LMH-LINX.lvlib:Clean Error Call (13.03 K) Deploying DialogType.ctl (1.32 K) Deploying LMH-LINX.lvlib:Device Data.ctl (2.37 K) Deploying Error Code (4.39 K) Deploying General Error Handler Core (47.32 K) Deploying General Error (10.75 K) Deploying LMH-LINX.lvlib:Device.lvlib:Firmware Version.ctl (1.43 K) Deploying LMH-LINX.lvlib:Device.lvlib:Packet Number FGV Action.ctl (1.32 K) Deploying Error Cluster From Error (9.29 K) Deploying LMH-LINX.lvlib:Device.lvlib:LINX Device Config.ctl (5.16 K) Deploying LMH-LINX.lvlib:Device.lvlib:Serial Set (6.57 K) Deploying LMH-LINX.lvlib:LINX Ref.ctl (5.32 K) Deploying LMH-LINX.lvlib:Local IO.lvlib:Load Device Channels.viLMH-LINX.lvlib:Local IO.lvlib:Load Device loaded with errors on the target and was closed. Deployment completed with errors How can I complete deployment without having any errors?
  4. RuthKimberly

    I Want to make a UI on C#.NET or LabVIEW

    I need to make a UI on C#.NET or LabVIEW and wirelessly(WLAN) speak with an communicate with an application for hardware control running on linux fundamentals based Single Board Computerr. What is the best and simple approach to complete it? NOTE: linux based application will be written in C/C++.
  5. KaranPatil

    PmodGyro interface with NI myRio

    Hello everyone I am trying to interface the Pmod Gyroscope with myRio with the code provided in the myRio Project Essentials Guide. I have made connections as per the diagram in the guide and there is no problem with it. When I run the VI, when the sensor is stationary the value of x displacement should be zero and not change but it is incrementing with time even when I am not moving the sensor. You can check the problem in the YouTube link I have shared bellow. There is no problem with the hardware since I have tried the same program with other gyroscope of same IC. The program files are attached below. Please help it is very important for me to get the sensor working ASAP Video Link: Connection Diagram: Code: Gyroscope demo.aliases Gyroscope demo.lvlps Gyroscope demo.lvproj
  6. Parggoo

    Frequency from Accelerometer

    Hello, I am getting successfully data from an accelerometer and I then I want to calculate the frequency of a vibrating object where the accelerometer is placed at. As you can observe in the attached VI after I obtain the accelerometer measurements I use data queue function in order to collect a certain amount of data(200), in order to have enough samples for my FFT. Then I use build waveform function and at the end filter and spectral measurements vi. But unfortunately I do not thing that I get the frequency I want.And that means not only that the x axis in waveform graph is not correct but in general when I vibrate the object in certain frequencies the spectrum does not show something close to them. Can anyone help me? Thank you
  7. canye23

    ADXL345 with SPI and LabView

    Hello, I am trying to get x,y,z axis data from the accelerometer adxl345 using linx in labview. I have managed to do that with I2C protocol, but I want to do it also with SPI protocol in order to achieve greater sampling rate. I have read the adxl345 datasheet but I struggle figuring out to which exact registers I must write so that I can read the datax,y,z registers. I attach my -so far now working- program below, thank you in advance.
  8. Kamran

    64 bit LabView driver DLLs needed

    64 Bit LabView 2017 DLLs are not available anywhere. 32 bit DLLs all generate errors. Is there a solution for this? Best Regards... Kamran
  9. jma_1

    AD2 - I2C or SPI with Labview?

    Greetings, Is there a toolkit, etc. for use with the AD2 and Labview for I2C or SPI? I would like to monitor and simulate if possible. I have download and looked at both the Waveforms toolkit and AD2 toolkit, but did not immediately see this functionality. I'm guessing no such bundled library exits. Thank you Cheers, JMA
  10. Waveforms is excelent for setting up data Collection, recording data and save to file. To analyze the data I want to use LabVIEW. Is it possible to read the aquisition files stored by the Waveforms software from LabVIEW? I am using the Analoge Discovery 2 Scope function.
  11. Data Types Data types indicate what objects, inputs and outputs you can wire together. For example, if a switch has a green border, you can wire a switch to any input with a green label on an Express VI. If a knob has an orange border, you can wire a knob to any input with an orange label. However, you cannot wire an orange knob to an input with a green label. Notice the wires are the same color as the terminal. The dynamic data type stores the information generated or acquired by an Express VI. The dynamic data type appears as a dark blue terminal. Most Express VIs accept and/or return the dynamic data type. You can wire the dynamic data type to any indicator or input that accepts numeric, waveform or Boolean data. Wire the dynamic data type to an indicator that can best present the data. Indicators include a graph, chart or numeric indicator. Data Flow Program LabVIEW follows a dataflow model for running VIs. A block diagram node executes when all its inputs are available. When a node completes execution, it supplies data to its output terminals and passes the output data to the next node in the dataflow path. Visual Basic, C++, JAVA, and most other text-based programming languages follow a control flow model of program execution. In control flow, the sequential order of program elements determines the execution order of a program. For a data flow programming, consider a block diagram shown in Figure 2.14 that adds two numbers and then subtracts 50.00 from the result of the addition. In this case, the block diagram executes from left to right, not because the objects are placed in that order, but because the Subtract function cannot execute until the Add function finishes executing and passes the data to the Subtract function. A node executes only when data are available at all of its input terminals, and it supplies data to its output terminals only when it finishes execution.
  12. A time gap occur if the attached vi, also the data is overwritten. I want to acquire many data continuously in LabVIEW without time lag in Analog Discovery 2. Acquire N Scans baba2-(ex).vi
  13. We would like to obtain signals with analog detection 2 using LabVIEW. However, we can collect only 8192 samples at present. How can I take more samples? Acquire N Scans baba2-(ex).vi
  14. Hello, I am using the Waveforms SDK in LabVIEW with an ADK2. However, something strange is happening. I am generating an array in kHz from 230 to 225. I want to do a frequency sweep through these. That part works fine, except for the first iteration. I've noticed that when FDwfDeviceOpen is run, it generates an odd waveform. AnalogOutFrequencyGet and AnalogOutAmplitudeGet says 1000 Hz and 1 V, respectively. I did not set it to do this and I can't figure out how to stop it. FDwfDeviceOpen is run once and that's the only time this waveform happens. I have thoroughly tested and found that FDwfDeviceOpen is consistently the source of this problem. Any ideas as to how to fix this? It's critical to my project that this issue is resolved. Thanks
  15. 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
  16. actually i have been working on remote lab since last 9 months and i succed a lot inorder to minimise the setup of mine remot elab i am trying to connect mine analog discovery kit 2 with raspberry pi and i have installed the debian file of wave form setup its not working properly the issue what i am getting is the since analog discovery kit 2 is usb based oscilloscope and wave form generator so when it is plugged in with pc it is properly getting the required amount of current from the pc to usb but the same analog discovery kit 2 i am connecting with raspberry pi the current delivered from the raspberry pi is not appropriate enough to runt the analog discovery kit so how can i resolve this issue please help i could able to resolve this that i will be more efficient setup for for me to work on mine remote lab , and same thing i developing mine project on labview using the labview connection with arduino.please help.what error coming while connecting raspberry pi with analog discovery kit is inappropriate current rating PLL stop working.
  17. Murphy

    NI USRP-2932 driver for Raspberry Pi

    Hi! I need to use NI USRP-2932 for a project. Can I ask if it is possible to install NI USRP driver to the raspberry pi? I am using Raspberry pi 3 model B, with raspian Jessie OS; LabVIEW 2014, and LINX to integrate my rpi and labview.
  18. As I have not received any reply from the National Instruments website nor the arduino community. All the hope that is left is in this community. I am currently working on a project controlling linear actuators powered by stepper motors. Even though I can control the direction and speed of the motor I cannot control the steps it will do. I remember on LIFA there was StepsToMove function? How can I specify the exact steps? Which block should I use? The duration should be an answer to that (ms connecting wire) But it does not work at all. The motor continues after the specified time. Bonus Question: How can I stop the stepper through the front panel, whatever I do even if I stop the vi, the motor keeps the last command.
  19. Hello, I am creating a program in LabVIEW that is supposed to accomplish 2 goals: Generate a 50ms pulse using the Analog Discovery Kit 2. The pulse being generated is a 0-5 V square wave with frequencies ranging from ~220 kHz - 230kHz. This component works reliably and I have this completed. Then, use the ADK2 oscilloscope to read and save the data to file. The scope will be attached to secondary hardware which is generating an output. However, I am running into an issue with getting data using the AnalogIn components of the Waveforms SDK. Simply put, it's not working. I want to record for the 50ms that the pulse is being generated, perhaps with a bit of buffer before and after, like 2 ms. That's not necessary though. Even after the data is recorded in labview, what would be the best way to output this to Excel? I think you're supposed to read off the AnalogInStatusData function?Any help would be appreciated. Thanks.
  20. The new version of LabVIEW NXG introduces key functionality and reinvents long-standing benefits, particularly for engineers developing, deploying and managing automated test and measurement systems. Quickly set up your instruments, customize tests to your device specifications, and easily view results from any web browser, on any device. (Photo: Business Wire) The new version of LabVIEW NXG introduces key functionality and reinvents long-standing benefits, particularly for engineers developing, deploying and managing automated test and measurement systems. Quickly set up your instruments, customize tests to your device specifications, and easily view results from any web browser, on any device. (Photo: Business Wire) AUSTIN, Texas--(BUSINESS WIRE)--NI (Nasdaq: NATI), the provider of platform-based systems that enable engineers and scientists to solve the world’s greatest engineering challenges, announced today a new release of LabVIEW NXG, the next generation of LabVIEW engineering system design software. Engineers can now test smarter with LabVIEW NXG - quickly set up your instruments, customize tests to your device specifications, and easily view results from any web browser, on any device. “By building test systems using LabVIEW and LabVIEW NXG, I can work with both versions and take advantage of the unique strengths of each” Tweet this This new version of LabVIEW NXG introduces key functionality and reinvents long-standing benefits, particularly for engineers developing, deploying and managing automated test and measurement systems. This release introduces the WebVI, a VI type for building web-based user interfaces (UIs) that can be deployed to any web browser – PC, tablet or phone – with no plug-ins or installers. Additionally, to reduce hardware configuration time, the new SystemDesigner feature automatically discovers connected hardware, displays installed drivers and directly links to available NI and third-party instrument drivers if they are not yet installed. Furthermore, this latest release expands hardware support to thousands of box instruments and NI’s high-performance PXI modular instrumentation. Now, LabVIEW NXG also delivers programming capabilities such as object-oriented programming and integration with the industry-leading TestStand test management software. NI designed several features in LabVIEW NXG, such as the WebVI, for use with existing LabVIEW applications without the need for extensive software refactoring. Engineers can reuse test code, including code written with LabVIEW NXG or LabVIEW, through a new package manager interface built on industry-standard package formats. “By building test systems using LabVIEW and LabVIEW NXG, I can work with both versions and take advantage of the unique strengths of each,” said Brian Hoover, test software architect at Samsung SDI. “With this next phase of LabVIEW NXG, I can integrate new ways to visualize data, either on the desktop with vector-based UI graphics or in the browser for secure hosting, into my existing LabVIEW applications to simplify reporting test results.” As NI builds on its more than 30-year investment in software, this latest update to the next generation of LabVIEW continues a series of fast-paced releases aimed to expand engineering capabilities from design to test. Whether you are buying LabVIEW for the first time or have been on an active service contract for years, you can access both the new version of LabVIEW NXG and LabVIEW 2017. From simple DAQ applications to building complex test systems and smart machines, LabVIEW helps reduce time to market and accelerate engineering productivity. To evaluate LabVIEW NXG, visit About NI NI ( empowers engineers and scientists with a software-centric platform that incorporates modular hardware and an expansive ecosystem. This proven approach puts users firmly in control of defining what they need to accelerate their system design within test, measurement and control. NI’s solution helps build high-performance systems that exceed requirements, quickly adapt to change and ultimately improve the world. LabVIEW, National Instruments, NI, and NI TestStand are trademarks of National Instruments. Other product and company names listed are trademarks or trade names of their respective companies.
  21. jthib

    Labview connectivity to FPGA boards

    What is Digilent providing to support Labview connectivity to your latest FPGA boards? The older Nexys3 board had the Adept software and Labview driver that allowed Labview to communicate to the FPGA board as if it was a simple parallel interface. This is no longer supported by your latest FPGA boards from what I can see. So what do you provide to allow Labview to talk to your FPGA boards?
  22. david22

    PMODs sensors in LabVIEW

    Hello I am working on a project for creating Demos using the DSDB and PMODs inputs. The sensors I am using does not show much information how to write/read basic data. I would like to send the data then receive/read the sensor data. See the sensors I am using. (PmodGYRO2) (Pmod ALS) (Pmod ACL2) Any information about the routines for reading the sensor would be very useful. I am using LabVIEW and USB-8451 for testing the sensors (I can test the routines using the USB first). the last tests I have made it gave me much information that did not match when I moving the accelerometer as an example. Regards
  23. techgineer

    AD2 with Labview on Mac?

    Hi, Sorry to be ignorant, but I can't figure out how to use the Analog Discovery 2 with Labview 2014 on my Mac running OS 10.9.5. I've tried installing the Diligent Waveforms VIs using the Labview VI Package Manager and it crashes. I could successfully install the AD2 Toolkit but all of it's VIs are broken because they can't find "C:Windows:System32:dwf.dll". Is it not possible to access the AD2 with Labview on a Mac? Again, sorry if this is a dumb question. I just can't seem to find the answer after quite a bit of searching the NI and Diligent sites.
  24. Thanks for pointing me to the information detailing how to import the dwf.dll's into Labview and for the example code that was available in the WaveForms 2015 SDK. I've been able to use the SDK digital output function calls in LabView to control the digital outputs of the Digital Discovery. I've been able to produce patterns and control timing just like in the WaveForms 2015 program. What I've failed to accomplish is using the SDK digital input functions to acquire data on the digital input lines and dump the logic analyzer memory to an array in LabView. Are there any examples using these SDK functions in LabView that demonstrates how to implement the functions of the logic analyzer as used in the WaveForms 2015 program? Thanks in Advance.
  25. Hi, I have a problem to connect LabView to the Analog Discovery 2. When I want to run the "Digilent_WaveForms_Frequency Sweep Generator and Acquisition (FGEN and MSO).vi" example on LabVIEW 2014 SP1 14.0.1 (32-Bit) this error occurs (WaveForms is closed): WaveForms 2015 3.5.4 (64-Bit) and Digilent WaveForms VIs is installed. The Waveform Generator is working with WaveForms software and the signal is detected by an extern oscilloscope.