LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Detect Hardware to Run VI

Solved!
Go to solution

I'll preface this by saying I'm in the early phases of learning Labview, though that's likely evident by my question.

 

I only want to run my VI if a specific device - an NI USB-6229 (Dev1) is detected, both at program startup and any time while the program is running. I'm only using this one device and my program isn't meant to be used on any computer other than my own, so I don't believe I need an array of device product types or names as I've seen in other posts and example programs. I don't wish to add anything to the front panel. I simply want to quit running my VI if the DAQ is not plugged in or becomes unplugged at any given time. Below is what I want to happen, though I understand is not the correct way to code it.

 

Any help would be much appreciated!

Capture.JPGCapture3.JPG

0 Kudos
Message 1 of 2
(3,436 Views)
Solution
Accepted by topic author Andrew_AAM

This is how you get device type.  Maybe this will help you get started.

Example_VI_BD.png

aputman
0 Kudos
Message 2 of 2
(3,409 Views)