07-03-2012 06:44 PM
Hola Comunidad, quisiera saber como puedo cambiar la salida lógica de un boton.. es decir: si tengo un boton que al presionarlo la salida logica es 3, yo quiero que sea 4 en pocas palabras quiero saber como ponerle la salida logica (número lógico) al número que yo quiera.. aca abajo dejo un código para ilustrar mi pregunta
07-03-2012 09:44 PM
Gabriel, please try the "Logical Shift" function from the "Numeric" -> "Data Manipulation" palette. This will allow you to shift the '1' left with a positive input to "y" and right with a negative input to "y". Please see attached VI.
07-06-2012 12:12 AM - edited 07-06-2012 12:16 AM
My English is bad ...
Hello, You do not understand the question ... The "VI" attach you had 3 buttons .. Pressing each button is generating a logic output (1, 2, 3) the question is how do I change this logic output? ie if the first button which outputs "2" I want it to be "3"
Review the "VI" attached for understand the question
07-06-2012 12:17 AM
Your VI in the first message shows only 1 button!
07-06-2012 04:38 AM
Hola:
En primer lugar indicarte que hay un foro en español donde puedes exponer tus dudas: http://forums.ni.com/t5/Discusiones-sobre-Productos-NI/bd-p/6170
Por otra parte explica mejor tu pregunta, pues de tener cuatro controles, la salida lógica no es 1, 2, 3 y 4 sino 1, 2, 4 y 8 (pulsando uno cada vez).
Saludos... Moisés
07-08-2012 05:06 PM
07-08-2012 05:07 PM
07-09-2012 04:15 AM
Hola Gabriel:
Lamento decirte que no comprendo lo que quieres hacer con las salidas. Si es aumentar o disminuir una unidad simplemente tendrás que sumar o restar una unidad al valor obtenido.
Moisés