I'm a newbie using LabView for my project. So I'm developing a program that gathers data from sensors that attach in the DAQmx board and also a spectrometer from STS-VIS ocean optic. At the first developing, I combine both devices in one loop inside the same flat structure, but I got an error saying: "The application is not able to keep up with the hardware acquisition." I cannot get the data showing on the graph for both devices, but it was just fine if I run it separately. And I found the solution saying that I need to separate both devices in a different while loop process because it may have different buffer size (?). I did it and it worked that all the sensors are showing in each graph. But the weird thing is, I need to stop the program first at the first run, then run it again for the second time for getting the graph showing in the application. Can anyone tell me what I did wrong and give me a solution? Due to the project rule I cannot share my Vi here publicly, but if anyone interested to help, I'd like to share it personally. Thank you.
Program won't start before stop the program frist?
138 views Asked by Kevin At
2
There are 2 answers
Related Questions in LABVIEW
- Writing Waveform data into CSV file in LabVIEW
- Why does a LabVIEW VI work perfectly in a blank project, but not in a myRIO project?
- LabVIEW to .csv: Data in Header Line
- Why can't I write to a text file in a myRIO project?
- how I can include a second Compact RIO chassis in my labview project
- starting address of the delta plc AS228p-A in Modbus TCP/Ip connection
- Viewpoint .XLSX Toolkit: Writing Formulas to Excel Cell and Reading Resulting Values
- Why does a while loop prevent a case structure from changing states, and how can I fix it?
- How to create Python code from LabView code
- Running an EXE with a set WindowTitle
- open the Image from the HDF5 file using Labview
- Can I execute S-Function/C code generated by Simulink Coder in LabVIEW/FPGA?
- LabView - how to change scales on Waveform graph without changing the display?
- The [save report to file.vi] in report generation tool always Prompt regardless of whether the file to be saved already exists
- LabVIEW - Specify network card from multiple
Related Questions in NIDAQMX
- Constant and inconstant values using NI-DAQmx Python API although not issues with NI SignalExpress 2015
- How can I synchronize a trigger and an analog output on an NI USB-6259?
- NIDAQmx continuous adquisition with python
- nidaqmx read ADC and write to DAC continuously
- Problem with 3 accelerometer using python
- Analog Input acquisition with Digital Triggering Continuously using NI-DAQMX in Python
- How to subtract temperature effects from sensor data?
- Is it possible to read from the NIDAQ card's clock system using Python?
- How to record data for distance measurement using Banner Q4XTBLAF300-Q8 laser sensor with NI USB 6008 in Python?
- how can i include nidaqmx.h in visual studio
- NI 9207 with nidaqmx with Python, how do I configure sample rates and achieve continuous sampling?
- Labview adquisition speed
- nidaqmx installation in Jupyter and spyder
- How to read Interleaved samples using nidaqmx API
- How to write nidaqmx data to a file without overflowing buffer
Related Questions in DAQ-MX
- Constant and inconstant values using NI-DAQmx Python API although not issues with NI SignalExpress 2015
- how I can include a second Compact RIO chassis in my labview project
- Analog Input acquisition with Digital Triggering Continuously using NI-DAQMX in Python
- Replace DAQ Assistant for a voltage input with reading a WAV sound file
- Is there a way to enumerate interfaces using NI Daqmx
- NIDAQmx Counter input Edge Source change
- LabVIEW data writing in a TDMS file
- nidaqmx.Task: (OSError: [WinError 126] The specified module could not be found)
- NI DAQ MAX Receiving false results from Task.CIChannels.CreateAngularEncoderChannel()
- Program won't start before stop the program frist?
- This statement is not inside any function
- Continuous analog read from National Instruments DAQ with nidaqmx python package
- make a .h file from a driver to be able to use the driver functions in c++
- How can i program in c++ this board?
- How To Create a Continuous Voltage vs Time Graph in LabWindows CVI
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
I work currently with a NI DAQmx device too and became desprate using LabView because there is not good documentation and/or examples. Then I started to use Python which I found more intuitively. The only disadvantage is that the userinterface is not so easily generated, but for this one can use the QT Designer (open source programm avaiable online).