Science topic

LabVIEW - Science topic

LabVIEW is system design software that provides engineers and scientists with the tools needed to create and deploy measurement and control systems through hardware integration.
Questions related to LabVIEW
  • asked a question related to LabVIEW
Question
3 answers
Does anyone used the data logger other than DAQ(LabVIEW) for welding temperature measurement?
If yes
Can we get required data by using the data logger or do we need to use the DAQ itself?
(Apart from the cost comparison)
Relevant answer
Answer
I used the Agilent 34970A data acquisition/switch unit (see Fig. 2), together with the BenchLink Data Logger software, to record the temperature histories on selected points.
  • asked a question related to LabVIEW
Question
4 answers
Even without connecting any cables, the NI DAQ 6001 picking up noise more than mentioned in the specifications. How to reduce the noise issues?
1. What should be taken care to reduce noise when connecting DAQ to devices ?
2. Is any data manipulation options are available in LabVIEW?
Regards
Relevant answer
Answer
Use the analog input channels in differential mode.
  • asked a question related to LabVIEW
Question
3 answers
I am trying to model a Chaotic fractional order system in LabVIEW. I can do it in matlab but i want to create the model in LabVIEW
Relevant answer
Answer
Can any one share LabVIEW VIs for fractional order systems?
  • asked a question related to LabVIEW
Question
7 answers
I tried several links but no one worked.
It is developed by tribalengineering, but it seems that it is not available anymore. Any suggestion?
Thank you all
Relevant answer
Answer
It costs 1640 pounds for one year SSP subscription. If any one interested then buy it right away.
  • asked a question related to LabVIEW
Question
4 answers
I have a project using Labview and a microcontroller. I need to create a TTL connection for sending data between the microcontroller to Labview. I tried and it did not work fine. Could you please help me to receive the data from the microcontroller? Thanks.
Relevant answer
  • asked a question related to LabVIEW
Question
3 answers
Hi, I cannot find a programming command to set remotely (via GPIB within LabView) the magnitude of the AC voltage from the built-in oscillator (generator). Help needed, please.
Many thanks in advance!
Relevant answer
Answer
Hi. Install telegram and go to group with below link... you can ask your question from mr.fooladi (number one in programming with labview)
  • asked a question related to LabVIEW
Question
3 answers
I was trying to connect the Newport 1918-C power meter with my PC through the LabView programming environment.
The computer is detecting the device as can be seen from the device manager but can't find in LabView.
I have tried to download the driver of the instrument from the Newport website but it doesn't allow me to download the files.
can anyone please help me in this regard?
  • asked a question related to LabVIEW
Question
1 answer
Actually I am doing project on SBHS board with SI lab . But I also want to try it with labview.
Relevant answer
Answer
Apparently yes, you need a required manual for this.
Kind Regards
Qamar Ul Islam
  • asked a question related to LabVIEW
Question
4 answers
I am attempting to create an FEA model, or other general 3D rendering of photons being launched into a turbid or randomly scattering medium.
Comsol's Geometric Ray Optics comes close, however it combined transmission, absorption, and scattering into a singular extinction coefficient, resulting in rays going straight until they extinguish or hit a fix body, bouncing off in a fixed way.
The natural behavior of a given photon in the turbid medium would appear as a series of events (transmission, reflection, or absorption) occurring after the photon has traveled a Mean Free Path from the previous event.
In a Transmission or Reflection event, the photon's vector would randomly change (with some constraints), and in the Absorption event the photon is extinguished.
Comsol does the Absorption portion fine, but is there a way to model the random vector changes in an FEA package, like Comsol or ANSYS, or am I better off using MATLAB or LabVIEW and putting in the desired randomized behaviors myself?
Relevant answer
Answer
You can design and analyze by LabVIEW.
  • asked a question related to LabVIEW
Question
1 answer
I have heard that it is possible to control the strain of uniaxial test machine with LABVIEW interface.
Relevant answer
Answer
you can use R language and Python
regards
  • asked a question related to LabVIEW
Question
1 answer
I am an undergraduate electrical engineering student researching on the application of motor current signature analysis for fault detection in three-phase induction motors. I plan to use LabView simulation tool. However I do not have a physical motor that I can use to create faults to it. Now My question is does LabView simulation tool provides an option for creating faults such as stator fault, rotor fault and bearing fault on the virtual motor? Your answers will be highly appreciated
Relevant answer
Answer
Yes. The LabVIEW simulation tool can provide it.
The following paper may help you: "MOTOR CURRENT SIGNATURE ANALYSIS BASED FAULT DIAGNOSIS OF INDUCTION MOTOR" http://ijcns.com/pdf/ijpcscvol6no2-1.pdf
  • asked a question related to LabVIEW
Question
7 answers
Hi,
Has anyone encountered such a problem? LabVIEW does not display one major grid line. The other grid lines are displayed correctly.
Thanks for help.
Daniel
Relevant answer
I think this fault is associated with computer display itself. If it is caused by the display it self if you move the plot to the right of the left away from this area of the screen you may get correct raster.
Best wishes
  • asked a question related to LabVIEW
Question
1 answer
Currently, I am using LabView to collect / control ex vivo muscle mechanics (length, activation, and force) of mouse muscles by running it through different strain trajectories and activation phases. It seems it has been difficult to find someone around me to help with changing the LabView program to something slightly different than what we control now. It is generally a steady state activation, controlling the amount of cycles, and when the muscle is activated. Our lab would like to do something more complex than that. We do have a dynamic activator now that we have used MatLab with to control the activator, but it is limited by what the dynamic activator is able to understand.
I am looking for anyone who has used MatLab for more complex muscle activation in ex vivo experiments? Or even someone who is able to help change the LabView code to do these complex experiment protocols?
Relevant answer
Answer
I don't really know about MATLab, but if you want to be able to change from labview to a scientific language, you can look to python.
First, in order to help you, one has to know what are the components of your system, brand or drivers.
Second, it is absolutly unclear what is limiting your set-up. Is your actuator limited ?
We've made some electronics components to drive synthetic muscle, we drive it with raspberry using python without any issue. I don't really understand on what kind of muscle you want to work with servomotors.
Do you want to strain the mouse muscle with mechanical actuator or do you want to use electric stimulation and measure the force and length variation ?
Sometime it cost less to buy new sensors and actuators that are compatible with your language than trying to redevelop the solution using existing rig.
We have developed Crappy for all this kind of work, it is not MATLab but python, but it surely allows to do what your looking for.
Feel free to post an answer if you are interested.
Regards,
  • asked a question related to LabVIEW
