LV_Neural Network – XOR

LV_XOR NN

A Neural Network for XOR

Input Layer-Hidden Layer – Output Layer

Using non matrix to show math better (future will use matrix)


LV_XOR_Neural NetworkLV_XOR_Neural Network_code_non_matrix

Also tested to see XNOR training set

LV_XNOR_Neural Network


 

LV_XOR_NN__Slide1LV_XOR_NN__Slide2LV_XOR_NN__Slide3LV_XOR_NN__Slide4LV_XOR_NN__Slide5LV_XOR_NN__Slide6LV_XOR_NN__Slide7LV_XOR_NN__Slide8LV_XOR_NN__Slide9LV_XOR_NN__Slide10LV_XOR_NN__Slide11LV_XOR_NN__Slide12LV_XOR_NN__Slide13

 

 

Paint used in this presentation is a Microsoft product
LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

Posted in Test Sector | Tagged , , , , | Leave a comment

LV Property Value vs Local Variable Speed Test

Showing how Property Node Value and Local Variable time effect when inside a loop

Summary: Property Node show big time slow down vs Local Variable.

Programming Language: LabVIEW® 2019

LV_PNVal_vs_LVari_Slide1LV_PNVal_vs_LVari_Slide2LV_PNVal_vs_LVari_Slide3

 


LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

Posted in Test Sector | Tagged , , , , , | Leave a comment

2D Pixel BW to objects grouping

Collecting all the objects into a cluster from the 2D Pixel B&W previously created.

(see previous posts)

2D Pixel array must have been created from a well defined row spaced images.

First row grouping then column grouping.

Similar to edge detection when complete row is “not a space(just be an object) ” or a space.

Programming Language: LabVIEW® 2019 (a National Instruments product)


LV_ImageBMP_TitleRow Grouping FirstRow Grouping First code2D Pixel Object Grouping2D Pixel Object Grouping_code1

 


 

Paint used in this presentation is a Microsoft product
LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

Posted in Test Sector | Tagged , , , , , | Leave a comment

2D Color Array(B&W) to Boolean Array and XYgraph

Continuing from previous post BMP to 2D Color array

This time 2D array to 2D boolean with subset and scaling , then to xy Graph.

Programming Language used: LabVIEW®

LV_ImageBMP_Title

 

2D color array(which was turn to B&W image-see previous post) to Boolean with pixel view subset (selecting number 4 area)

2D B&W color to boolean array

Scaling col and row2D Boolean Scaled

Now scaled boolean to XY Graph (only True are added to list of points for graph)

2D Boolean Image to XY Graph


LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

Posted in Test Sector | Tagged , , , , , , | Leave a comment

LV Test Data Image 0-9s

Loading a bigger file then previous post (that was a small 9×11 pixel pattern)

This time using a set of 0 — 9 numbers

Image is row of number with description of font used.

