Quantcast
Channel: Digital I/O topics
Viewing all 2191 articles
Browse latest View live

Need More Power to drive relay USB 6001 digital output Please help

$
0
0

Hello community

I have a USB 6001 Ni card in a program that will drive a Opto22 G4 relay to turn a motor on and off using a digital output

The problem I am having is the output of the 6001 about 3.3 volts ( high) dosent have enough current to Switch the relay 

if I connect the relay ( opto22 G4) up to a simple 5Vdc power source then the relay switches solid but with the USB6001 there is not quite enough power to do this .

 

Can anyone provide me with an inexpensive solution that will provide enough power to switch this relay ?

 

I think the opto22 G4 relay requires 12Ma to switch and the Ni usb6001 card will only provide 4 ma 

 

your thoughts  ?

thanks

 


Run Vi using TTL input from external source

$
0
0

Hello guys

 

I am currently making a PIV system but I need the VI to run according to an external TTL signal.

 

I need my program to fire an LED for a number of pulses during the high time of the input TTL and not to fire during the low time of the input TTL. I am using an arudino to provide the input TTL.

 

My code is attached.

 

Thanks in Advance

Wiring NI-9411 with 3 wires hall effect flow meter

$
0
0

Hi all,

I'm new to acquisition systems and my background (environmental engineering) doesn't help me to understand the problem.