Question
1 answer
Hello dear colleagues
Do you have any experience in terms of LabView application to create a near real time connection between field data received by external sensors (like soil moisture), online and free available databases like what has been introduced recently by TERN in Australia (national evaporation with 30-meter spatial resolution) or prepared databases on Google Earth Engine platform and a well designed deep learning network on Google Colab? A system like this has a great potential for validation of a wide range of modeling methods.
  • asked a question related to LabVIEW
Question
2 answers
Hello dear.
I am looking for answer of a one billion dollars question:
I am curious that can we create a real-time connection between input dataset received by external sensors (such as soil moisture or soil EC, to name a few) of LabView and Deep Learning structure design by Google Colab? Any extension or magic codes?
If yes, it will be possible for me to finalize my real-time deep learning system that I have been working on it for a few weeks. with this integrated system, the satellite images captured by space platforms such as Landsat8 or Sentinel2 after processing in Google Earth Engine environment, delivered to Google Colab where a deep learning model use them as input to calculate my desirable output such as soil moisture, soil EC, content of nitrogen in biomass of crops, pest monitoring, and etc. I need a real-time complementary sources of data set such as those derived from external sensors of LabView to double check the results of my integral system. This real-time complementary source also help to my deep learning system to use them for what is so called transfer learning for new locations with rare data.
Relevant answer
Answer
it depends on characterstics features of sensor.
  • asked a question related to LabVIEW
Question
6 answers
Hello Everyone,
I am building a MOKE device which will need to transfer data from a Lock-in Amplifier to a PC using LabVIEW. Do I need to use a SCB-68 to be connected between a the Lock-in Amplifier and the PC or can I connect the Lock-in directly to the PC, and if so with what type of cable? I also am having trouble starting the design of the LabVIEW program, if anyone can help with that also.
Thank you for any replies, they are all helpful.
Relevant answer
Answer
Thank you Kengo Shibuya and P. K. Dubey
I was able to find a LabVIEW program (sr830.vi) on the ni website based on the SR830. Since I am only able to get in the lab on Tuesdays and Thursdays at the moment I have been unable to successfully test this program out. Thank you for the insight on the cables as I have been struggling to find the right connection method, but I know that their is a 9 pin to 9 pin cable that I can use.
I was wondering if you have worked with the sr830.vi before, and if so was there any changes that needed to be made based on the progran itself to receive proper data?
  • asked a question related to LabVIEW
Question
9 answers
Every time I try to run my VI (created an auto-focus mechanism for a PoC device) I need to write down a stepper number and I don't know why. Without changing the COM ports, if I try to run the VI again, I have to find the new stepper number (apparently it changes every time I try to run the VI) and this is a problem because I want this auto-focus mechanism to be fully automated and cheap (that is why I am using an Arduino interface and a cheap stepper motor).
Now, to the question: What is this stepper number and how can I just create a constant or something like that to run my VI without problems?
- I have attached an image of the NI example of an Arduino stepper motor controller VI
- I will be here to add more info if needed
Thanks in advance for your attention!
Relevant answer
Answer
Please watch this video:
LabVIEW | Stepper Motor Control using Arduino | Auto & Manual | Arduino + LabVIEW Projects Series
  • asked a question related to LabVIEW
Question
6 answers
I have Max6675 thermocouple amplifier with K-type thermocouple connected via Arduino Uno  board.
I want to acquire the temperature signals using LabView 2016 .
I build the Cod using Maker Hub / LINX / LIFA ( labview for arduino Interface kit)
But I have Problem with the code the , what is the values for the "i2c"  and "SPI channel "  and the " SPI configuration"  , if there is any conditions for these parameters
Relevant answer
Answer
Hello Natheer, I have the same problem as you. Did you interface the Max6675 SPI with arduino to Labview, using Linx?
If you did it, can you share your vi?
I found another solution, using the Serial Interface of Labview, but it does not look very performing and reliable. You can check the following link:
  • asked a question related to LabVIEW
Question
5 answers
I've got this 5 year Direct Normal Irradiance data I downloaded from https://re.jrc.ec.europa.eu/. I ordered this by year and by every 24 hours because I need the DNI curve by max in summer, min in winter and the average in spring and autum. The thing is that because not all days are sunny, the data is noisy and can't use simple "max" and "min" algorithms. Which algorithms do you recomend to filter and correct data? To achieve this graph, I used LabVIEW to order data.
  • asked a question related to LabVIEW
Question
7 answers
how can i configure any instrument using VISA instrument drivers rather than its specific instruments drivers. need help for control of instruments using VISA drivers
Relevant answer
Answer
Although without drivers it becomes very difficult to interface with the instrument.
Recently I also came acros such situation, where I followed the communication protocol (specific commands for directly accessing it registers;their addressing etc) provided by the vendour.
I think, you can also focus on implementing the possible communicating commands for the device you are trying to interface.
  • asked a question related to LabVIEW
Question
2 answers
I am using a Zahner XPOT potentiostat and I want to control the instrument by a LabView driver, as the original software of the potentiostat lacks many functionalities. I already searched in the database of LabView but I couldn't find any related driver.
Relevant answer
Answer
Hi G.Hari Krishnan,
I don't have the ZENNIUM workstation, and I actually verified with technical support and they told me that is it not possible to control the Potentiostat without having the ZENNIUM workstation...
  • asked a question related to LabVIEW
Question
5 answers
Hello everyone
i am working to make a software for my agilent 4294a by labview.
but as i see it is very easy to make sweep measurements.
but it is limited up to 801 point therefore i need more points instead.
but i could not make single point measurements so that i can control it by computer for very huge points.
is there any way to increase the number of points from 801 to more, or any way to make single point measurements?
Relevant answer
In order to increase the number of scanning points you can repeat the command of the scan with giving an the initial point of the second scan = final scanning point from the previous scan +1.
To get single point scan make Ni= 1, Nfinal=1 Nstep=0,
Ni is the initial point of the scan, Nfinal is final point index and Nstep is eqaul zero.
This is a proposal from me than may be applicable or not. The exact solution can be found by consulting the manual of measuring instrument and its modes of operation.
Best wishes
  • asked a question related to LabVIEW
