We can get any windows task handle reference using user32.dll. For that we need to use the window title as a input for the user32 windows dll (We can call user32 dll using call library function node). I attached the code snippet & step by step instruction pictures for reference. Using the Window Handle reference we can programmatically perform some task in that window like minimize, maximize & close the window etc...
Sunday, December 16, 2018
Tuesday, May 23, 2017
Tip of Case Structure using string selector
Today I learned a new trick about case structure. As we know,
once we connect the numeric number in the “case selector” & if we use 1...4
in “selector label” that case will work for 1, 2, 3 & 4 inputs. Similarly if
we connect string in “case selector” & if we use a..d in “selector label” that
case will work for a, b & c inputs (not for d). Screenshot attached for
this condition. One more point is, this will work on capital letters &
small letters if we selected “Case Insensitive Match” option.
Wednesday, September 28, 2016
Sunday, December 6, 2015
LabVIEW Keyboard Shotcut for Objects & Movement
Today I learned one hidden trick to scroll through the Event, Case
Structure & Stacked Sequence. Most of us know Ctrl + Mouse Wheel
shortcut used to scroll through the Event, Case Structure & Stacked
Sequence states one by one. But if we use Ctrl + Shift + Mouse Wheel it
scrolls through every 5th case/Event/Sequence state (Like 5,10...) from
the beginning state (0 state). It will work only if we have more than 5
case/Event/Sequence states. I verified this Keyboard Shotcut in LabVIEW
2009
Wednesday, November 25, 2015
Monday, November 24, 2014
Thursday, October 30, 2014
Remove duplicate element & Sort the Array
Using varient function we can remove the duplicate elements & sort the elements of the array (Numeric,String array...). You can find the varient functions like "Set Variant Attribute"," Get Variant Attribute" in block digraram-> Function Palatte-> Cluster,Class & Varient -> Varient (LabVIEW 2009). By using those function without implementing anyother logics we can achieve removing duplicate element & sort array. It will work in String,Numeric & reference array also. See the simple exampleVI snippet attached below.
Front Panel :
Block Diagram :
Front Panel :
Tuesday, October 28, 2014
Wednesday, December 25, 2013
Friday, September 21, 2012
Learn Xcontrols - Basic Tutorial & Example links
Tutorials :
http://www.ni.com/white-paper/3198/en
http://zone.ni.com/wv/app/doc/p/id/wv-2695
http://prolucid.ca/xcontrols-2/
http://labviewwiki.org/XControl
https://decibel.ni.com/content/docs/DOC-3623
Examples :
https://decibel.ni.com/content/docs/DOC-7391
https://decibel.ni.com/content/docs/DOC-22536
https://decibel.ni.com/content/docs/DOC-1180#comment-1111
http://www.ni.com/white-paper/3198/en
http://zone.ni.com/wv/app/doc/p/id/wv-2695
http://prolucid.ca/xcontrols-2/
http://labviewwiki.org/XControl
https://decibel.ni.com/content/docs/DOC-3623
Examples :
https://decibel.ni.com/content/docs/DOC-7391
https://decibel.ni.com/content/docs/DOC-22536
https://decibel.ni.com/content/docs/DOC-1180#comment-1111
Monday, May 30, 2011
Useful links to learn SQL & LabVIEW integration
http://www.1keydata.com/sql/sqlorderby.html
http://www.blackwasp.co.uk/SQLForeignKeys.aspx
http://sqlcourse.com/select.html
http://sqlzoo.net/select
http://forums.ni.com/ni/board/message?board.id=170&thread.id=433683&view=by_date_ascending&page=1
http://forums.ni.com/t5/LabVIEW/LabVIEW-DataBase-Connectivity-Toolkit-Cheat-Sheet/m-p/847481?jump=true
http://www.blackwasp.co.uk/SQLForeignKeys.aspx
http://sqlcourse.com/select.html
http://sqlzoo.net/select
http://forums.ni.com/ni/board/message?board.id=170&thread.id=433683&view=by_date_ascending&page=1
http://forums.ni.com/t5/LabVIEW/LabVIEW-DataBase-Connectivity-Toolkit-Cheat-Sheet/m-p/847481?jump=true
Tuesday, April 12, 2011
Launch the system module window using LabVIEW
In LabVIEW, to launch the system module windows like regional & language option,Date & time properties use the "System Exec.vi" function. See the example VI snippet (LV 2009) for launch the regional & language option window.The non-connected string constant displays the command for launch Date & Time properties window.
Wednesday, January 12, 2011
Useful Links for LabVIEW Software Configuration Management
Use Graphical Merge To Combine Individual LabVIEW VIs
http://zone.ni.com/devzone/cda/tut/p/id/6212
Using new LabVIEW Merge Tool LVMerge With TortoiseSVN
http://expressionflow.com/2007/08/28/using-new-labview-merge-tool-lvmerge-with-tortoisesvn/
Using Source Code Control with LabVIEW 7.x and Perforce
http://zone.ni.com/devzone/cda/tut/p/id/4631
How do I use Subversion (SVN) and TortoiseSVN for source code controlling LabVIEW projects
http://digital.ni.com/public.nsf/allkb/C751F800E258087B86257535006DB160
LabVIEW & Mercurial
http://www.labviewwiki.org/Mercurial
Removing svn folders from a working copy with tortoisesvn
http://thinkinging.com/2008/09/23/removing-svn-folders-from-a-working-copy-with-tortoisesvn/
Source Code Control and Group Development Practices in LabVIEW for Advanced Configuration Management Tasks
http://decibel.ni.com/content/docs/DOC-2936
The easiest way to use TortoiseSVN in your LabVIEW™ projects
http://jki.net/tortoisesvn-tool
Integrate Graphical Diff with Subversion Source Code Control
https://decibel.ni.com/content/groups/large-labview-application-development/blog/2011/03/16/integrate-graphical-diff-with-subversion-source-code-control#comment-16435
http://zone.ni.com/devzone/cda/tut/p/id/6212
Using new LabVIEW Merge Tool LVMerge With TortoiseSVN
http://expressionflow.com/2007/08/28/using-new-labview-merge-tool-lvmerge-with-tortoisesvn/
Using Source Code Control with LabVIEW 7.x and Perforce
http://zone.ni.com/devzone/cda/tut/p/id/4631
How do I use Subversion (SVN) and TortoiseSVN for source code controlling LabVIEW projects
http://digital.ni.com/public.nsf/allkb/C751F800E258087B86257535006DB160
LabVIEW & Mercurial
http://www.labviewwiki.org/Mercurial
Removing svn folders from a working copy with tortoisesvn
http://thinkinging.com/2008/09/23/removing-svn-folders-from-a-working-copy-with-tortoisesvn/
Source Code Control and Group Development Practices in LabVIEW for Advanced Configuration Management Tasks
http://decibel.ni.com/content/docs/DOC-2936
The easiest way to use TortoiseSVN in your LabVIEW™ projects
http://jki.net/tortoisesvn-tool
Integrate Graphical Diff with Subversion Source Code Control
https://decibel.ni.com/content/groups/large-labview-application-development/blog/2011/03/16/integrate-graphical-diff-with-subversion-source-code-control#comment-16435
Subscribe to:
Posts (Atom)












