NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Numeric Limit Test over Python object . Property Loader does not work

Hi everybody.

 

Just to know if someone in the Forum has faced same problem than me. I´m using Property Loader to pass limits to each CallBack Sequence. In  each sequence there is a Numeric Limit test that uses Python library designed by me. I´m facing a problem because the limits do not load. Can you let me know the reason, and any kind of possible solutions. Thanks in advance 

0 Kudos
Message 1 of 5
(296 Views)

Please share the files to take a look at.

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
0 Kudos
Message 2 of 5
(282 Views)

First of all sorry for didn´t read the rules of the group, qnd give thanks to reply my message.

 

My problem is as simple as followq:

 

Imagine a Python Numeric Limit test that uses a code to read resitances from a DDM. The code works properly if want to POPUP the result. When use the same code but in a Python Adapter Numeric limit tests, I cannot see how the limits are updated from the Property Loader in each Step,  however I can see if I use a None Adapter As Numeric Limit Test instead. For more informataion I´m using a TestStand V14 and Python 3.6.4. Is this last data the origin of my problems?

 

I attach a picture where you can see that the limits do not even appear, as do it in a None Adapter as instance

 

MikelBar_0-1730659171115.png

 

0 Kudos
Message 3 of 5
(256 Views)

@MikelBar wrote:

First of all sorry for didn´t read the rules of the group, qnd give thanks to reply my message.

 

My problem is as simple as followq:

 

Imagine a Python Numeric Limit test that uses a code to read resitances from a DDM. The code works properly if want to POPUP the result. When use the same code but in a Python Adapter Numeric limit tests, I cannot see how the limits are updated from the Property Loader in each Step,  however I can see if I use a None Adapter As Numeric Limit Test instead. For more informataion I´m using a TestStand V14 and Python 3.6.4. Is this last data the origin of my problems?

 

I attach a picture where you can see that the limits do not even appear, as do it in a None Adapter as instance

 

MikelBar_0-1730659171115.png

 


You define the limits for the Numeric Limit test step in the step settings, it can be hardcoded or use expression to use value from other variables.

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
0 Kudos
Message 4 of 5
(252 Views)

Hi,

 

The limits are updated in runtime by PropertyLoader. It works perfectly using an VI or None Numeric Limit Adapter

 

Thanks again

0 Kudos
Message 5 of 5
(236 Views)