LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

create a DSA in Labview

hey ipshita

 

The problem with connecting it directly to a waveform chart is that I need to connect the temperature data to the x axis and the depth data going to the y axis, thats why i used the xy graph. I don't know how to approach that with a waveform graph. Here are the Vi's in a zip folder.

 

Thanks

 

Moe

0 Kudos
Message 11 of 27
(1,686 Views)
Any Help or ideas?
0 Kudos
Message 12 of 27
(1,648 Views)

Hello, just to verify, are you looking to plot depth as a function of temperature?  If so, the XY Graph definitely makes sense.  I still cannot run your code because some of the sub-VIs are missing.  You have multiple signals you are trying to graph, are any of them showing up properly on the graph?  Could you post a screen shot of exactly what you are seeing with a description of what you expect to see?  This would help a lot to make your problem clear.  Thanks!

0 Kudos
Message 13 of 27
(1,614 Views)

hey

 

Thanks for replying Burt. This is a condensed verison of what I'm trying to do for now. Data are coming out but its not graphing anything at all. I don't know why?

 

DAQ Input is the program and do reading 1 is a sub vi.

 

Thanks

 

Moe

Download All
0 Kudos
Message 14 of 27
(1,607 Views)

Hey Oli,

 

I still cannot run your VI, but I think I have identified the issue.  You have not connected an indicator to the output of the Build XY graph Express VI.  You will need to right-click on the XY graph output and select Create»Indicator.  Thanks.

Stephen Meserve
National Instruments
0 Kudos
Message 15 of 27
(1,586 Views)
I guess i erased it. I had a mixed signal that had all the xy graphs connected to it. Here it is, but it still doesn't graph anything.
0 Kudos
Message 16 of 27
(1,565 Views)

Since you are only passing a single value out of your while loop, you are only plotting a single point. You are also only doing the acquisition just once. So, having a while loop is pointless. You still have not posted the missing VIs so there is no way to tell what they are doing but I suspect they don't do much of anything either. The rest of the code is very confusing as well. I have no idea why you would convert the scalar that comes out of the tone measurement into a 2D array and then to a cluster and then into a cluster. It's my belief that you start from scratch after spending some time taking the LabVIEW tutorials and looking at the example VIs that ship with LabVIEW.

0 Kudos
Message 17 of 27
(1,561 Views)

why can't you open it dennis? What files does its say you are missing?

 

I'm not that good in labview but its a project that has to be done soon. Any help from you would be appreciated

 

Thanks in advance

 

 

 

 

0 Kudos
Message 18 of 27
(1,557 Views)

The subVI called Get BathyTemp is missing.

 

For starters, if you want continuous data acquisition, you need to place it inside the while loop. It's basics like that I feel you have no understanding of. If you want to continuously plot, then the building of the graphs need to be inside the while loop and you cannot pass a reset to the Build XY Graph function. If you want to plot after the acquisition is complete, you need to pass arrays of data out of the while loop - not just the result of the last iteration as you are doing now. You need to redo the Do Reading1 so that you do not have a DBL connected to the case selector. That's because computers (and not LabVIEW) cannot completely represent a floating point number. Because of the conversion of binary to decimal, instead of exactly 1.0, you might actually have .99999999999etc. If you are going to use a numeric wired to a case structure, it should be an integer data type unless you want unexpected results.

0 Kudos
Message 19 of 27
(1,551 Views)

I want continuous data coming out and I also want a continous plot. The data thats going through i'm creating a fft on it and grabbing the the higest frequency and putting it through the algorithm there to get temp. Also, the depth is another algorithm coming from time hence the graph is going to be depth vs temperature. What I'm trying to do is get an fft, grab the highest peak and that would be the frequency of interest than get another sample and do the same. Also, are you opening the wrong do reading cause its suppose to be do reading1 and that doesn't have Get BAthyTemp.

 

0 Kudos
Message 20 of 27
(1,543 Views)