Subtle Problems in Multilevel USB Hubs

Blogs, LabVIEW Blog
A project recently got me through tough times.  We have connected almost all instruments using USB and ended up using multilevel USB hubs.  The hardware connection is something like below.  We thought that everything will be fine because All of these USB ports are detected by Windows without any issues The payload of these instruments' data are very low and We're able to test all these instruments in modular level. However we faced some subtle issues which is not lucid at the beginning. (more…)
Read More

How to use FTDI FT4222H in LabVIEW

Blogs, LabVIEW Blog
There is a very good device named FT4222H from FTDI Chip which can be used for multi-interfaces like GPIO, I2C, SPI, Interrupt.  The nicest thing is you could access all those communication protocols directly using LabVIEW.  Generally speaking, if you work with a controlling application where your end-device uses such protocols, you could use this device to communicate with the end-device and make the life easier and design would be low cost too (device costs only $2.30). [caption id="attachment_617" align="alignright" width="200"] Fig. FTDI FT4222H Device Image[/caption] GPIO Interrupt I2C Master I2C Slave SPI Master SPI Slave Initially I assumed that this device would be straight forward to use for my application which required three of those features viz.. a master I2C, a GPIO and an Interrupt.  However, it turned out…
Read More

SVN Error – No Lock Tokens available issue

Blogs
When the SVN gives the message that no lock tokens available, then it means that the SVN server has the lock information for the file but there is no relevant client who is known as the owner of lock.  Usually this lock token issue comes up to me when I have moved the files to some other location or renamed the file. Currently I follow below steps to break the lock in SVN server Find the file which has no-lock-token using the SVN commit window. Go to the respective folder of that file and look for SVN logs and search for that file to filter the various results. Out of the results, select the top result and right click to get "Update items to the revision" for that folder. Now,…
Read More

Data Logging and Traceable Data

Blogs, LabVIEW Blog
One of the important criteria to consider while designing the data logging is the traceability of the data in future, in relative to the device/product under test.  Some logging is required only for temporary purpose but some data are required even till the end of the device life cycle.  A traceable data is required if you think you're logging product level details and and it needs to be persistent till the death of that product. Few scenarios where you would need traceable data are... When the product is out to end customers and end customers logs you with some defects with the product, you would need to trace back what exactly happened to the product during the testing phase using the traceable data.  Or whether there is similar pattern of…
Read More

SVN Error – Currently locked by other user

Blogs, Snippets
When this error happens in your Tortoise SVN Commit screen as shown below, then it means (I assume) that some time back that user had svn-locked that file and later deleted from SVN by using keep-lock in svn commit window (or in somewhere the keep-lock played badly). How to fix it then? Go to the logs of that folder in which that the file was locked as explained in error message above (in my case, I went to UserAccountAuthentication logs).  Look for the file in one of the recent revision as below, right click and choose "Browse repository". This should bring up the repo version when that file existed in repo.  In the repo browser, right click that error file and choose the "Break Lock".  This should break the lock…
Read More

Log Any LabVIEW data to CSV File or SQLite DB

Blogs, LabVIEW Blog
Have you ever tried to log your LabVIEW data to CSV or SQLite?  While logging your data from LabVIEW to a CSV/SQLite database, have you ever wanted to avoid the daunting job of creating the DB schema or creating the CSV headers for logging?  How daunting is the job of converting the LabVIEW data to CSV strings or SQLite data types?  We use to spend a lot of time for that.  Isn't it? Here is a tool which I have created recently can ease this logging activity in LabVIEW.  This is simple table logger which logs all your data to only one table (Yes! even your array data will be logged in the same table with other data). All you need to do is wire your LabVIEW data to the…
Read More

Why Life is Hard?

Blogs, Consciousness Blog
Often times I face simple situations in life as very hardship and think why the life is hard to live?  Why not life can be ease for everyone so that everyone can live enjoyably forever like the major of the fantasy movie endings?  Irrespective of different situations, whether you are rich or poor, whether you have good health or bad health, whether you're blessed with child or not blessed with child, whether you're living with your life-partner or divorced your life-partner, whether you have this or that..., there is hardship in some form for almost all of us.  Isn't it so?  Why is that put up in us? I have some realization that life is hard for some reasons.  As long as we are realizing the Oneness, the Truth, the…
Read More

Merry Christmas & Happy New Year 2018..!

Blogs, Snippets
When the year ends, it's about looking back and giving our gratitude for various events all around the year and making next step to new year.!  I thank the universe for gifting me with lasting 2017 and second gift of 2018.  I wish you all a Merry Christmas & a very happy new year 2018..!  May this eve bring us all to self-centered and one-soul. (more…)
Read More