LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring a digital output NI 9375

Solved!
Go to solution

I have been trying to control the digital output on NI 9375 using the attached program, however when I put the AVO meter in buzzer mode to check that digital output 1 is on ( connected to Vsup) it shows me nothing. Also I would want to make a pulsed output, any ideas how? 

Thanks in advance

0 Kudos
Message 1 of 7
(4,069 Views)

What is an "AVO meter" and what is "buzzer mode"?

 

If you want a pulsed mode, you can create a digital waveform of that shape and send that to the digital output.  That or create a loop that alternates between true and false with waits of whatever length you need in there.

0 Kudos
Message 2 of 7
(4,054 Views)

AVO meter as in digital multimeter, and buzzer mode when the multimeter makes sound to show you that you're connected to the same wire.

 

Are there any examples on how to create digital waveform for that shape?

0 Kudos
Message 3 of 7
(4,048 Views)

Hello Wakeel,

 

I was not able to verify the correct setting of your DAQ assistant - it shows a NI-9234 channel, but I don't know if that depends on my computer or on your settings. I also don't know what you refer to with AVO meter, but I think I noticed a small "misunderstanding" in your VI:

 

2019-05-02_15-57-14.png

This does NOT output a one.

What you see there is an array control. So basically am indefinitely long list of booleans. However, you are displaying only one element of this list. The item you see is so to say a "keyhole" looking into your array. The numeric indicator defines what part of the array you are looking at.

 

Have a look at these:

Example_VI.png

The two controls on the left (Array and Array 2) both contain the same data (01011). However, on the second one I moved the "keyhole" one position to the right. The two indicators prove this.

 

So, in your VI, go back to position 0, and click the flipswitch to set it to "on". Hints: Using a digital button instead makes it easier to understand what position is on, and which is off. Also, please note that greyed out positions are not initialized, the boolean array does not contain these yet. Clicking the switch enables them. So, in your VI, the array contains actually zero(!) items, and those in my screenshot all contain 5 items.


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 4 of 7
(4,047 Views)

@ikaiser I even tried the button, however the output remains unchanged. Check the program I uploaded

0 Kudos
Message 5 of 7
(4,033 Views)
Solution
Accepted by topic author Wakeel

Okay, let's do the following:

  1. Use the Test Panel in NI MAX to verify that your wiring is correct and the NI-9375 and buzzer work as expected.
  2. If possible, do NOT use the DAQ Assistant. Implement it manually, you have more control about what is happening. There is a code example shipped with LabVIEW/DAQmx. Go to menu "Help » Find Example »Browse according to Task » Hardware Input and Output » DAQmx » Digital Output » Digital - Finite Output.vi". This is a good place to start with.
  3. If you need to keep the DAQ assistant, verify that your configuration it correct. I find this in your VI and thing it's wrong:
    NiAsstnt_2019-05-02_16-47-04.png

Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
Message 6 of 7
(4,029 Views)

Hi 

I would like to sue the NI 9375. I could not find any information about the HD 15 Pin connector on the device. I guess this is the only way to connect to a PC.

Please help

0 Kudos
Message 7 of 7
(1,579 Views)