LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Txt to XL to 2D array

I dont have any experience with that bit of kit . Sorry, I cant specifically help you there.

 

Melles Griot should have good technical support. Have you tried contacting them to ask for help with the supplied labview driver?

Message 11 of 15
(966 Views)

Hi

 

How can I display the 3D intensity like this one (attach png) insted of previous 3d profile

 

 

Thanks

 

 

 

 

 

0 Kudos
Message 12 of 15
(952 Views)

In my last example posted 

 

Right click on 3D Surface control to get a pop-up menu.

CWGraph3D -> Properties

Click on Plots tab

Click on Style tab

Set Color Map Style to Color Spectrum

Click on OK button when finished customizing the 3D Surface control.

 

 

Message 13 of 15
(946 Views)

Hi David

 

I got a problem with the LV.

 

When I try to run another beam data file I got error with LV (see the attach picture).

Data file also attach (this file I don't have the column name) that's why I got the error.

 

 

I want to make more dynamic analysis. 

 

1. I want  to select ROI with cursors in the intensity graph and the plot the 3D and line profiles.

2. How can I get the line profile in different location

3. How can I add pixel dimensions in line profile. (pixel size 8.3 micron) (I want the spot size)

 

Thanks for your help

0 Kudos
Message 14 of 15
(910 Views)

Hi,

 

Can't the beam profiler save the data in an image format like bmp? If it has this functionality you would not need to worry about these big text files. If you stick to text files try and keep the format consistant.

 

However, when you read out the first line from the file, check to see if the column headers are present in the string read out. If they are then you proceed normal. If there is not header data then use Set File Position function to reset the read position back to zero before continuing into the main file processing loop.

 

Right click on the intensity graph -> Visible Items -> Cursor Legend

Right click on the cursor legend -> Create Cursor -> Single Plot

After that you create cursor property node to read the cursor data from this graph.

You can then use this cursor to index out the row and column data.

Feed the row and column data into the gaussian fit function.

I suggest you then use threshold 1d array on the gaussian fit array to work out the fractional number of elements above FWHM, 1/e or 1/e2 threshold depending on what spot size you want.

 

Most of the techniques are in the example I gave you. If I keep writing code for you, I will need that thinking about contract rates Smiley Very Happy

 

Please have a go at doing some coding yourself and come back if you need more help.

 

Have fun!

 

David

Message 15 of 15
(892 Views)