Question
2 answers
Hi,
I connect Lock-in Amplifier(SR530) with GPIB-USB.
After I scan device with Measurement&Automation, the address of instrument can be found. 23 based on the manuanal.
but as I send data request commend *Q1"or "QX"..... balala... I cannot get the value from this SR530.
The MAX could find the address while the error code is always -1073807339 as I send the command. I did not get any value from both Channel 1 and Channel 2.
May I know the Labview version you used and "SW1:GPIB Mode Switches" and "SW2:RS232 Mode Switches" of your SR 530?
By the way, have you added a 270 pF capacitor in your SR 530 as suggested from Official website?
I do need your help for this problem. Many THX
Best regards,
SHUEN W
  • asked a question related to LabVIEW
Question
4 answers
I want my piezo actuator to give a sinusoidal load as output and thus keep the forces (max, min and mean) constant. To do this I need a close loop control with a load cell I think. However the controller only has a strain gauge sensor. So I want to know how I can make the load cell and controller communicate via LabView (programming software which can do force control). Which components am I missing?
Relevant answer
Answer
I also did force analysis by using single-axis force sensor or load cell at different speeds and acceleration excitation of the actuator. As dr. Dubey said that you have checked the load cell amplifier module and set the output value according to your designated value. I et on 5V. Then you should used DAQ (data acquisition card) to show force sensor values in the sinusoidal form and actuate the piezo by the instructed value set in your LabView.
Also, check the attached file on the topic
  • asked a question related to LabVIEW
Question
11 answers
Those who are working in the area of Data Acquisition, Signal Processing and LabVIEW.
Relevant answer
Answer
Dear Shabana Urooj
Methodology used in ECG data of these studies may guide you which method to use depending on your budget, availability, and requirements:
  • asked a question related to LabVIEW
Question
3 answers
Hello,
I am currently looking for a solution to measure the NEP of a thermopile sensor. My sensor is placed in front of the blackbody cavity and it between them is an optical chopper which modulates the infrared radiations coming from the blackbody source. I control the frequency of the optical chopper through labview and increase it stepwise to measure the output signal from the thermopile sensor in the lockin (which is also connected to LabView).
I am taking the value of R and R-Noise at each modulating frequency. I have taken the time constant on lockin amplifier as 10seconds, slope as 12db/oct and sensitivty as 500mV. The problem is it takes a very long time for the values of R and R-noise to settle. What is the reason behind such a very long time ?
Relevant answer
Answer
It is assumed that your detector signal will be in form of a DC voltage if your radiation is kept unchanged. This signal is contaminated by the noise of the detector.
So, If the noise is correlated one can eliminate the noise by subtracting the off signal from the adjacent on signal. To achieve correlation one may make the off time short and the on time of an equal interval.
I would like to propose that you reduce the chopper time and see how instruments reach to steady sate.
On the other side too short time may not allow the detector and the electronics to reach their steady sate conditions.
If you van acquire the waveform pf your signal, then you can analyze it by FTT to determine it frequency content.
The DC value must be the targeted detector reading.
If the steady sate value is drifting It may be due to the slowly time variation in the signal.
Best wishes
  • asked a question related to LabVIEW
Question
2 answers
I am making a test request template for product engineers to fill out. The template will basically configure the product, and will prompt the user for nominal values and limits of each variable of interest. To make the process less time consuming, I would like the user to be able to manually (via some software) place three plots on a graph for each variable. The three plots would be the nominal, the upper limits, and the lower limits.
There is a Mask and Limit Express VI for LabVIEW that might be an option, but it appears as though it will be cumbersome, given many variables and complex profiles. We do not have DIAdem yet, but are considering the purchase. The template is in Excel, and the data might be acquired and analyzed with DASYLab, though it could be analyzed with LabVIEW.
Relevant answer
Answer
This will take some time to digest. Thank you for your help.
  • asked a question related to LabVIEW
Question
7 answers
National Instruments provides vast variety of DAQ options which are based on LabVIEW, however they are way too expensive when it comes to opting option with high analog output channels (like 4). Can you please recommend a company/products which are less expensive with almost same features?
Relevant answer
Answer
I absolutely agree with the suggestion of Nikolay Pavlov for the low cost and also relatively simple to program. It depends on your requirements such as sample rate, resolution refresh rate for DAC and others. If the cost is the ultimate limitation. I would also suggest to use a general purpose 8 bit controller and use the 10bit ADC. If it is not sufficient use the separate module available such as below link. Similar D/A modules are also available. Developing own customised board would be the additional task which can be minimised in case of Arduino board as most of the codes are freely available online.
  • asked a question related to LabVIEW
Question
3 answers
Dear all,
I need working programms of I-Time, V-Time and I-V for my keithely 2401 using labview. I am able to communicate with instrument. Please someone provide here or to my personal email. Thanks in advance. This is my e-mail id rakeshr@nitw.ac.in.
Relevant answer
Answer
I have interfaced through GPIB and communication established. I don't have the knowledge to write LabVIEW programme for 2401. I am asking working programs.
  • asked a question related to LabVIEW
Question
6 answers
I was looking to buy a cheap variable baseline pulse generator which can be controlled via LABVIEW. And/or any ideas how to change a fixed baseline pulse generator to a variable one? I am looking for a range of around +/- 10V. (Trapezoidal wave)
Relevant answer
Answer
If you have any data acquisition card for LabVIEW then it must have this function to change baseline. Other simple option is to have an OpAmp as adder and use programmable potentiometer (like X9C103S) to change the dc reference to one of the input terminal of adder. Change the potentiometer input from a simple microcontroller or computer directly.
  • asked a question related to LabVIEW
