From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Teststand Freezes when using swithing feature

Solved!
Go to solution

 

So i have a problem when using the swithing feature built on the step.

 

the first time i execute my sequence everything switches normallly...

 

the second time i try to run the sequence it freezes teststand.

 

i have notice than when i run my sequence. i can see on NI TRACE  the following:

niSE_opensession

niSE_connect(routex)

nise_disconnect.

 

but after the sequence is over. the niSE sesion is not close. does that have something to do with TestStand Freezing?

 

If not have you run into this issues before?

CLAD, CTD
0 Kudos
Message 1 of 6
(4,815 Views)

What version of NISE and TS are you using?

Can you provide a simple example sequence which creates the issue on your machine?

 

What do you mean by "freeze"? How long did you wait until terminating? Does terminate work at all? How do you stop execution otherwise?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(4,790 Views)

 

What do you mean by "freeze"?

TestStand will just crash

 

How long did you wait until terminating?

after the sequence finish and i try to start a new single pass sequence it "freezes"

 

Does terminate work at all? How do you stop execution otherwise?

windows dialog program not responding will appear.

 

 

i am using TS 2013 and switch exectuvie 3.6

CLAD, CTD
0 Kudos
Message 3 of 6
(4,782 Views)

Hm, i cannot see a source of the issue in the provided sequence file.

What if you first disconnect the route "UUT1_No_load & Power" before calling Disconnect All?

As you configured the connection to "manual", this is definetly the safe way to do it......

 

On the other hand, it could be an issue with the NISE configuration including the IVI settings. Are you sure that this approach works e.g. in LV?

I somehow doubt that the issue is connected to TS.....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 6
(4,778 Views)

apparently this a known issue with pickering drivers and their switching matrixes.

 

the NI switch executive close sesion.VI  will hang and never close. thats whay it is forcing a close. it might hang on an infinite loop.

 

a solution coud be downgrade to visa 5.1 drivers.

 

this is one of the other reasons to buy NI products 🙂

 

 

CLAD, CTD
0 Kudos
Message 5 of 6
(4,768 Views)
Solution
Accepted by topic author buton

i contacted pickering.... they got me new drivers

 

Pickering response :

 

This sounds like the problem that first came up when NI Visa was changed, version 5.2 or greater I believe. At any rate, I would first try installing the latest version of the Pickering IVI driver.

 

http://downloads.pickeringtest.info/downloads/drivers/IVI/pi40iv_4.10.1.exe

 

 

i installed them and it works now.....

CLAD, CTD
0 Kudos
Message 6 of 6
(4,767 Views)