Discusiones sobre Productos NI

cancelar
Mostrando los resultados de 
Buscar en lugar de 
Quiere decir: 

Enum

¡Resuelto!
Ir a solución

Hi 99,

 


@labview99 wrote:

I have done what you said but I continue without seeing all the cases.


To repeat what I wrote:

You need to define the cases on your own because the ring items are unknow at edit time - the ring values can be changed at runtime as has been requested by you…

Did you define the cases in your case structure on your own as suggested?

That "create a case for each enum item" only works with enums. As you want/need to use a ring you cannot rely on enum features, but need to do some work on your own…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 11 de 14
374 Vistas

Yes, I have done but I find the next error.

ERROR.PNG

0 kudos
Mensaje 12 de 14
372 Vistas

I have got it, I had to add cases with the number no with the name.

Thank you!

But, now, I have another doubt. Ones a have defined all the cases how can I verify if I activate one led that the SVRE signal activates?

0 kudos
Mensaje 13 de 14
369 Vistas

Hi 99,

 


@labview99 wrote:

I have got it, I had to add cases with the number no with the name.


The value of a ring item is a numeric value, not the string shown in the control: the case structure has to use numeric values for its selector input!

 


@labview99 wrote:

Ones a have defined all the cases how can I verify if I activate one led that the SVRE signal activates?


You can verify this by looking at the LED. when the LED switches on then the corresponding case has been executed…

(Which LED are you talking about? What is a "SVRE signal"?)

This specific question is continued in the new thread over here

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 kudos
Mensaje 14 de 14
364 Vistas