LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

finding and debugging root cause error-handling "Hardware not detected"

Solved!
Go to solution

Hi LabView-guru's,

I would like some help regarding 
finding and debugging root cause error-message: "Hardware not detected". 

3.jpg

2.jpg

1.jpg

 

How to detect which hardware is missing? I use NI Max to detect faults in administered devices.

 

any help is most welcome,

Best regards,

LabView-novice

0 Kudos
Message 1 of 5
(1,193 Views)
Solution
Accepted by topic author DutchEngineer

Hi novice,

 


@DutchEngineer wrote:

finding and debugging root cause error-message: "Hardware not detected". 

 

How to detect which hardware is missing? I use NI Max to detect faults in administered devices.


When the indicator "find list" is empty then there are no (VISA) devices available…

 

Where does that one-button-dialog comes from? Can you attach (real) code of the VI in your first image?

This code contains the information which hardware is needed to perform its operations…

 

Which (available) devices are shown in MAX?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(1,164 Views)

https://we.tl/t-DlYwUiiKkp

 

code of program 

thank you in advance,

best regards

0 Kudos
Message 3 of 5
(1,149 Views)

Hi Dutch,

 

please attach your code directly in this forum.

We don't like 3rd party websites, sometimes they are even blocked for us (due to company firewalls)…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(1,124 Views)
Solution
Accepted by topic author DutchEngineer

The problem with instruments on a Com port is:

  1. The vast majority are not IEEE 488.2 compliant so they don't respond to a *IDN? query
  2. NI-Max "knows this" and does not automatically do a *IDN? query on Com ports it finds, even for instruments that are IEEE 488.2 compliant and respond properly to a *IDN?.

I wou use VISA find resources to find every Com port then write some code to determine if the instrument is present and what Com port is is on.

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 5 of 5
(1,104 Views)