Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time data display on front panel instruments

I ended up solving the problem with the timer by just running it as a second application that stays on top of the main app's front panel.  This way I can move it around if need be.  It's also 50% transparent so I can still read what's behind it if I have to.  There's enough room on the screen (21 inch flat panel) so that's really not a problem.

Now I'm working on setting adjustable delays for a few channels.  I finally got the book we ordered "LabVIEW for Everyone" and it's helping me understand a lot more about the program.

Once again, thanks for your help.
Todd Munsell
Test Cell Manager
Wood Group Pratt & Whitney Industrial Turbine Services, LLC
Plattsburgh, NY
0 Kudos
Message 11 of 20
(3,114 Views)
Good luck with your application, Todd!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 12 of 20
(3,110 Views)
Hallo
Do you know the way to verify that my sistem is really real-time?
Thank
0 Kudos
Message 13 of 20
(3,092 Views)

Hi,

To check if you have the LabVIEW Real-Time module installed, open Measurement and Automation Explorer and expand My Systems » Software. Single-click on the version of LabVIEW that you are using and ensure that Real-Time appears. You must install the same version of the Real-Time module as the version of LabVIEW you are using. You also must place the same version of the Real-Time module and your hardware drivers onto your host PC and target hardware.

To ensure that your system is in fact running deterministically, you could place timestamps strategically within your code to ensure that data is being acquired appropriately. 

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 14 of 20
(3,080 Views)
I have just created another while loop outside the main one, and have wired them together using tunnels (even tried shift registers), but the data flow stops at the output tunnel of the main loop.  What would cause this to happen?  I've attached a pdf of the block diagram.  I'm trying to set up the vibration indicators with an adjustable data display rate 0-3000 ms) to prevent transient spikes from showing up on the front panel.  I haven't yet added the wait until next ms to the loop yet, but am just trying to get the data to flow.  Any help would be greatly appreciated!
Todd Munsell
Test Cell Manager
Wood Group Pratt & Whitney Industrial Turbine Services, LLC
Plattsburgh, NY
0 Kudos
Message 15 of 20
(3,035 Views)
I tried something different now.  I set up the second loop with the subVIs and indicators to run by itself with no wires connecting it to the main loop.  Now the main loop runs, but the second one does not run at all.  I'm stumped.....
Todd Munsell
Test Cell Manager
Wood Group Pratt & Whitney Industrial Turbine Services, LLC
Plattsburgh, NY
0 Kudos
Message 16 of 20
(3,026 Views)

Hi Todd,

In order to force data flow to the next while loop, the first while loop must finish. There are a variety of ways to accomplish this, such as stop buttons, the completion of data acquisition, timing properties, etc. Happy coding!

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 17 of 20
(3,014 Views)
Thanks Amanda.  How can I do this when I need the first loop to run in real-time, all the time?  If I hit the stop button, then it'll stop acquiring data.
Todd Munsell
Test Cell Manager
Wood Group Pratt & Whitney Industrial Turbine Services, LLC
Plattsburgh, NY
0 Kudos
Message 18 of 20
(3,012 Views)

Hi Todd,

I'd recommend placing the analysis that you'd like to run on the data inside of the original while loop. This will allow you to process all of the data essentially as it is being acquired. Happy coding!

Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 19 of 20
(2,990 Views)
Hi Todd,
 
Also, we have customer education courses such as LabVIEW Basics available if you would like more help with programming. These classes are offered at regular intervals in many locations around the U.S. Let me know if you'd like more information!
Amanda Howard
Americas Services and Support Recruiting Manager
National Instruments
0 Kudos
Message 20 of 20
(2,981 Views)