PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

PXIe Cards Reset

Solved!
Go to solution

Hello , I want to reset all my PXI SMUs using a single VI . i HAVE MADE A VI FOR THAT BUT THAT VI OPENS A SESSION FOR EACH CARD ,RESETS IT ,CLOSES IT .This takes a significant amount of time in a for loop . Can someone suggest a method where i open a session only once reset all cards ,and close it also at once ,thus saving time as I have 12 cards.

 

Thanks in advance.

 

shiksri_0-1695100445461.png

 

0 Kudos
Message 1 of 6
(2,041 Views)

You can use NI System Configuration API instead.

Help >> Find Examples... >> Hardware Input and Output >> System Configuration >> Reset All Devices.vi

 

You can add an expert filter to filter out the SMU.

ZYOng_0-1695127982817.png

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 6
(2,003 Views)
Solution
Accepted by topic author shiksri

You can parallelize the For Loop to speed things up.

 

The explicit reset seems redundant as the Initialize VI already has a boolean for Reset which you can set to True.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 3 of 6
(2,002 Views)

Hi Santhosh,

 

Thanks .I have been to reduce the time from 62seconds to 27 seconds now with your method to parallelize the for loop . Is there any way to furthur reduce it . I will also try ZYOng method and update you all.

0 Kudos
Message 4 of 6
(1,984 Views)

So Santhosh method was fastest among the two solutions I got.

0 Kudos
Message 5 of 6
(1,975 Views)

Latest NI DCPower drivers support multi-instrument sessions, try formatting the instrument alias to be comma separated and include all the instruments you want to reset.

 

https://www.ni.com/docs/en-US/bundle/ni-dcpower-labview-api-ref/page/nidcpowerviref/nidcpower_initia...

 

santo_13_0-1695267972094.png

 

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 6 of 6
(1,945 Views)