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

Writing with I2C protocol

$
0
0

Hello,

 

I am using Labview 2015 with NI USB-8451 to communcate with a  Bosch BMP280 sensor and I2C protocol. I have cheked out the General I2C Write labview example to start with. However I don't understand where to enter what I need to wright.

 

Would anybody know?

 

Thanks.

 

Best regards,

 

user79                                                


Writing with I2C protocol

$
0
0

Hello,

 

I am using Labview 2015 with NI USB-8451 to communcate with a  Bosch BMP280 sensor and I2C protocol. I have cheked out the General I2C Write labview example to start with. However I don't understand where to enter what I need to wright.

 

Would anybody know?

 

Thanks.

 

Best regards,

 

user79                                                

Where do I find the maximum bit rate for the cable SHC68-C68-RDIO2

$
0
0

Search on web site unsuccessful - maximum measured performance is an important specification! 

Ethercat compact RIO slave I/O ordering issue

$
0
0

When creating names for I/O channels within the project, for some reason, channel names with numerical suffixes (e.g. 1.1.1) are treated differently and out of alphabetical order to the more conventional channel names. Then when performing a programattic block read of the card, the channels and data are again ordered differently (somewhat alphabetically, prioritising suffixed channel names). Images are attached in lieu of a tedious explanation of the mechanics of this bug/"feature".

 

This issue only affects ethercat slave variables, and does not seem to affect channel names for I/O in the master CRio, which makes the phenomenon so much more puzzling.

 

Does anyone know why this occurs or how to turn it off? Or do I just need to avoid these numerical suffixes?

 

It is very frustrating because not only does the project seem to apply aribtrary sorting to channel names, but arbitrary (inexplicit) sorting is also applied when doing a programmatic shared I/O variable read.

 

 

 

trigger a digital output with only one pulse

$
0
0

Hello friends,

How do I do to trigger a digital output of Myrio with only one pulse ?

I want to trigger a digital output of the Myrio, but my wrist is not constant. I need with just a pulse, my digital output becomes activated  Smiley Frustrated

trigger digital output myrio

$
0
0

Hello friends,

 

 

I have a question. I need to trigger a digital output of Myrio with a single pulse. After the pulse, the output will remain activated. Then with another single pulse, the output will be turned off. What tool should I use?


Thanks for listening ,

Regards,

David

Digital output myrio

$
0
0

Friends,

I need some help with the following situation: I want to trigger a digital output of Myrio with just a single pulse, and after this pulse, the digital output must remain activated.

  Then with another single pulse, the digital output must be turned off

Does anyone know how to make a similar application?


Thanks for the opportunity

Best regards

Q.Silva

finding the right relay to power 24VDC solenoid using digital signal from USB-6000

$
0
0

Hello!

 

I'm an MSE undergrad student at the University of Tennessee. I'm using labview to control a two pump vacuum system. I'm using the USB-6000 to send a 3.3VDC to a relay to open a pneumatic gate valve (Model number GVP-2502-CF) when the primary pump brings the internal pressure in the chamber to a specific value. I believe the solenoid requires 24VDC.  I had trouble with the first electromechanical relay I purchased. There is a similar example on National Instruments support page using a solid state relay, however the purchasing link for the relay doesn't work anymore. I found this solid state relay by Winson-Eseller on amazon, but am hesitant order it. Can anyone confirm this would work or have any sugestions as to how I should go about finding a compatible relay for this aplication?

 

V/R,

Andrew


What is the difference between CB-68LPR and SCB-68? What does "shielding" mean?

$
0
0

I was confused about the difference between CB-68LPR and SCB-68.

Does "shielding" mean electrical shielding on circuits, where each lane is electrically insulated from each other?

Or does this just mean that the connector block is inside a metalic case?

 

I have several CB-68LPR and wanted to reuse them for my DAQ cards. My application do not care so much about noises.

Error 301750: The DIO port is not valid for this device. NI USB-8452

$
0
0

I am trying to use multiple DIO ports on a NI USB 8452, but keep getting an error telling me that the DIO port is not valid for this device. However, I am simply trying to use ports 0 & 1. Any help would be greatly appreciated.

FPGA corruption with PXIE 6535

$
0
0

Hello everyone,

 

I'm usign a NI PXIE 6535 Card (digital input/output) and NI PXIE 6363 (analog input/output) for my experiments. I use a programmable FPGA as external clock sampler for this card. The output signal from the FPGA is sharded to the card via a NI CB 2162 connected to the  PXIE 6535 using anNI Coax cable. This signal is shared to the different card using the common PXI_Trig7 port.

 

Running my experiment, it appears that the digital card runs at a different frequency that the one normally imposed by the timebase generated by the FPGA whereas the analog card operates at the good frequency. Typically, the digital card operates nearly at the double frequency that the one it should have. The software I use to control my experiment also reports me that the digital card finishes its task more than one 1 second before the time it should normally ends.

 

All this information seems to be in agreement with a corruption of the FPGA  signal  in the PXIE 6535 card but I'm not able to solve it. I'm also quite surprise that the analog card seems to be unaffected by this problem even if the FPGA must go to the digital card before.

 

Do you have an idea of where this issue can come from and how to fix it ?

 

Thnak for your help

Can the USB-6509 read 3.3V input as high in LabVIEW?

$
0
0

Hello all,

 

