取消
显示结果 
搜索替代 
您的意思是: 

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 项奖励
11 条消息(共 27 条)
1,723 次查看
Any Help or ideas?
0 项奖励
12 条消息(共 27 条)
1,685 次查看

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 项奖励
13 条消息(共 27 条)
1,651 次查看

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

下载全部
0 项奖励
14 条消息(共 27 条)
1,644 次查看

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 项奖励
15 条消息(共 27 条)
1,623 次查看
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 项奖励
16 条消息(共 27 条)
1,602 次查看

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 项奖励
17 条消息(共 27 条)
1,598 次查看

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 项奖励
18 条消息(共 27 条)
1,594 次查看

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 项奖励
19 条消息(共 27 条)
1,588 次查看

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 项奖励
20 条消息(共 27 条)
1,580 次查看