I have a cheap hall-effect flow meter (like this https://it.aliexpress.com/store/product/YF-S201C-Transparent-Flow-Meter-Water-flow-sensor-Precision-Flowmeter-Turbine-Flowmeter-G1-2-DN15/930271_32694317466.html) with 3 wires (black, yellow and red). I have to connect it to NI-9411 card (http://www.ni.com/pdf/manuals/373506a_02.pdf) through a NI-9935 terminal block (http://www.ni.com/pdf/manuals/377414a.pdf).

Does anyone help me to properly connect the sensor to the card?

Thanks in advance for the help.

Can the DIO lines on the NI-8452 be used as CS lines?

$
0
0

Hello,

I need to have more than the 8 CS lines on the NI-8452.  Can the DIO lines be used as CS lines?

 

Thanks.

NI's SPI FPGA IP interfaced with an ADC slave

$
0
0

I have been following two forum threads to convert NI's SPI FPGA implementation to the myRIO-1950 microcontroller. Tutorial 1 gives the example code written for the compactRIO architecture. Tutorial 2 explains how to utilize it in different microcontrollers such as the myRIO family.

So far the FPGA build compiles successfully and no errors are given at run time.

The micro-controller is interfaced with one Intan technologies RHD 2132 (32-channel ADC) with 16-bit frame SPI. CPHA and CPOL are both 0 (SPI mode 0), most significant bit first.

I have been struggling for the past days to use the IP. The READ_SOMETHING VI includes the way I'm trying to initialize communication with the IC. Does anyone with experience with this IP have any pointers or examples on how to initialise a two way communication with an SPI slave device?

 

Thanks

Arnau

 

Starter code for 9401 output mode

$
0
0

Hi

I teach LabVIEW at a university. We have 9401 DIO modules and the single-module 9171 chassis.

I am looking for easy, modifyable sample LabVIEW code to independently set the frequency and duty cycle for 4 or 8 of the 9401's channels. I have a bank of LED's that I'd like to independently turn ON/OFF.

日本語の答えも頂ければ良かった。

Thanks

 

NI 9234, [0;5] volts

$
0
0

Hi,

I am acquiring signals from a triaxial accelerometer with NI9234, I am currently using 3 channels (one per axis). I am thinking to use the fourth unused channel to acquire another external signal of [0;5]V, from the datasheet the board accepts [-5,5]V as input but I am not sure if [0,5]V is a feasible range as well.

I think so but...just to be sure

Using counter in NI-6220

$
0
0

Hello:

 

I'm using NI PCIe-6220 DAQ on Ubuntu 17.20 with comedi driver. I'm trying to set it up to read one line TTL signal from an RPM sensor (ROS). Thus I have two questions:

  1. Does anyone have an example C code for this device using comedi driver?
  2. The specification for 6220 indicates that there are 6 inputs for a counter: A, Z, B, SRC, GATE, & AUX. What is the difference between them? If I just have one signal going up and down, where should it be connected?

Thank you.


Cable for suitable sensors

$
0
0

Which cable is used to connect NI9230 vibration acquisition device and industrial accelerometer(Part No-780985-0, IMI Industrial, 2-Pin Accelerometer, 100mV/g, ICP® (IEPE)?

Using NI-9402 I2C with CRIO-9039

$
0
0

Hi, I'm currently trying to use the NI-9402 I2C with CRIO-9039.  It works fine in Labview  but everytime I make changes to it, I have to go through a 5 minutes of Synthesizing (see attachment). Why does it do this? Can this Synthesis be bypassed?

 

Also, when I tried to add this VI to Teststand, it gives me an error (see second attachment).  Any idea how to get this VI to work in Teststand as well?

 

This is the Labview VI I am using: http://sine.ni.com/nips/cds/view/p/lang/en/nid/210637 

 

9402.png9402-teststand.png

Thanks.

Read/Write to SD Card using SDIO In sbRIO-9607

$
0
0

Hello.
I am using sbRIO-9607.
I am using the RMC connector and have created CLIP and set up the pins to use SDIO.(Vcc, CLK, WP, CD, CMD, DAT [0-3])
I am currently using PmodSD as a controller.

My question is, if I set up the SDIO pins of the sbRIO-9607 and connect it to each Pins of the Pmod, can I write or read the data on the SD card?

If not, I have to control the ports I assign, but I can't control them. How do I control it?

USB-6501 DIGITAL OUTPUT USING PYTHON

$
0
0


Hi,

 

We have recently purchased few NI USB-6501 and working well with NI LabView. I am trying to make it work with python. 

I have installed NiDaqmx runtime driver(230MB) and nidaqmx package wrapper for python. Can some one share any basic code to make static High or Low for all 24 IO pins as a head start. 

 

Do I have to install NiDaqmx(2GB) or NiDaqmx runtime(230MB)?

 

Thank you,

Regards,
Sai varun K,
Ph: +91 90 354 95796.

Multiple independent outputs on usb6501

$
0
0

Hi all,

 

I have a usb6501 that I want to use as an output device. I am using the matlab library from Plexon (plexDO) to drive it. I am able to pulse a single bit at various frequencies, but I am wondering if it is possible to pulse multiple bits at different frequencies. Ideally, I'd be able to set up unique parameters for each of the 24 pins and simultaneously drive them. Is this possible with this device? If not, what device would you recommend?

 

Thanks!

mflamini91

 

NI 6501 Direct Access

$
0
0

Hi,

Is it possible to access the NI 6501 from a simple custom C#/.Net application without having to install the whole NI-DAQmx binaries ?

Thanks,

Richard

Counter I/O vs digital I/O NI-9474

$
0
0

I am trying to use a NI-9474 and cDAQ to generate a 5+V square wave at various frequencies. I can get the Counter I/O to output whatever frequency I need, but I only get ~200mV output. If I try using the digital I/O I can't seem to get frequency control to work right. So far I've just been playing with Max and Signal Express. Do I need to have a program to get the digital I/O to work right? It seems the counter I/O does not care about the Vsup from my DC power supply at all?


how to use USB 6501 to record analog voltage readings

$
0
0

Hi,

I have never used ni products before and I just started a project to test battery cells, the USB 6501 was recommended for taking voltage, current and resistance readings which I bought, now I can't seem to get it to function properly.  HELP PLEASE.

Digital IO card to send a signal for retracting conveyor belt

$
0
0

I am looking for a PCI Digital I/O card with fast operate time. As I don't know much about electrical stuff, I hope someone in this forum can give an input for the selection. 

 

We have a machine vision system examining products on conveyor belt. If the system detects a defect, it sends a signal to conveyor belt to retract so that the defect drops. The signal for conveor to retract would be analog 24V. As conveyor belt is moving at 27" per second, the operate time of the card should be around 10-50 microseconds. 

 

Is there any PCI card with the capacity? If so, could you recommend one?

NI 9476 | load current

$
0
0

Hello everybody

I have a question about digital output module NI 9476. This has 32 digital outputs. I have read the "Getting Started Guide", but it does not answer all the questions about the output current. I realize that a single output can deliver 250mA and you could use several in parallel for the same consumer. Also that all 4 Vsup inputs are connected to each other I have read in a forum thread.


Now to my questions:
- Do the outputs limit the currents to 250mA with a protective circuit? (or do I have to secure each output individually)
- What current must I use to secure the supply line (Vsup)?

 

Thank you very much in advance

AC RMS voltage line connection with ADC

$
0
0

What schematic will be the best way to convert the AC Analog voltage line 110v (RMS) to be converted in Digital voltage ranging between 0 to 10 V  and is it possible to adjust the brightness LED 

your intel on this will be very helpful

NI-9401as SPI Slave Device

$
0
0

Hello Members,

I have an SPI master device which sends data to slave device. In response to Master data , slave device sends 6 byte of data and this process go repeatedly. I was trying to use NI 8452 but this can only be used as SPI master. Therefore i am trying to use NI 9401 and cDAQ chassis NI 9178. 

My connection are as follows;

 

1. Master Clock into PF0 (in  cDAQ NI 9178 Chassis)

2. Master; MOSI into NI 9401 Input Number 0.

3. Master MISO into NI 9401 Input Number 7 .

 

The read data from Master SPI device is working fine but writing data from SPI Slave to Master is not working.

Thanks

 

Regards

Muhammad

Viewing all 2191 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>