LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Peak Search function

Solved!
Go to solution

Good afternoon! I connected to the AQ6370 spectroanalyzer through the LabVIEW application, I need to perform the Peak Search function on the spectroanalyzer in this application. How can this be done? The photo shows the drivers. (LabVIEW of the 2016 version)

Zariya_0-1715078379876.png

 

0 Kudos
Message 1 of 18
(658 Views)

How can I add the Peak Search button to the YKAQ6370 spectroanalyzer? It should be in the library (I didn't find something there, maybe it's called something else)? And how to connect it (the question is for the future:))
In the photo is a screenshot of the block panel of the spectroanalyzer.

  

1.png2.png

0 Kudos
Message 2 of 18
(598 Views)

Hi Zariya,

 

please keep your (related) questions in the same thread! No need to start more than one thread on the same topic…

 

We cannot help you when you only provide some downscaled images, where we cannot decipher anything!

 

What's the problem with adding a button?

Do you need something else than just a button?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 18
(573 Views)

Thanks for the advice about continuing the topic, I will know for the future 🙂
I do not know how to add a button that performs the Peak Search function (perhaps it is in the library, but I did not find it, or it is under some other name). And I don't even understand where to connect it later. It seems that I have attached all the screenshots, a library and a block diagram of the spectroanalyzer.

Zariya_0-1715193953840.pngZariya_1-1715193967820.pngZariya_2-1715194003325.pngZariya_3-1715194017075.pngZariya_4-1715194031270.pngZariya_5-1715194049063.pngZariya_6-1715194063797.png

 

0 Kudos
Message 4 of 18
(568 Views)

Hi Zariya,

 

we cannot edit/run/debug images with LabVIEW!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 18
(565 Views)

Hi,
I didn't quite understand which images? Or do you mean that the screenshots that I sent do not open for you?

0 Kudos
Message 6 of 18
(529 Views)

Attach the VI you want help with, rather than the screenshots. People can run your program and debug/edit to add the functionality you are looking for 

0 Kudos
Message 7 of 18
(515 Views)

@LVIEWPQ wrote:

Attach the VI you want help with, rather than the screenshots. People can run your program and debug/edit to add the functionality you are looking for 


You should also know that many long-time "experienced" LabVIEW developers are not using the "latest version" of LabVIEW.  For us (specifically @GertW and myself), we suggests you use "Save for Previous Version" and specify LabVIEW 2019 or 2021.

 

When you include your LabVIEW code (best if you include the entire Project, which you can do by right-clicking the folder containing the Project files and choosing "Send To:", "Compressed (zipped) folder" and attaching the .zip file that results), we can see exactly what you've done, can edit your code to "fix the bugs", and might even be able to run it to ensure our "fix" works.

 

Bob Schor

0 Kudos
Message 8 of 18
(509 Views)

Oh, I'm sorry,
Here is the given file.

Download All
0 Kudos
Message 9 of 18
(495 Views)

You don't need a button or special VI to read your peak wavelength.  Almost every analysis VI returns "Center WL", or "Peak WL".

 

Best choice is YKAQ6370 Query Analysis SMSR which returns the biggest peaks and their delta (SMSR).  I can't see what you're doing in your little pictures, but I'll bet you already return the Peak data.  You just need to wire it to an indicator.

 

 

NIquist_0-1715270252389.png

 

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 10 of 18
(488 Views)