Question
5 answers
I am using Labview for control of an exoskeletal robot, and MATLAB for machine learning.
Two years ago, I have successfully deployed shallow neural networks trained by MATLAB to Labview (By Using Mathscript block in Labview).
However, when Deep networks such as CNN and LSTM are deployed to Labview, the Mathscript block is too heavy to control the robot in real-time (At least 100ms sampling period).
I have a plan to use TCP/IP communication between the robot and my desktop PC. Then the robot's sensor signal can be transferred to the trained model in MATLAB, and the robot can receive the model output.
I want to know easier methods.
Is there anyone who has installed the deep networks model(CNN or RNN) from MATLAB to Labview?
Best regards,
* Notation:
CNN(Convolutional neural network)
LSTM(Long short term memory) as Recurrent neural network
Relevant answer
Answer
Hi
Please check the following work. It describes the process in details. I believe it will help you.
Regards
  • asked a question related to LabVIEW
Question
3 answers
Currently i am trying to write some LabView Program for controlling Nanotec L2818S0604-T5X5  linear stepper motors via Canopen protocol by using PID FPGA. I am using cRio 9024, Can Breakout box and NI 9881 to communicate with CANopen system. If My LabVIEW version is 2015 and l uploaded all drivers that l need. If you have some VI. codes with regard to control stepper motor.  l am going to create syringe pump system  by using stepper motor. l`d like to control velocity,acceleration,cw,ccw,time. l would be very appreciated, if you could give some suggestions. because it is my first application about embedded system. l could not write a code about that.
Hope the above helps, but please write me back if you are still having any question to understand the problem that l mentioned above.
Best Regards
  • asked a question related to LabVIEW
Question
7 answers
Dear Members,
I have started training the faculty of a govt. university of my country about LabVIEW on a part-time basis. So far they have been trained on MATLAB , Arduino , Raspberry Pi and basic IOT by other trainers before me. Can anybody suggest a simple project idea where I can combine LABVIEW , MATLAB, Arduino and IOT concepts? I want to give them a hands-on demonstration so that they can learn how all of these tools / concepts can be combined to achieve a common goal.
Relevant answer
Answer
You could use Arduino + Raspberry Pi to emulate a radar system with a few inexpensive sensors. I wrote a whole tutorial on it. Radar is great because most students understand the use, but not the specifics of how it works. Some learnings include: polar plots, servo motor control, and time-of-flight measurements. I am not using radio waves, instead I'm using an ultrasonic sensor, which makes the problem more approachable and creates another layer of physics to understand (acoustics).
Here's a link to the tutorial:
I've also attached an image of the hardware and software together.
  • asked a question related to LabVIEW
Question
4 answers
Hello guys,
I am using LABVIEW for PSK modulation and Demodulation.
I have transmitted my pulse shaped signal and then adding AWGN to it. My SNR is 10dB.
I want to know what is the max value of noise that can be added or subtracted from my transmitted signal. suppose my magnitude is 0.707 + 0.707i for transmission signal.
To my understanding, it should be +0.0707 or -0.0707.
Relevant answer
Answer
Thank you Umair Yaqub and Mohamed-Mourad Lafifi for helpfull respenses
  • asked a question related to LabVIEW
Question
2 answers
Can someone help me with SIM4U cyclic voltammetry simulator? I have installed the software together with Labview, according to instructions of Wonatech company that made the software. I tried to test the software using ferricyanide model that was added with the installation. I adjusted concentration to 0.002M, start potential to 0.65 V and final potential to 0 V. Scan rate was equal to 0.25 V/s.  The simulation was started and a series of lines with low electrical current (10^-30 A) is showed. I modified the parameters many times, but the same curve profile seems, no common cyclic voltammogram is observed. I do not know that I make wrong.
Relevant answer
Answer
Julio Cesar Bastos Fernandes, thank you very much for the information. Had the same trouble. After more than two years this information found me and helped "somebody" :) I love researchgate and I agree with you that this is an awesome software for education, I will use it in my course. By the way I am sorry to see today during my search on the company's site that south korea increased the covid-19 allert to red code and says staff to stay at home for 1 week. Wish to hear good news.
  • asked a question related to LabVIEW
Question
5 answers
I am interfacing Keithley 6220 current source by Labveiw 8.6 through GPIB bus and KUSB 488A. I am using example VI which is provided with Keithley drivers for current sweep. I don’t have any problem in sweeping the current in micro or milliamps. But when try to sweep in nanoampere (even the step level in nanoampere), it shows error message “-222” which stands for “Parameter data out of range”.
Can anybody please help me to resolve this error to sweep in nanoampere (stop level as well as step level in nA). I am herewith attaching the the VI which I am using. Front Panel during run (which shows my controls) and the error message are also been attached.
Thanks in advance
Relevant answer
Answer
Thank you all for your suggestions.
The error code is related to the VI KE6221 -- Set Wave Amplitude. The current is sent as fractional number, every current below 1uA is interpreted as 0, giving the Error 222 - Out of Range. I've changed the format to scientific, now the 6221 sine wave is working as expected.
PS: The set wave offset value has the same issue.
  • asked a question related to LabVIEW
Question
3 answers
I'm an engineering student and for my final project I want to analyse some vibration data. There is currently no technicians at the university to help me use the hardware they have so I was hoping I could do it another way.
I'd like to record and find frequency weighted data for vibration on a drum stick on the Hand-Arm vibration range. I've looked into using an accelerometer and an arduino to capture the data and then use software such as labview or matlab to process the data (FFT ect)
Is there any guidance on this or could anybody point me in the right direction ?
Many thanks!
Aimee
Relevant answer
Answer
You can follow two standards for human exposure to vibration.
ISO - 8041, which is related to the measurment tool (Specifications for the sensors). It will help you to check if your accelerometer is ok for measure HAV ranges.
ISO - 5349, wich is related to the evaluation of HAV and give you all the information to perform your measure (how to put the sensor, which weighting filter to apply...).
  • asked a question related to LabVIEW
Question
3 answers
I am trying to measure magnetostrictive strain as a function of applied DC magnetic field. For this, I am using NI9237 module sitting on a chassis for strain measurement, and a lakeshore 425 gaussmeter for magnetic field strength measurement. My intention is to automate the module and gaussmeter using LabVIEW (version 2016/ Windows 10 OS), but did not progress much. I can measure strain using the DAQ Assist VI and magnetic field strength by its instrument drive downloaded from ni.com/idnet. Although I can do both tasks individually, I am not getting any idea how to use both instruments in single task to measure the strain vs field curve. Examples/help or a ready to use VI file on it are highly appreciated.
Relevant answer
Answer
I have downloaded and installed the driver for lakeshore 425 gaussmeter. The gaussmeter utilizes "traditional" LabVIEW blocks to be configured and to measure. Thus, I believe the task you solve does not significantly differ from the task solved at the discussion I mentioned above. The main idea, as I suppose, to synchronize both measurements
  • asked a question related to LabVIEW
Question
3 answers
I attached an example of the file that I need, with datas from another EMG.
Thank you
Relevant answer
Answer
Iulia Puscas, you can use open and read from a text file using the Open/Create/Replace file and Read From Text File VIs. From there you need to convert the string that is output from the Read Text File to and array by using the Spreadsheet string to Array function. Note that your data is space delimited rather than tab delimited, so you need to wire in a space constant.
I've attached a VI that will do this. Let me know if I need to save it for an older version of LabVIEW.
  • asked a question related to LabVIEW
Question
1 answer
When I try to use the monochromator (CS130 from Oriel) through LabView, it does not connect because it says the drivers are not correct. However, when I run the precompiled program from Oriel/Newport that comes with the machine, I can run it without issue.
Has anyone else experienced this issue, and any tips in solving it?
Thanks.
  • asked a question related to LabVIEW
Question
11 answers
I am using a DAQ USB 6251 device. My goal is to count the number of edges of an incoming pulse signal and generated an analog output proportional to the count value.
Relevant answer
Answer
A common problem.
<nods>
You have a loop, and inside the loop you poll the hardware and obtain an analogue value. In that loop I would have another counter, called TICK. It increments by one every time you get a signal, unless that counter is equal to WINDOW.
(WINDOW is an integer, set by the user: it's the 'window' over which the code turns edges into values).
So you have an conditional statement that increments TICK if TICK<WINDOW.
Otherwise, TICK is set to 0.
Okay? So, if WINDOW = 5, TICK will be 0, 1, 2, 3, 4, 0, 1, 2, etc.
The next step is deciding whether the value is close to the last value you read - if it isn't (and you might want to test for rising or falling edges) then you've found an edge, and you should increase a 'number_of_edges' counter by one.
I would then add another case added to the TICK=WINDOW case.
If TICK=WINDOW then analogue_value = (number_of_edges / WINDOW)*some scaling factor
Oh, and add another case to the TICK=WINDOW case, to reset number_of_edges to 0.
:)
(nearly forgot!)
Of course, there might well be a module that does all this these days. But this is a low-level implementation - and isn't very slick, but should work.
<I've a code that does this at home in LabVIEW 8.2 if you're really stuck>
  • asked a question related to LabVIEW
Question
4 answers
forced convection boiling experiment at rolling conditions.. test section is on platform which is rolling and we get the angle data through Inclinometer sensor which is read in LABView so I am getting angle data at every second using below mentioned equations I get these plots for angular velocity and angular acceleration. The problem is that my supervisor is asking me to make piece-wise function from experimental data and use Fourier transformation to get results as from sine equations using my experimental data and aforementioned equations. I need help and some expert opinion on urgent basis. Please have a look at this. Thanks
Relevant answer
Answer
Dear Muhammad,
welcome,
You want to express the experimental data as apiece wise function of time and then transform these functions in the frequency domain using Fourier analysis.
Piece wise means that you want to divide your curve into pieces covering certain ranges of time.
Well! i would propose at first if your experimental results are periodic or not. If they are periodic what is the value of the periodic time.
If they are periodic you can take only one period of time and making for them fft analysis. If the function is periodic means that the frequency components will be a fundamental and harmonics.
I think in order to demonstrate the periodicity you have to have results a relatively long times containing many cycles.
When you show extended results in time i can tell you how to divide your curve into pieces.
Best wishes
  • asked a question related to LabVIEW
Question
3 answers
Is there any way to remove uncorrelated noise from the signal?
I want to know how to remove the noise from the audio signal using adaptive noise cancellation without knowing its noise characteristics.
I use LabVIEW adaptive filter tool kit to remove noise from noisy signal but i use some portion of noise from the signal as a noise reference that portion is clean(remove noise from this portion) and the remaining portion is unchanged(noisy).
Relevant answer
Answer
Have you considered using machine learning?
What you could try is to use an unsupervised clustering algorithm with two classes, one for noise and the other for your desired signal. If the desired signal is significantly more than the noise then you can consider performing anomaly detection but you will need training data.
The features you will need to extract will depend on what type of audio you are dealing with. If you are working with speech, then MFCCs might be a good place to start.
Domain knowledge will play a big role in solving your problem so, telling us the type of audio signal you are dealing with could help narrow down the problem.
  • asked a question related to LabVIEW
Question
3 answers
Hi everybody,
I have NI USB-4431 DAQ and would like to measure voltage and current output from my samples at the same time by using LabVIEW. Anybody can help?
Relevant answer
Answer
Dear Muhammet,
I agree with the previous answers this can be done easily in software.
If you need a hand please contact me I have a LabVIEW example that explains it very well.
Good Luck
Michele
  • asked a question related to LabVIEW
Question
3 answers
We are using LabVIEW but don't have the DAQ card for acceleration measurement from the accelerometer. Because of that we cannot able to measure acceleration vs time directly from the accelerometer, especially for random vibration.
1) We are giving inputs to the base exciter as frequency and voltage amplitude from the function generator.
2) Then the output voltage response of the beam is measured using DSO, no problem in that.
3) The acceleration vs time plot of the base exciter not able to produce from that, because of the applied amplitude is in terms of voltage. So we are getting the response of the base exciter is also in terms of voltage in some millivolts. That is the output voltage reading.
Using the sensitivity formula of accelerometer
Acceleration (g)=(Output reading (mV)-Zero output (mV))/(Sensitivity (mV/g)) is calculated for particular frequency and particular voltage amplitude.
In most of the literature papers, the acceleration is kept constant and doing an experiment. But in my case, the output voltage reading keeps on changing, so that acceleration is also changing. Not able to keep the constant acceleration as given in the literature.
In this message, the image file of the paper is attached for your reference.
Kindly tell me if somebody know anything about this problem. It will be useful for my research.
Relevant answer
Answer
Dear Raja,
Its very simple to try this using Arduino, you can use the analogue input to specify the acceleration.
Warm regards
  • asked a question related to LabVIEW
Question
4 answers
I also would like to know, All the noise produced from machine, will always multiples of fundamental frequency? is there any other do contribute apart from resonance frequecy?
Relevant answer
Answer
Dear. Hyderiqbal Sheikmohamed ! To begin with, I want to note that the level and spectrum of noise depends on the design and electrical properties, as well as the operating conditions of the machine. If all the indicators and operating conditions are ideal, then we can say, as the noise. However, in reality, noise has a wide spectrum, primarily, as you noted, with frequencies that are multiples of the operating frequency.
Best regards, Islam.
  • asked a question related to LabVIEW
Question
3 answers
I am looking for a tutorial with detailed explanation or some sample blockdiagrams of labview
Relevant answer
Answer
Read these two papers who invented backpropagation.
  • asked a question related to LabVIEW
Question
4 answers
In order to find solutions to my problem that concerns hot air engines, I kindly ask you to tell me how to make a pressure measurement acquisition depending on the angle of a crankshaft.
Relevant answer
Answer
Your question could be interpreted two ways, which result in two implementations of the data acquisition. Both require a pressure sensor for your pressure and rotary encoder for your angle. There are many types of both of these, so you should pick the ones which work best for you based on performance and cost (and if you already have them). The two interpretations are:
  1. Find the pressure at a specific angle. In this case, use the rotary encoder as a trigger for the acquisition of pressure measurements. Your data acquisition board must be able to trigger an acquisition based on the signal from the rotary encoder.
  2. Find the pressures at multiple angles. In this case, acquire data simultaneously from both the pressure sensor and the rotary encoder. Your data acquisition equipment must be able to simultaneously acquire data from both the pressure sensor and the rotary encoder.
Please note that you can use either system to get data for either interpretation, but data analysis will be a little more complex. National Instruments offers a huge variety of data acquisition systems which can do this measurement, provided your sensors can be connected to them. If you are buying equipment, make sure your pressure sensor and rotary encoder work with the data acquisition boards you purchase. Also note that one of the papers listed by Mohamed-Mourad Lafifi above is "old" and may use obsolete equipment. The measurement theory and techniques do not change, but NI puts out new equipment very often. You can probably do it better/faster/cheaper with newer equipment, if you are purchasing equipment. This is a fairly simple measurement, so any reliable, working data acquisition boards which meet your specs would do it. Don't buy anything if you don't have to. You could do this measurement with BiRa boards in a CAMAC crate with a PDP11/23 controller, if you happened to have one around and knew how to use it.
Finally, I would highly recommend you post your question to the NI discussion forums. I usually get good replies within 24hrs. The NI website also has multiple examples that should help with simultaneous data acquisition, pressure sensing, reading rotary encoders, and triggering from both analog and digital signals.
Disclosure: I was once a National Instruments employee.
  • asked a question related to LabVIEW
Question
5 answers
I know the paid tools in LabVIEW. If it can be done by VB or VC++ may be helpful.
Relevant answer
Answer
hello..you can use the cropping instruction in matlab language to crop the numbers from the image then do anything on the image like zoom_in , zoom_out or display it . the first way to cropping by giving the location and the second way by cross the x-axis and y-axis.
  • asked a question related to LabVIEW
Question
16 answers
I need interface LabView with Arduino UNO in a project in which data transfer rate is quite high. Is it possible to use interface Arduino with LabView in such cases? If not, should I try using Raspberry Pi instead?
Any technical answer regarding this issue will be highly appreciated.
Relevant answer
Answer
Go for Yourduino rather than Arduino. The coding interface is same but Yourduino is 10 times powerful than typical Arduino
  • asked a question related to LabVIEW
Question
15 answers
One of the common way to reconstruct a digital hologram is Fresnel–Kirchhoff integral. I used Labview to simulate this process. Now I want to test my program to see whether it works or not. And I dont find a proper digital hologram with correct information to reconstruct it.
Would you please help me and show me one?
Relevant answer
Answer
I just uploaded matlab code for reconstruction off-axis hologram, also available on matlab file exchange server.
  • asked a question related to LabVIEW
Question
4 answers
I have an RC-controlled car with two servo motors (one on the front right and one on the front left). The car is controlled with an arduino and Labview.
I control the motor by giving a angle as input. Depending on the arrows I press I want to change the two angles so I can go forward, turn right, turn left,...
How can I give a different angle-input depending on the arrows I press? Is there some sort of if-then-else structure for example that would be useful?
Thanks in advance,
Thomas Snijders
Relevant answer
Answer
I would second (third?) the use of the event structure. You may find that controlling the car using only arrow keys is somewhat difficult. This can probably be made easier by making the motors return the car wheels to zero rotation (slowly or quickly, as you wish) if you are not pushing the arrow keys. The event structure has a timeout function (frame) which makes this fairly easy to implement. Good luck. Sounds like fun.
  • asked a question related to LabVIEW
Question
2 answers
I am new to labview and unable to display the power spectrum, i have attached the screen shot of program and output, as it can be seen the power spectrum graph shows nothing. In case i simulate a signal, i get a perfect spectrum but doesn't work when i capture the sensor data.
Relevant answer
Answer
Here is a good example
  • asked a question related to LabVIEW
Question
5 answers
Data is given in Excel files, obtained by LabView. Some data are given in negative values(DRAG) , some errors in charts.
Relevant answer
Answer
For wind tunnel tests, generally error analysis is performed using the repeatability of experiments. I would suggest you to repeat your experiments certain times, to get the repeatability curves. Then, you need to find the standard deviation (S.D) and the uncertainty (percentage error) of your data at specified points. The less amount of uncertainty would also help you in validation of obtained data.
  • asked a question related to LabVIEW
Question
3 answers
If yes, how can I do that in LabVIEW?
Relevant answer
Answer
Dearv Shakil,
Yes we can use Gabor transform/filter for denoising vibration signal, I suggest you to see links relative on subject.
-Noise reduction method for vibration signals 2D ... - Wiley Online Library
-A statistical filtering method for denoising of micro-force measurements
-Optimal Estimation of States in Quantum Image Processing - arXiv
Best regards
  • asked a question related to LabVIEW
Question
3 answers
I am using a FTDI's IC FT4222H, a programmable one which was released few months back. It's used for interfacing I2C/SPI based slave or master devices and acquire the signals or data. I am using the Evaluation module of the same IC to act as a I2C Master and communicate with a EEPROM 24LCB16 for reading and writing the data from and to it respectively.
I am using LabVIEW to communicate with the FTDI IC through USB. I am not using the Virtual COM port whereas I am importing the FT4222H .dll into vi and executing the program such a way. 
I find the device is listed properly in the VI, it is getting recognize as FT422H. The mode selected is Mode 3 where the I2C Master/Slave, SPI Master/Slave is enabled and the GPIOs are disabled. So it is listed as FT4222H. 
Even then the device is getting opened and doesn't through error from FT_Status till the device is initialized. Here I have configured the device as I2C Master and in the next step I am reading the data from EEPROM. But the following errors are listed.
1. Initialize- 1000( FT_STATUS)
2.Read device - 3 
3. Un initialize- 3
4. Close status-1.
The DWORD are listed under the Appendix of datasheet.
If someone can reason out the solution for this kindly help me out to go ahead. Its almost done only the write and read operation has to be performed.
I have attached the Zip file of VI and Sub-VIs that I am executing. If you find any errors in those please let me know.  
Relevant answer
Answer
Good question.. Please share me the best answer might you trust...
Regards…
  • asked a question related to LabVIEW
Question
5 answers
I am trying to send data from my Omega Engineering microprocessor based PID controller to another computer that has LabVIEW. I would like to be able to simply record the temperatures sent from the controller. I have a basic Platinum LabVIEW driver, Platinum Configurator software, Omega Enterprise Gateway, and manuals for each. The devices uses Modbus. I am looking for any recommendations or suggestions. The part number is CN8DPT-224. I can provide any further information upon request.
Relevant answer
Answer
Abdelhalim abdelnaby Zekry I just want to confirm you saw my reply. I am learning ResearchGate so forgive my not tagging you in my reply.
  • asked a question related to LabVIEW
Question
5 answers
Porting the code on Processor or FPGA?
Relevant answer
Answer
Dear Sanjay. I tried to find the tribalengineering ICTL toolkit, but it seems that no link works. How can I get it?
  • asked a question related to LabVIEW
Question
4 answers
I am running a labview program which includes for loop that runs 'n' number of times. I need to save the data collected in each loop in a different folder. This needs to be done automatically as soon as i run the programme.
Relevant answer
Answer
Most Labview VIs (functions) that allow you to save data have a 'file path' input variable (eg. for saving data to a spreadsheet see https://zone.ni.com/reference/en-XX/help/371361J-01/glang/write_to_spreadsheet_file/ ). This is the name and location of the folder where Labview will save the data to (when it is left blank the user selects where to save the data). If the file that you are saving the data to doesn't exist, Labview will typically create the file first, and so would probably do the same thing for folders and file paths that don't exist. So if you create a string constant which is the location of where you want to save the file and make this constant an input to any save data VIs, Labview will automatically save the data in this location without prompting the user.
Then all you need to do is automatically create a new folder path for every loop iteration. If you wanted to call each folder after a different number(such as "folder1", "folder 2", "folder 3") then you need to first define the beginning of the folder name (in this example "folder") as a string constant. Then you convert the iteration number (1,2,3 etc) from an int to a string and combine your number string and your string constant using the Concatenate string function (http://zone.ni.com/reference/en-XX/help/371361P-01/glang/concatenate_strings/). You can then used this concatenated string as the file path input for your VI to save the data and it should save the data to a different file for every loop iteration.
  • asked a question related to LabVIEW
Question
3 answers
We are conducting an experiment using the Labview (2014) where images are taking using a Logitech HDPROC920 webcam. However, the autofocus does not allow us to take proper images. Is there any add-on or another resource that would permit us to disable the autofocus?
Relevant answer
Answer
Thanks Bruno,
It is clear. Unfortunately, I cannot advice on the camera. My experience, however, shows that it is easier to spend 10$ (even out of my own pocket) that spend 1 month figuring out a problem of the kind - a very particular problem with minor overall consequences.
An alternative (brute-force - be careful!) solution is either physically prevent focus change (stick tape around the lens) or remove the case and remove a wire froma focusing mechanism. It may be faster than dealing with programming matters.
A lesse-brute-force solution is to help the camera to focus nicely - add a lot of light, draw a red cross in the centre to aid focusing.
  • asked a question related to LabVIEW
Question
4 answers
How to convert from Polar form to rectangular form using labView?
Relevant answer
Answer
I’m using Labview 2016 and VI. Thank you for your help in advanc!
  • asked a question related to LabVIEW
Question
1 answer
I am working on GNSS signal L5 band. I want to obtain the I/Q signal from it with a PXIe-5624R IF Digitizer. Does the sampling frequency is enough for that application ?
Moreover, does someone have some exemple of the implementation of the PXIE-5624R in Labview environnement ? No one are provided by NI...
Great Regards
Relevant answer
Answer
Direct sampling of RF signal requires a notch filter at front-end to reject signal in other bands, otherwise all unwanted signals will also get sampled.
2GS/s is more than enough for working on L5.
The advantage of Direct sampling is that you do not need down conversion, but the requirement of notch filter is too stringent that it is impossible to be realized.
  • asked a question related to LabVIEW
Question
3 answers
I am studying active vibration control of a steel structure with piezoelectric patches. For this purpose, I excite the structure with a sinusoid signal (at one its modes) and measure the resulting the vibration with an accelerometer. This signal is acquired in a PC by a NI PCI card and is then integrated and differentiated in labView, and is finally used as a control signal to reduce the structure vibrations.
The control signal is fed to the piezoelectric patches to actuate the structure in out of phase to the existing vibrations.
With proper phase correction I achieve this, and the amplitude of the voltage is controlled by an power amplifier. As I increase the voltage amplitude, the magnitude of vibration reduces. But, beyond a certain amplitude, the signal in the accelerometer is not a pure sinusoid. There seems to be another frequency in the signal. And the resulting signal looks like a amplitude modulated signal, and the amplitude of vibrations exceed the initial value.
What is the cause of this phenomenon? And, how do I rectify this?
Relevant answer
Answer
Interesting...
  • asked a question related to LabVIEW
Question
4 answers
Has someone used the LabView to control the voltage of TSI DMA and Cambustion CPMA and get the data from CPC via the LabView? I want to measure the size-resolved particle densities. By using the LabView I hope I can control them simultanously. Would someone like to share the experience to do so?
Thanks!
Relevant answer
Answer
Dear Tianren,
IThere will also be a full list of serial commands you can use to can only speak for the DMA, as I'm not very familiar with the CPMA. The Model 3081 is actually only the "naked" DMA column, which cannot really be controlled through LabView alone. But I'm guessing that you are actually operaing this DMA on one of TSI's Electrostatic Classifier platforms. If so, you'll need to identify what the model is. Most likely it will be a 3080 platform if you bought it before July 2013 or a Model 3082 if it is a more recent purchase (identifiable by the colour display). Then look at the corresponding Electrostatic Classifier operational manual from TSI. In my version Appendix C details how to communicate with the Classifier through a terminal emulation program.
  • asked a question related to LabVIEW
Question
2 answers
Hello,
I would like to know how to do (algorithm: LabView, Matlab) Time Synchronous Averaging in angle domain. I have a problem with this and I would like to request to help in this matter. I would like to use in software in LabView to investigate faults connected with gearbox.
Thank you in advance for our help
Relevant answer
Answer
Dear Mohamed,
Thank you for help in this matter, in the future give the feedback about this.
Best regards from PL,
Mariusz
  • asked a question related to LabVIEW
Question
4 answers
I found a page on the internet , which was however unclear. Being a beginner, I'd love it of someone could give me detailed instructions. How to control the temperature of a resistive element using PID controller on LABview?
Relevant answer
Answer
Hi Steve,
o use LabVIEW for such purposes, you need some hardware that measures the temperature values , and some that you use to control the temperature. The usage of LabVIEW depends on the hardware you have. So first, I have some questions on your application:
What hardware do you have?
What is your temperature setting method? e.g.: Peltier cell, resistive heater with power (PWM) control.
How fast your system is? e.g. a DFB diode laser with internal peltier cell is very fast, but a cryostat is very slow so they need different type of control...
What temperature stability do you want to achieve?
David
  • asked a question related to LabVIEW
Question
1 answer
I wanted to test the bias stability of an OFET. From the literature it is found that the gate and drain voltages need to be kept constant and measure drain current variation as a function of time. I could not get it done using SCS 4200. Separate sourse measure units were also tried using labview but it did not work.
Relevant answer
Answer
Dear Rashma,
welcome!
There are some questions which may lead you to trouble shoot your measuring setup.
Did you verify that VGS and VDS are kept constant during the measurement?
What is the order of the drain current and the gate current you expect. Knowing the order you can use the appropriate measuring range of the ammeters.
What are the expected variations with time, for example x percentage in one hour? How do you sample and access the currents with time.
You have to answer these questions explicitly to solve your problem.
I think it is a sensitivity selection problem of the ammeters.
Best wishes
  • asked a question related to LabVIEW
Question
3 answers
The attached file is the output of Terahertz Image sensing system where the converted electrical signal is presented in the oscilloscope. The signal has frequency of 300KHz. It contains noise. My work is to design a digital filter using LabView software to improve SNR. How can I design a Digital Filter in Labview? SHould I use low pass FIR filter with Equi-ripple method to improve SNR?
Relevant answer
Answer
Digital filters such as FIR or IIR could be very easily implemented in Labview. However, the coefficients of such filters are fixed and thus they may perform good in removing some noises. More powerful filters which is called adaptive filters such as least mean squares are excellent in removing the noise signals or any other time-varying undesired signals. These adaptive filters could be also implemented in Labview.
Please refer to the following research paper for implementation of lms filters in Labview
  • asked a question related to LabVIEW
Question
3 answers
Dear researchers,
I am having a LabVIEW algorithm for receiving a signal of say example 3.35GHz through NI_USRP 2922. But, what are the parameters like IQ rate, number of samples, and etc.?
I want to visualize time domain as well as spectrum plots
This USRP is working from 400MHz to 4.4GHz.
Kindly suggest me.
Relevant answer
Answer
Dear vibhutesh,
I am unable to download the thesis. Can you please mail it to anvesh498@gmail.com
  • asked a question related to LabVIEW
Question
1 answer
I wants to measure the Voltage as a function of Current using Keithley SMU. Please share the labview programme if you have. Thank you .??
Relevant answer
Answer
The following link will direct you to the tutorials about measurements from a Keithley SMU With LabVIEW:
  • asked a question related to LabVIEW
Question
3 answers
Hello, i am working on the I-V curve tracer for 3 different PV modules and i am using the ethernet chassis CDAQ-9184 with submodule NI 9205 to acquire the signals from 3 voltage sensors and 3 current sensors on pcbs. I am using LabVIEW for the coding and i wanted to know how can i acquire the signals simultaneously from one hardware and plot the I-V curves on the same graph. Is it possible to do so?
Thank you.
Relevant answer
Answer
if you have only 1 analog inputs in CDAQ-9184, you can use a multiplexing system with swich or relays (each time you connect an I or V variable with the NIDAQ input) and store the results in a file and you process it and display it by Labview.
  • asked a question related to LabVIEW
Question
2 answers
Looking for any sort of Labview or Matlab script for IV-OFET testing using Keith 2636B SMU. 
Relevant answer
Answer
Thank you for your response. However, 1.) 2600 series does not use SCPI but rather TSP (Lua) scripting referring to your 2400 series reference. 2.) the 2600 series drivers from Keitley do not provide a concurrent smu a and b measurement examples let alone any worthwhile documentation. 3.) I am unsure why you included those pdf files.
  • asked a question related to LabVIEW
Question
3 answers
I am using following apparatus,
1. Accelerometer B&K 4524
2. NI 9324
3. NI 9024
4. Impulse hammer (Kistler 9726 A 20000)
I am unable to figure out how to have input as acceleration data in the VI?
Is it such that i need to connect the apparatus for the same?
What to do when I want acceleration as input and bode plot as output?
There is a seperate modul