LabVIEW – Simulate/Emulate Desktop RT in Virtual Machine

Blogs, LabVIEW Blog
You can emulate an NI-Desktop Real Time(RT) System in a virtual machine using VirtualBox from Oracle. This helps in great ways...You don't need a separate PC to check your logic in real NI-RT without even an extra physical PC in your side. Testing in customer site would not require additional logistic of other PC.You don't need cRIO or PXI to start learning/coding your RT applicationCheck my virtual machine running NI-RT below with 1-core processor, 512MB RAM and 2GB HDD which I created within 2 hours from scratch.I want to credit and thank the user "D4N!3L3" in NI forum who was the one successfully did this virtualization of NI-RT and put it up in this idea exchange. The instructions given by him/her is very crisp and short where I lost searching…
Read More

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