LabVIEW – Simulation using Data Sockets

Blogs, LabVIEW Blog
In my last post I gave a simple method used to simulate the unavailable hardware (be it cRIO, bench-top instruments, PXI or any kind) which can communicate to LabVIEW application. I also mentioned that I simulate using data sockets which I will explain in this article. Data socket is a pretty much like a global variable. According to NI...DataSocket is an easy-to-use, high-performance programming tool that is designed specifically for sharing and publishing live data in measurement and automation applications between different applications and between machines across the Internet. DataSocket for LabVIEW simplifies live data exchange between different applications on one computer or between computers connected through a network.Simulation using data socket is more similar to earlier explained simulation using boolean as input to instrument driver VI. On top of…
Read More

LabVIEW – Real Time System Simulation

Blogs, LabVIEW Blog
Very often while working in the real-time systems, you may be in a situation you couldn't test some cases of your software due to the unavailability of the hardware associated with that code. This is especially true when the you're working in the National Instruments RT like cRIO (Compact RIO), myRIO, sbRIO or even PXI. This is also very common scenario when the hardware exists in a remote place and you are coding & debugging from other location of the world. Adding simulation codes to such software would help a lot avoiding such stopping-points of software testing. The key to simulation is usage of a simple boolean input and case structure which decides to use whether the simulation code or real hardware code.Data generation from instrumentIf your module uses a…
Read More