CH_LM App GUI.vit

This is a VI-Template for LabMax PC Application Frontpanel instances.

The Main-Panel will be created from the CH_LM App Main.vi. More Child-Panels can be created from the menu of the Main- or Child-Panels. Child-Panels can be closed, but the application can be exited from the Main-Panel only.


Front Panel

CH_LM App GUI.vit


Controls and Indicators

cbool

MainGUI?

True: Dispatch new thread as parent GUI.

False: Dispatch new thread as child GUI.

cocrn

Stop Main Occurrence

cocrn

Device disable occurrence

cocrn

Menu occurrence

cbool

stop

cvirn

i ref

cbool

Reset Error

Click to reset error state.

cocrn

Continue occurrence

cbool

Update Status

Click here to update the status of the selected LabMax, especially the Measurement Range of a new sensor.

Note: The meter will be locked for remote operation again.

cu16

LabMax Meters

Ring is populated with the serial numbers of all selected LabMax meters, with the currently visible serial number indicating the selected LabMax meter.

Note: Ongoing data logging is stopped and all history buffers are cleared when another device is selected, connected to or disconnected from USB.

cbool

Start/Stop Data Collection

Enables/disables data collection (including on screen display).

ccclst

DAQ Command

This cluster contains the command string and paramter to be send to a DAQ thread.

cbool

Autoscale

Y-Axis Scaling:

Checked: Auto scale

Unchecked: Fix scale

ci32

Number Of Bins

Number of bins to be used to calculate the histogram.

cbool

Reset Maximum

Click to reset the maximum value.

cbool

Tuning Scale

Use this button to select the scaling range of the tuning meter.

Min - Max: sets the low end of the scale range to the Minimum value in the current data set and the high end of the scale range to the highest value measured since the last reset.

Zero - Max: sets the scale range from Zero to the Maximum of the granted measurement range.

cenum

Tab Control

cbool

Autoscale 2

Y-Axis Scaling:

Checked: Auto scale

Unchecked: Fix scale

cpath

Log Data File

Current file used to log data.

Expected filename format: *[_n].*

cbool

Log Data To File

Enables/Disables saving currently streaming data to the Log File.

Hint: This control becomes enabled when a Log Data File is specified.

cenum

Mode

Select the measurement mode

- Energy (J)

- Power (W)

cu32

Point(s)

Enables averaging of the last N data points for the Power/Energy and plot displays.

ci32

Sample Size

Selects the sample size to collect when in Fixed mode, and the sample size to use for statistics when in both Fixed and Continuous mode.

cbool

Reset

Resets the data set used for statistics (Mean, Min, Max, Std Dev, and Counts).

cu16

Measurement Range

Select between auto ranging and fixed manual ranges. This control needs to be set to the current state of the meter when switching between or initializing meters, and populated with choices based on the current probe attached and the measurement mode.

cdbl

Collection Interval

Sets the collection interval when in time interval data collection mode. This control should only be visible when time interval data collection is selected and hidden when continuous is selected.

cbool

Zero Meter

Zeroes the FieldMaxII meter.

cdbl

Wavelength

Wavelength of operation to set.

Unit: nm

Range: 1 - 99999 nm

Default: 1064 nm

Note: You can edit the unit string, especially the prefix( n/u) to your needs

The attached probe limits the wavelength of operation to the range of minimum and maximum wavelengths stored in the attached probe. If requested wavelength is less than the minimum wavelength, the granted wavelength is set to the minimum wavelength. If requested wavelength is greater than the maximum wavelength, the granted wavelength is set to the maximum wavelength. If a valid probe is not attached, the minimum wavelength is taken as 1 nm and the maximum wavelength is taken as 99999 nm.

cu16

Wavelength Units

Selects the length unit of Wavelength to

um: micrometer

nm: nanometer

cu16

Collection Interval Units

Sets the time unit of Collection Interval to

sec: seconds

min: minutes

hr: hours

cdbl

%

Sets the internal trigger threshold in % of full-scale.

csgl

Factor

Factor used in attenuation correction.

Default Value: 1.0

Range: 0.01 - 999.99

cbool

Attenuation Correction

Turns the attenuation correction feature on and off.

cbool

% Of Mean

Display the Standard Deviation relativ to Mean value.

Range:

True: % of Mean value

False: Ablsolute value of Standard Deviation

Default: False

cenum

Sample Collection

Select the Logging/plotting mode.

Fixed takes and plots the number of data points shown in Sample Size.

Continuous takes data continuously and plots the number of data points shown in Sample Size in the Chart window, scrolling the window to continually show the newest data.

cenum

Collection Mode

Select between continuous (streaming) data acquisition and data acquisition on a fixed time interval.

ccclst

Unit References

cdbl

Offset

Offset for the calculated signal.

Default Value: 0.0

cu8

Signal 1

Index of signal 1 to be used for the math calculation.

Default: 0

Raange: 0-7

cu8

Signal 2

Index of signal 2 to be used for the math calculation.

Default: 1

Raange: 0-7

cenum

Function

Function to be used for the math calculation.

Default: add

Range: add, substract, multiply, divide

cbool

Select Meters

Click to select LabMax meters to be used in this window.

A selection dialog will be opened.

c1dtdef

Devices

List of LabMax devices tro use in the DAQ thread.

idbl

Online Chart

Right click on Y-axis to toggle autoscaling.

Type in the numbers for maximum and minimum of the Y-axis.

icclst

Histogram

Histogram of measurement values in the sample buffer.

inclst

Tuning Feature

The tuning meter has two needles.

Green: Current measurement value

Red: Maximum of measured values

inclst

Synchronized

Right click on Y-axis to toggle autoscaling.

Type in the numbers for maximum and minimum of the Y-axis.

The plot legend ID's (LabMax i) refer to the position of the LabMax Meter's drop down menu list.

idbl

Mean

Displays the average of the last N (Sample Size) samples.

idbl

Std Dev

Displays the standard deviation of the last N (Sample Size) samples.

Unit: same as Mean or % of Mean

idbl

Min

Displays the minimum value in the last N (Sample Size) samples.

idbl

Max

Displays the maximum value in the last N (Sample Size) samples.

ii32

Counts

Displays the number of measurements taken in the current data set. Counter resets when "Reset" button is pressed.

idbl

Rep Rate

Displays the Rep. Rate in Hz of the measured signal (pulsed laser only).

istr

Power/Energy Display

Displays the current meter reading, if Live Data Averaging is set to 1 point. If Live Data Averaging is set to N points, this indicator displays the average of the last N points.

Unit: Joule or Watt, depending on measurement mode.

ipict

BullsEye

Bull's Eye View of the laser beam position of the first meter in the list of selected meters.

Position values are scaled. The outer ring refers to the aperture radius.

ibool

synchronized

i1di32

Meter Indices

istr

Std Dev

Displays the standard deviation of the last N (Sample Size) samples.

Unit: same as Mean or % of Mean

istr

Tuning Unit

ipict

BullsEye 2

Bull's Eye View of the laser beam position of the selected meter.

Position values are scaled. The outer ring refers to the aperture radius.

idbl

Range Max