I just wanted to verify that the USB-6509 can read a 3.3V input as high before I make the purchase, as I have a 48 channel board that switches between 3.3V and 0V that I need to test.

 

Thanks!

 

Sean

NI 9403 terminal state after starting DO task

$
0
0

Hi all,

We have some problems with a relais board, connected to the NI 9403. Probably we need some pull-ups for proper definition of the outputs during initialization of the 9403 (a logic high switches off the relais).

After powering the 9403, no relais are activated, which is good. So the input terminal default has no consequence.

However, directly after starting the DO task defining the 9403 as outputs (without writing actual data yet), all relais are activated. This behavior is independent of the 'InvertLines' property and thus independent of the default logic level. 

My question: what happens with the terminal type (and input impedance) during power-on and directly after starting the DO task? Does it change to a tri-state situation? And does it leave the tri-state after writing the first data word?

Can we resolve this by adding 4k7 pullup's to the terminals?

Thanks for helping!

Martin

Are DI/O cards like the 651x compatible with PCIe 1x?

$
0
0

Hi,

This may be a bit of a stupid question, but this is my first outing with NI and yet I have somehow been given some amount of responsibility for a very strange procurement process.  Hopefully the question is simple to answer and that will mitigate its possible dumbness.

Are cards like the NI 651x (http://www.ni.com/datasheet/pdf/en/ds-105) compatible with PCIe 1x?  From the image it looks like they are designed to run on PCIe 16x, but since speed is not a major concern I was wondering if it would install and run normally on PCIe 1x.

I am limited in procurement to a default, organization wide Tower PC build, whose motherboard has two PCIe 16x and two PCIe 1x.  Since I will likely need three cards, I was hoping that it would be compatbile with the PCIe 1x slot and would save us the special procurement order form hassle.

Thanks for any help!

Controlling 3 Stepper motors with Step/Direction over Daq 9184 and 9401

$
0
0

Hello,

 

 

I am new to LabView and very gratfull for help.

For a project I need to controll 3 Stepper motor independently over an Step/Direction Interface. For this interface I need to generate digital impulses where every impuls will be interpretet by the motor as a stepp and on the second channel a constatnt 0 or 1 value for the direction interface. I need to contoll for every stepper independently: The frequency = speed, Direction = 0 or 1, Samples = Continuous or finit and get the written sample count for position calculation.

In short Generating 3 indepentend frequencys and 3x independent Boolean values for output.

I am using a Daq 9184 Chassi and a 9401 for digital IO with Trinamic stepper motors.


The biggest problem at the moment is: Contolling more than one motor (the ctrX output seems to go to every pin or none), to count the samples, the generall conception.

I attached my first not so ideal working try for just one motor.
Thank you very much for help in advance.

 


BASIC FPGA CLOCKING SIGNAL

$
0
0

HI 

I have 2 questions.

1) Can I use data port as clock signal? If yest, How do I assign/export a 60MHz generated clock to the lvds clock out signal on NI 6587 adaptor module.

Similarly if we are using an external clock as input,  is it necessary to assign **bleep** to dedicated strobe out signal? Can't data port be used as clock signal within the labview software?

 

2) Can we change clock edges? I am currently working on the positive edge of the clock. When I switch SMAs from  p to n and n to p, the software does not run. how do u change clock edge in labview  when using NI 7962R FPGA module and  NI 6587 adaptor module?

 

thanks

device name for frame grabber extension board

$
0
0

I am trying to determine the device name for the NI-1433 frame grabber extension board so that I can use the IMAQ IO library to control the digital ports on the extension board. How can I determine the device name? 

NI 6583 reading and writing

$
0
0

Hello,

 

I'm trying to communicate between two FPGAs without using P2P streaming or any use of the backplane. We have two FlexRIOs, 7972R, two adapter modules for LVDS interfacing, NI 6583, and an infiband cable for port connections. Essentially, a handshaking sequence occurs and data is exchanged between the two RIOs.

RIO1: Output "ready" signal, input "SYNC", CLK and data

RIO2: Output "SYNC" CLK and data, input "ready" 

When I run the attached code (Host code that controls the two FPGA vis), the input and output data do not match. I'm not sure if I'm missing something fundamental, or if the input is picking up noise from somewhere. I'm fairly new to LabVIEW so any direction would be greatly appreciated!

 

Thanks

ni usb 6001 digital input

$
0
0

I'm trying to simulate a 72Hz digital signal from an external circuit. Attached below is the block diagram I'm using. I was originally going to use the Waveform Graph to view the signal but data types were different so I ended up using a digital waveform graph vi. Once I run the simulation, there was nothing in the graph. Please Help. I am using a USB 6001 DAQ device. 

 

BTW, I tried to create a task in the DAQ Assistant but was only successful when the acquisition mode was set to 1 sample (On demand). When performing what I desired which was continuous sampling, an error occurred.

 

Error -200077

Requested value is not a supported vaalue for this property. The property value may be invalid because it conflicts with another property.

 

Property: SampTimingType

Requested Value: Sample Clock

Possible Values: On demand

 

Basically, what I want is to see the square signal in the waveform graph and perform some processing with the signal. 

How to read multiple analog signals simultaneously with a USB-6211

$
0
0

Hello, I am trying to read 16 analog signals going into a USB-6211 all at the same time using Hardware timing. So far I have been able to read continuously from one input in a seperate project but I have no idea how to read multiple lines at once.

 

Thank you for your help!

Viewing all 2178 articles
Browse latest View live


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