Search the Community

Showing results for tags 'labview'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • 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

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 58 results

  1. 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.
  2. 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
  3. 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
  4. 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.
  5. 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 Whitespace.vi (3.18 K) Deploying LMH-LINX.lvlib:Channels.ctl (4.50 K) Deploying Search and Replace Pattern.vi (8.40 K) Deploying Find Tag.vi (11.43 K) Deploying LMH-LINX.lvlib:Device.lvlib:LINX VI API Version.vi (2.93 K) Deploying Format Message String.vi (6.47 K) Deploying NI_PtbyPt.lvlib:Update Summation.vi (7.55 K) Deploying GetRTHostConnectedProp.vi (3.83 K) Deploying LMH-LINX.lvlib:Device Firmware.ctl (2.51 K) Deploying LMH-LINX.lvlib:Device.lvlib:Bit Pack.vi (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 PtByPt.vi (10.42 K) Deploying LMH-LINX.lvlib:Loop Frequency.vi (4.69 K) Deploying Check Special Tags.vi (5.77 K) Deploying DialogTypeEnum.ctl (1.32 K) Deploying LMH-LINX.lvlib:User Platform.ctl (1.32 K) Deploying LMH-LINX.lvlib:Get Platform.vi (3.61 K) Deploying LMH-LINX.lvlib:Clean Error Call Chain.vi (13.03 K) Deploying DialogType.ctl (1.32 K) Deploying LMH-LINX.lvlib:Device Data.ctl (2.37 K) Deploying Error Code Database.vi (4.39 K) Deploying General Error Handler Core CORE.vi (47.32 K) Deploying General Error Handler.vi (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 Code.vi (9.29 K) Deploying LMH-LINX.lvlib:Device.lvlib:LINX Device Config.ctl (5.16 K) Deploying LMH-LINX.lvlib:Device.lvlib:Serial Set Baud.vi (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 Channels.vi loaded with errors on the target and was closed. Deployment completed with errors How can I complete deployment without having any errors?
  6. I'm working on a university project and I've programmed the stepper motor on LabVIEW and am using the digilent motor adaptor but the signal leaving it doesn't seem to be right even though the labview control is correct in the signal that it's giving it. It can run up to 30rpm but then it stops and doesn't run. I have run out of ideas and think the error must be generated from the connections in the motor adaptor but I have no idea why as the connections seem simple enough. Has anyone done it before and have a ready made program for it. This is the program I am using at the moment. Main.vi
  7. Sandor

    sandor

    hi, can you help please what digilent hardware you offer for digital datalogging (on/off, date/ time stamp, txt file(?)) and for easiest access to Labview thru lan? thanks, sandor
  8. 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.
  9. I have an Analog Discovery 2 and am using Waveforms to test circuits, measure voltage and current, model protocols such as I2C, SPI, and CAN. What would the home edition of Labview do to help me? Thanks
  10. 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.
  11. 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" https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAckSAG&l=en-US "Error 1097 While Calling DLL with Correct Calling Convention" https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9bHSAS&l=en-US Thank you!
  12. 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++.
  13. 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: https://youtu.be/dwFc86p1KlA Connection Diagram: Code: Main.vi Gyroscope demo.aliases Gyroscope demo.lvlps Gyroscope demo.lvproj
  14. 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 FFT_spectrum.vi
  15. 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. adxl345spi.vi
  16. 64 Bit LabView 2017 DLLs are not available anywhere. 32 bit DLLs all generate errors. Is there a solution for this? Best Regards... Kamran
  17. 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
  18. 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.
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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.
  24. 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.
  25. 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.