LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Need help in programming LABView vi using NI usb 6009

Solved!
Go to solution

I'm working on a LabVIEW project using an NI USB-6009. The VI involves a push button and output channels C0 - C7. When the button is pressed once, it needs to check condition and display the output. If the button is pressed twice, it checks conditions with another set of C0 - C7 values. How can I implement this logic in LabVIEW?

0 Kudos
Message 1 of 5
(472 Views)

Hi Reddy,

 


@Poojitha_Reddy wrote:

I'm working on a LabVIEW project using an NI USB-6009. The VI involves a push button and output channels C0 - C7. When the button is pressed once, it needs to check condition and display the output. If the button is pressed twice, it checks conditions with another set of C0 - C7 values. How can I implement this logic in LabVIEW?


The NI6009 doesn't use channels "C0-C7", it offers the Port0…

 

What about using a state machine?

What have you tried so far and where are you stuck?

What should happen when you press that button trice or more?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(431 Views)

How to produce multiple 8 bit output sequence for single input using DAQ and LabVIEW?

0 Kudos
Message 3 of 5
(401 Views)
Solution
Accepted by Poojitha_Reddy

Hi Poojitha,

 


@Poojitha_Reddy wrote:

How to produce multiple 8 bit output sequence for single input using DAQ and LabVIEW?


Hints:

  • You can use an U8 value to store 8 bits.
  • You can use a (FOR) loop to iterate over each element of an (U8) array…

 

What have you tried and where are you stuck?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(394 Views)

I'm new to labview and know only basics. I don't know how to create the state machine for this. Could you please guide me to create vi for this?

0 Kudos
Message 5 of 5
(391 Views)