Quantcast
Channel: LabVIEW topics
Viewing all 66767 articles
Browse latest View live

How to view different sine waves in an array and make an fft of these and display it in one graph

$
0
0

How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.


How to view different sine waves in an array and make an fft of these and display it in one graph

$
0
0

How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.

arduino and gsm

$
0
0

currently i am working with labview, arduino and gsm interfacing project.i have all the software required for the project.But i am new to arduino gsm and labview programing,can any one please help me where to start the programming.

LabVIEW FPGA: Multiple SCTL versus one SCTL (same clock domain)

$
0
0

Hello NI forums,

 

-------------------

Question:

-------------------

See the attached picture from a modified version of the LabVIEW DRAM FIFO example. It probably explains my question more effectively than the paragraphs below.

 

What is the difference to the LabVIEW / Xilinx compiliers, if any, between placing two independent branches of code in the same SCTL, versus placing them in individual SCTLs (in the same clock domain)?

 

-------------------

Misc. comments:

-------------------

I have briefly experimented with this concept using the included LabVIEW DRAM FIFO example (example finder >> Hardware Input and Output >> FlexRIO >> External Memory >> Simple External Memory FIFO.lvproj).

 

I compiled the default example (the read and write interfaces are in separate 40MHz SCTLs) five separate times. Then I put the read and write interfaces in the same 40MHz SCTL and compiled another five times. The result (when both read and write interfaces were in the same SCTL) was a reduction in resource usage (according to the compilation summary).

 

However, due to my lack of knowledge I'm hesitant to conclude that placing everything in one SCTL is always the best option. For example, I do not know what is created 'behind the scenes' with each SCTL. Perhaps putting independent branches of code in separate SCTLs makes it possible to route clock, reset, implicit enable, etc. signals more effectively.

 

-------------------

Background information:

-------------------

My task involves acquiring 2 channels of analog data using the NI 5772 and PXIe-7966. Data acquisition takes place in a 200MHz SCTL, and downstream processing is performed in a 100MHz SCTL.

 

During a vast majority of the 100MHz SCTL processing stages of the FPGA VI, the 2 channels of data do not interact with eachother. So it would be easy for me to place them in separate 100MHz loops if doing so would somehow help the design (timing, resource usage, etc.).

 

 

--------------

Thanks!

 

2 tables in standard report

$
0
0

how do I insert two tables of different dimensions side by side in standard report..........

I am using Labview 2011

please help.............

thank you in advance...............

how to find inflection points in an array consisting of several lines with different slopes

$
0
0

Please see the following graph. These points is plotted from an array(1D) vs. index. It consists of several strictly straight lines with different slopes. I  wish to find the indexes of those inflection points (red arrows indicated).  Is there any function or method?

pieces.PNG

Two while loops

$
0
0

Hi,

 

I'm trying to share data between two different while loops so I need to send data from one while loop to the other. Currently I when I send data it doesn't change (update) so if I send a variable, which  is changing in one of the loops it won't change in the other so is there a way to share data and I can use this data in both while loops. In the file attached I have two leds called (left and right) in the big while loop. So what I need to do is that if one of the leds turns on I delay one of the channels in the other loop. So basically I'm trying to check everytime one of the leds go high I change something in the other (smaller) while loop which is to delay one of the channels of the headphones. The smaller loops outputs two different sine waves to the headphones, but I want delay add a delay when the appropriate led turns on I delay the same channel of the headphones.I know how to delay the channels, I just what to share the chaning value (boolean) of the leds in the smaller while loop. 

Is this possible or do I need to move the smaller while loop inside the bigger one, when I tried DAQ assistant stopped working. Is there an another of doing this? If you need to ask anything else, please do, Any suggestions would be greatly appreciated. 

 

Kg21

is there a way to binary diff executables built with the application builder?

$
0
0

I'm looking for a way to rebuild LabVIEW applications with the application builder and have them match using a diff tool. Our company likes to recompile SW right before release and since the application builder produces a build that won't diff with what's been tested, we have to retest at the end since its a different department recompiling SW for release which I'd like to avoid. 

 

Any thoughts?

 

Thanks

Adam


How to plot graph after exiting while loop?

$
0
0

Hi all,

 

