LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do i setup a control table using a single input

Solved!
Go to solution

I am a very newbie LabView user.    I am trying to build a control component using a single 4 position input (a dial (0 thru 3) that outputs a 4 bit result based on the input.    What control do I need to use?

 

The table looks like this:

inputs        |outputs

4HOpenOpenOpenGround
2HGroundOpenGroundGround
NGroundGroundGroundOpen
4LGroundGroundOpenOpen

Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
0 Kudos
Message 1 of 5
(3,289 Views)

Eric, please look at the attached VI.

Is this what you would like? 

In my example True=Open and False=Ground 

Message Edited by Cory K on 06-14-2010 11:17 AM
Cory K
0 Kudos
Message 2 of 5
(3,279 Views)
Awesome, almost there!   How do I then change those levels so it is digital?  (open = 12 volts, ground = 0)
Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
0 Kudos
Message 3 of 5
(3,270 Views)

That would depend on your hardware.

What hardware are you using? 

 

You could use the "DAQmx Write" function in this palette:

 Measurement I/O >> DAQmx - Data Aquisition

 

Digital Out.PNG 

Cory K
0 Kudos
Message 4 of 5
(3,260 Views)
Solution
I'm not there yet.  I'm still using the evaluation software.   I can worry about that when I get the hardware.   This will work for now!  Thanks!
Eric Yuzon
Senior engineer
ERC
Walled Lake, MI 48390
ericyuzon@e-reman.com
e-reman.com
0 Kudos
Message 5 of 5
(3,247 Views)