A full black vertical line is used to separate the test numbers from the description (i use this later to chop off part of the image to reduce post processing in future.

Programming Language used: LabVIEW®

Test image created with Microsoft’s Paint.


LV_ImageBMP_TitleLV_Image_Training_Data_FP_colorModeLV_Image_Training_Data_FP_BW

LV_Image_Training_Data_code


 

Paint used in this presentation is a Microsoft product
LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

 

Posted in Test Sector | Tagged , , , , , , , , , | 1 Comment

LV BMP image to 2D color array

Getting BMP test image to 2D color Array

Programming Language: LabVIEW® 2019 (a National Instruments product)

Picture Editor: Paint (a Microsoft product)

LV_ImageBMP_TitleCreated a Test ImageLV_ImageBMP_Front PanelLV_ImageBMP_code

This is the way used to  change U32 in array to color in the array

LV_Image U32toColor


 

Paint used in this presentation is a Microsoft product
LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
All company names are trademark of respective company.
Created to spark ideas on the subject.
Use at your own risk.

 

Posted in Test Sector | Tagged , , , | Leave a comment

LV Rotational Matrix using Array

Using 1D array for x,y.

Using 2D for the rotational matrix

using the CCW for positive deg

Program Language: LabVIEW® 2019

Add a tracking of points just to verify a circle.

LV_Rota_Matrix_CodeLV_Rota_Matrix_FrontPanel

turn on Track of points and incremented to 90 at 1deg step.

LV_Rota_Matrix_Incre to 90LV_Rota_Matrix_Incre to 180LV_Rota_Matrix_Incre to 270LV_Rota_Matrix_Incre to 360LV_Rota_Matrix_Incre to N90

 


LabVIEW® is a National Instruments product.
This post is not connected or endorsed by any company.
Created to spark ideas on the subject.
Use at your own risk.

 

Posted in Test Sector | Tagged , , , , | Leave a comment

Using Delacor’s DQMH® Add-on for LV

The following presentation is on first use of Delacor’s DQMH® add-on for LabVIEW®

A simple task “Smart Table”

  • Create Project using Delacor’s DQMH  (Delacor Queue Message Handler)
  • Add the following feature for the table
    • Add a Header
    • Add Data
    • Clear Data
    • Test each of the above

the basic architecture is base on LabVIEW®’s Event Queue Pattern (normally used for medium to large scale projects)

I created the images of the presentation as I was working with the Add-On

Hopefully you will find i informative on how to start using this powerful add-on.

LV_AddOn_Ds_QMH_Slide1

Presentation: testengineerresource.com

LV_AddOn_Ds_QMH_Slide2LV_AddOn_Ds_QMH_Slide3LV_AddOn_Ds_QMH_Slide4LV_AddOn_Ds_QMH_Slide5LV_AddOn_Ds_QMH_Slide6LV_AddOn_Ds_QMH_Slide7LV_AddOn_Ds_QMH_Slide8LV_AddOn_Ds_QMH_Slide9LV_AddOn_Ds_QMH_Slide10LV_AddOn_Ds_QMH_Slide11LV_AddOn_Ds_QMH_Slide12LV_AddOn_Ds_QMH_Slide13LV_AddOn_Ds_QMH_Slide14

LV_AddOn_Ds_QMH_Slide15

LV_AddOn_Ds_QMH_Slide16LV_AddOn_Ds_QMH_Slide17LV_AddOn_Ds_QMH_Slide18LV_AddOn_Ds_QMH_Slide19LV_AddOn_Ds_QMH_Slide20LV_AddOn_Ds_QMH_Slide21LV_AddOn_Ds_QMH_Slide22LV_AddOn_Ds_QMH_Slide23LV_AddOn_Ds_QMH_Slide24LV_AddOn_Ds_QMH_Slide25LV_AddOn_Ds_QMH_Slide26LV_AddOn_Ds_QMH_Slide27LV_AddOn_Ds_QMH_Slide28LV_AddOn_Ds_QMH_Slide29

LV_AddOn_Ds_QMH_Slide30

LV_AddOn_Ds_QMH_Slide31LV_AddOn_Ds_QMH_Slide32LV_AddOn_Ds_QMH_Slide33LV_AddOn_Ds_QMH_Slide34LV_AddOn_Ds_QMH_Slide35LV_AddOn_Ds_QMH_Slide36LV_AddOn_Ds_QMH_Slide37LV_AddOn_Ds_QMH_Slide38LV_AddOn_Ds_QMH_Slide39LV_AddOn_Ds_QMH_Slide40LV_AddOn_Ds_QMH_Slide41LV_AddOn_Ds_QMH_Slide42

 


A.C.

  • LabVIEW® is a National Instruments product
  • Delacor’s DQMH® is a Delacor product.
  • All company names are trademarks of respective company
  • Created to spark ideas on the subject.
  • Use at your own risk
Posted in Test Sector | Tagged , , , , , , | Leave a comment

LV Using some Collection – Map Tools

Presentation on using some LabVIEW® Collection – Map tools

Map

  • Key = string  (example “1” for the 1’s 2D array
  • Value=2D array of Boolean

 

LV_Map_tools_Slide1

LV_Map_tools_Slide2

 

showing case where ‘find key 6 ‘ char not in MAPLV_Map_tools_Slide3

LV_Map_tools_Slide4

LV_Map_tools_Slide5

LV_Map_tools_Slide6

 


LabVIEW® is a National Instruments product
This post is not connected or endorsed by any company.
Created to spark ideas on the subject.
Use at your own risk.

Posted in Test Sector | Tagged , , | Leave a comment

LV 2D Remove Duplicate and Sort

Relatively new tools for 2D Array Removing duplication and Sort

LV_2D_Sort_Slide1LV_2D_Sort_Slide2LV_2D_Sort_Slide3LV_2D_Sort_Slide4LV_2D_Sort_Slide5

 

 


 

Posted in Test Sector | Tagged , , , | Leave a comment