Not Enough Memory in TestStand + LabVIEW environment

Not Enough Memory in TestStand + LabVIEW environment

Blogs
If you have your test running in 32bit version of LabVIEW and 32-bit version of TestStand, and especially if your application is dealing with image processing algorithms, then there are numerous chances you end-up with a Not Enough Memory dialog from LabVIEW as below. There are some creative way and some workaround way to fix this memory issue. Not enough memory dialog from LabVIEW. 1. Unload option Find out the step which consumes most memory and change the Unload Option for that step in TestStand properties. I prefer Unload after step executes. This option would unload that step from the memory and thereby releasing any data stored in that module. Ensure if this module deals with any references, which upon closing, other modules might get affected. Choosing Unload after step…
Read More

Oracle ODBC Connection & Key Learnings

Blogs
Using an Oracle database from LabVIEW is quite jargon journey. From Instant-Client to ODBC, OLE DB, SQL Developer etc, difference between ODBC, ODAC, OLE DB, ADO etc, all can lead one to confusion easily. NI has tried to explain well on this document, it's still not very lucid in other sources like stackoverflow. I'm not confronting here to clarify all those. I found some few key learning are worth sharing. Windows has implicit classification of files between 32bit and 64bit. If you create a file using C:\Windows\SysWOW64\cmd.exe, then it creates pure 32-bit file. Look at this link for more details. LabVIEW connects to the database provider purely based on the LabVIEW bitness. If you use 32-bit LabVIEW, then use the 32-bit data provider and UDL file.Never get confused with Oracle…
Read More

SVN Externals

Blogs, LabVIEW Blog, Other Blogs
If you are looking to reuse a project which already exists in another project and if you need that new project gets updates of the already existing project then-and-there, there is a very good feature in SVN called as externals to help on this kind of requirements. Advantages You can avoid multiple copies of the same source in SVN/source control repositories. Get updates from the root project as and when there is an update.  So no need to manually copy the project again when there is an update. SVN-logs are maintained for the root project from the new project and hence better historical control. In case you don't need updates from root project, use specific revision to freeze to selective version. How does that works? This can be best explained…
Read More

Correlation

Blogs, Electronics Blog, Other Blogs
You may often heard this word "Correlation" if you had some experience in developing a system with reference to other system.  By reference, I mean you might have been asked to develop a production system from an R&D system as a reference.  Or you might have been asked to develop a multi-line production system from the reference of single-line production system as a reference.  Or within an R&D this term could be used to compare the results of similar systems which should produce similar results.  Nevertheless, correlation is not limited to only such scaled or production systems. So what is correlation? Correlation is a systematic approach to compare the two or more similar systems.  The result of that comparison would give details whether all those system produces similar/same results or if…
Read More

Simple Event Logger for LabVIEW Developers

Blogs, LabVIEW Blog
An event logger is a logger which can log various events or error happening in an application run.  Usually it would be a simple text file or csv file with info about the run details of the application.  An event logger can help in various ways. It can help in identifying the error happened after an operator simply tells you that "Hey you developer! Something went wrong in your application, debug it quickly, production is paused cuz of this issue!!".  In such case, if you have an event logger, you wouldn't need to rerun the app to identify error again.  Just simply looking at the error log can give a hindsight. It can help if the LabVIEW application is completely parallel, then identifying the root-error becomes difficult with lots of…
Read More

Vipassana Meditation Experience

Blogs, Consciousness Blog, Other Blogs
Though I know and do some meditation practices now and then, when I saw this TED talk a few years ago, Vipassana was new to me by then.  I was kind of impressed on how the Vipassana meditation has transformed those people.  I was wondering mainly about "Is it possible to do 10 days of meditation?".  "Doesn't my back pains and breaks if I do that?".  All sort of such questions were in me and other questions too.  Why not give it a try?  Obviously, I didn't find 10-day break during those time.  Somehow this Vipassana was running in back of my mind since then to try out at least once.  And I did it in last 10 days! What I can say about it? Nothing much as of now.  I…
Read More

SPI communication from LabVIEW using FT4222

Blogs, LabVIEW Blog
I've been recently asked to help out with some SPI communication support with FTDI FT4222 device.  For those who don't have idea about this comm., it's one of the famous inter-controller communication method.  The SPI comm. speed with FT4222 can go up to 53.8Mbps.  Really, it's that much speed however you should have board designed for that much speed. Here is a short story on how I did it. I developed low-level LabVIEW drivers which essentially uses the LibFT422 DLL from FTDI.  The 4 important SPI comm., functions to be achieved are SPI Master Read SPI Master Write SPI Slave Read SPI Slave Write After writing the low-level drivers in LabVIEW, I wanted to do the real testing. But to do the real testing, I don't have access to the…
Read More

A Poet Yearns for Realization

Blogs, Consciousness Blog
There are times too when I write some poetic words..!  This is one of the things I'm longing for in this lifetime.  Not to become poetic.!  But for other one which you can comprehend from these stanzas.  If there may shower from universe, then let that may take along.! There is good deep silence in me which I can easily feel and at the same time there is also so much of thoughts, dreams happens inside.I didn't really wanted to write down as poem, but wanted to record this state of mind written down somewhere.  However, naturally it turned out as poetic words. And here it goes... My mind is (so silent) + (so thoughtful). Unknown thoughts are coming like dream, Unknown events are coming like dream. I'm trying to…
Read More

A Unique Momento from Tessolve Team..!

Blogs, LabVIEW Blog, Other Blogs
It's very honourable to receive such an unique momento and team congratulations from Tessolve for the such an unique project. For Tessolve in itself this was not a regular project. I was called to develop a test system for calibrating a sensor from IDT.  It's an 8-sites parallel test executor developed with actor-framework in LabVIEW to make it highly scalable in future.  The project in itself is special in a way that water flows through the test system.  Then don't fail to imagine that water flowing in test floor too.!  Yes, literally hit happened and everyone had to ensure all safe ways to safeguard the other testers in test floor. I had great pleasure in architecting this software in LabVIEW, developing myself and getting help from a team of developers to support…
Read More

Running LabVIEW code through VPN Netowrks

Blogs, LabVIEW Blog
Have you ever executed a huge set of LabVIEW code which resides in other PC but you have to run them in your PC through VPN network channel?  Recently there's been a request from one of our customer to do so.!  The reason is "CONFIDANTIALITY" .  The source code can't be moved to a vendor PC and can only be accessed via their VPN. (more…)
Read More