NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Continue sequence even if one instrument is missing?

Solved!
Go to solution

Hi, 

 

Is there a way to take care of or avoid the following error message ””VI_ERROR_RSRC_NFOUND   BFFF0011h   Insufficient location information or the device or resource is not present in the system.”?

 

I have two deployment system, lets call them A and B. In system A there is two R&S SFUs and in system B just one R&S SFU.  I want to use the same sequence file on the both system. This is due to easier maintainence and flexibility.

 

The problem occurs in system B when the sequence file tries to open the second SFU, that is missing.  I expect the error message but how can i take care of it, or prevent it,  in order to continue the sequence?

 

Test Stand reports the following error "-17502; System Level Exception."

 

The MAX output is:

> 973.  viOpen (0x0D39F1B0, "TCPIP::192.168.1.25::INST0:...", 0, 0, 0x00000000)
> Process ID: 0x00000DAC         Thread ID: 0x00000D0C
> Start Time: 14:47:27.541       Call Duration 00:00:02.000
> Status: 0xBFFF0011 (VI_ERROR_RSRC_NFOUND)
 

Attached is a very short sequence file showing the problem .

The dll can be downloaded from:

http://www2.rohde-schwarz.com/en/products/test_and_measurement/product_categories/video_tv/digital_m...

 

I am very thankfull for any input! 

 

Best regards,

Mange

0 Kudos
Message 1 of 3
(3,344 Views)
Solution
Accepted by topic author Mange

Hi,

 

Try setting the Run option - Ignore Runtime Errors for the Open step this will mean your instrument handle will be zero so you can use this as a precondition on the other steps to skip if its zero.

 

 

Regards

Ray

Regards
Ray Farmer
Message 2 of 3
(3,325 Views)

Many thanks Ray ,

 

You solved my problem! This is an accepted solution.

 

Best regards,

Magnus "Mange" Lindell

 

0 Kudos
Message 3 of 3
(3,290 Views)