I have a problem in plotting a graph to display the real time value that i have acquire in the while loop after I have existed it.

I've follow the steps in the video "Using Charts and Graph in NI LabVIEW" provided by National Instruments to do it but I still cannot get the graph. It keep showing me an error "The type of the source is 1D array of Dynamic Data. The type of the sink is Dynamic Data." Please help me.

 

 

Data.jpg

 

Stability Issue - Case Structure

$
0
0

Hi,

 

I build a system with a case structure that would send some command and follow them when i push a button (Changing Switch-Waiting-Flow-Waiting-Flow- Switch), but it appair that sometime, the program don't work

 

The problem here is the fact the program work most of the time but sometime, no. So I was wondering what could do that or what could I change to be more stable

 

I have join a picture of the problem area but if u find any other coding that need optimisation in my program, I would be more than happy to do the switch,

 

 

Regards,

 

SG

to add watermark in a standard report

$
0
0

Is there any way to add a watermark in a standard report......

I have the .jpg file for the watermark.......

I am using Labview 2011

Please reply..........

Thank you in advance................

                          -Sudipta Sengupta.

Digital signal graph using binary numbers.

$
0
0

I need to generate 4 digital signals.
I have created a binary number which represents the 4 signals. (I'm not sure if I implented it correctly).

 

Questions:

1. How can I represent the binary number(4 signals) in a digital graph?

2. Is this the correct way of generating digital signals?

 

 

I need something similar to this:

Capture.PNG

 

 

 

End of File Encountered

$
0
0

Hi,

I am a novice to LabView. I tried to create a simple LabVIEW program to read data from saved file (see the attachment). But faced a problem with resting pointer. I want to resetting pointer to the beginning of the file. How should I do this or close file after every cycle? Can somebody help me to modify my coding.

 

Thanks for your help on this 

 

how solve nonlinear equations with unknown constant?

$
0
0

Hello,

 

I have a nonlinear equations system, that it seems cant solve with equations nnlinear solver. can u help me?

my equation is : H = a - b*Q^c

i have 3 pair of (H,Q) that get from user for input to program and are unknown in first step and user should be determine...

and equations wold be:

 

H1 = a - b*Q1^c

H2 = a - b*Q2^c

H3 = a - b*Q3^c

 

now, and after set H1,H2,H3,Q1,Q2,Q3 by user, we should solve this program for find a,b,c variables. have u any suggestion?

 

note: I have a pack of H,Q. it means that I must calculate a,b,c and repeat this act for finding a1,b1,c1 by new H,Q pairs, and then a2,b2,c2 ... untile user determind at first step.

 

 

Best Regards.

upsr 2932 gps program not working

$
0
0

my GPS.VI  is not properly working with USRP2932, GPS DATAS NOT COMING???? NEED HELP


How do I customize X-axis on XY Graph?

$
0
0

Hi Guys,

 

I want to customize x-axis as 1, 3, 10, 100, 200.

2.JPG

This screenshot is set by XScale.MarkerVals[], but the display isn't meet my requirement.

 

 

1.JPG

This x-axis  is what I want, how to do it?

about VISA read

$
0
0

If I wrote different values to different registers by using VISA write. Then I connected a VISA read after the last VISA write. How can I know the read buffer returned is from which register?

How to view different sine waves in an array and make an fft of these and display it in one graph?

$
0
0

How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.

How to view different sine waves in an array and make an fft of these and display it in one graph?

$
0
0

How can i cannect the output of my mathscript in the Spectral Measurements VI SIgnal Input. I'm having a problem since the output of the mathscript file "D" is DBL 2D. I dont know how to convert this data type in order to be connected to the signal input of the Spectral Measurements VI. I also want that the waveform graph connected to output of the Spectral Measurements VI, will display the FFT of the three sine waves in one graph.

 

2.JPG

Problemas con el web publishing tool

$
0
0

publique un VI y todo bien, el problema esta que ya no me deja publicar otro, cuando le ya le doy la opcion en el cuadro final para checra la URL ya no da la opcion de probar la conecxion y no la inicia y tambien ahora veo que despues del nombre de mi PC que es FALCON en la URL dice .lanCaptura.PNG

Viewing all 66767 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>