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

HSDIO digital data acquisition problem – losing data

$
0
0

Hi!

 

I have to make a simple project that acquires bits from a single digital line (2Mbps), searching for a certain 88bit pattern (BARKER) and after finding it stores 8000 bits from the channel in a txt file of a certain format. For the acquisition I use PXI 6552 (with 8Mbits per channel on board memory). I have developed my project based on Dynamic Acquisition examples and it seemed that it worked fine until I discovered that I am actually losing some data and that I detect only every 10th to 20th barker sequence (I am monitoring data via oscilloscope as well so I am certain that I do not detect every barker sequence). I also noticed a sporadic warning

 

Warning 1803 occurred at DTbl Digital Subset.vi->DTbl Search for Digital Pattern.vi->LineSequenceTest_v24.vi

Possible reason(s):

LabVIEW:  Waveform x-axis value requested is out of range.

 

but I do not understand what could be the problem and could that problem be the cause of losing data.

 

Thank you!


NI 9401 all line output problem

$
0
0

Hi

 

The attachment code is used as subvi .iam getting error when i use it as sub VI. Based on the input condition the output of the particular line will become  high and i need to generate  all the line output simultaneously whenever perticular line gets data.

 

Based on this digital output am going to trigger a relay to switch of the power supply output.

 

 

Thanks in advance

200565 error

$
0
0

I'm trying to write a sequence of signals to a port on my USB-6343. Two of the signals are fixed and the other is an array of binary values. I am not getting any output on the DAQ port pins (port0:line0:7) and I'm getting the error 200565 when the loop ends and the Clear Task module is executed. I can't figure out why either are occuring.

 

This is my first foray into programming DAQ's with LabView so this could be simple.

Connecting the SCB-100 to a Solid State Relay

$
0
0

Hey everyone,

 

I am trying to hook up a solid state relay to the SCB-100 which is connected to a PXI 6515 device. I was just wondering where I can purchase the connecting wire that is ideal for this purpose. A quick look online has yielded few helpful results. A link to grainger/zoro tools or others would be appreciated. The specifications are: The wire must be able to withstand 25V voltage, 25A current. It should also be easy to wire it into the SCB-100. Any AWG will do. 

 

Thanks!

How to increase the digital output logic level in NI USB 6341

$
0
0

Hi

 

I WANT TO INCREASE THE DIGITAL OUTPUT LEVEL IN NI 6341. I AM TRYING TO DRIVE AN LED BUT THE CURRENT OUTPUT IS 2.7 V HENCE THE BRIGHTNESS OF THE LED IS LESS. HOW CAN I CHANGE THE DIGITAL OUTPUT LEVEL HERE.

How to send a strem using Ni USB 6212

$
0
0

Hi,

I have an NI USB 6212 card and I want to send a stream of bits at a fixed clock rate (2KHz) on two ditital lines. The stream is stored as a uint8 vector in a buffer. Length is less than 2K.

I'm using C code and DAQmx drivers.

I looked at various sample codes and discussions but couldn't find any working code. The card manual just directs to DAQmx documentation without any restriction.

The code fails at command DAQmxCfgSampClkTiming (from one of the sample codes) with error -200077.

In some posts I saw that maybe clocked DIO is not supported on this board. If yes how can I know for other cards. Can I use the AO for the same task?

Thank you,

Alecs

Writing and reading data using the DAQAssist and a Compaq Rio

$
0
0

I am writing and reading data using the DAQAssist and a Compaq Rio.  I need to compare the data written to the data being read.  I am having trouble creating a comparasion due to the delay in the data being read.  Any ideas on how to verify the data going in is the same as the data coming out?

Digital voltage range limit (less V)

$
0
0

Hi

 

My first post here.

In the Datasheet and in the examples i was not able to find a solution for my problem:

- output voltage digital 0-5V <-> input FPGA (3V3)

because i am communicating with a FPGA i have a problem with the output voltage of the USB-6221 to the FPGA. 

Is it anywhere possible to change the digital output voltage range 0-5V? The other way is no problem, because the USB6221 accept 2.4V as an high (3V3 output of FPGA)

 

I am looking for an solution per CVI property to limitate the voltage range

-> the last solution will be a very simple voltage divider. But i need this for more than 2 lines.

 

Thanks for your help!

 

 


Can I order longer Jack Post Screws for the cable assembly SH100-100-F

$
0
0

I need longer jack post screws for the cable assembly SH100-100-F, approximately 0.375 longer than the standard ones that come with the cable, in order to connect to the DIO Board installed in my PC unit.  Is there a kit or part number that i can order?

NI PXI 6289 Digital Output Solid State Relay

$
0
0

Hi,

 

I'm attempting to control a pull-type mechanical solenoid using a sold state relay connected to my PXI 6289. I currently have the SSR connected to Port 1 line 4 and am using the code provided here http://zone.ni.com/devzone/cda/epd/p/id/6411 . However, whenever I run the code the indicator light on my SSR (wired to show logic is working http://www.adafruit.com/products/268) does not light up indicating that no signal is being output. Any help with the matter would be much appreciated. If any additional information is needed please let me know.

 

Best,

 

Brad

PXI-6515

$
0
0

I have a failure on Port 6 of my PXI-6515 caused, I believe, by pins 49 & 50 on the cable lead from my SBC-100 being out of line.  They therefore did not engage with the PXI card properly shorting themselves together and maybe connecting with one of the pins in the PXI card.  From my tests within MAX the other output ports, (4, 5 & 7), are okay but port 6 now looks like it is floating and not operating as an output.  Does any one know if we can repair the card?  Or is the card now a right off?  There appears to be two fuses which are okay.

From a hardware point of view can any one explain what has happened.

 

Any feedback appreciated.

 

Steve

PXI-6537 Digital Logic Family voltages are not changing.

$
0
0

I have an application that is using a PXI-1085 chassis with a PXI-6537 x 2 that will need ports at a different logic levels  of 2.5V and 3.3V.  After setting up a test application to prove i can change the digital family logic for each port i get a constant 3.3V.  I went into max and tried using the "Configure" for each card and didn't get any change as well.  The DAQmx version i'm using is 9.5.5 with 2012 Dev Suite (LV 2012). 

 

Attached is my example test VI for 4 different ports in which i need a different logic levels.

 

What can't i change the logic level of this card?

 

THanks,

Generation rate or onboard memory

$
0
0

Hi,

 

im trying to generate digital signal with pxie 6544. I read in datasheet, that this device has onboard memory size 1Mbit/channel. In the other part of the datasheet, it says, maximum data rate per channel is SDR: 100Mbps or 400MB/s typical data streaming rates (I guess this rate means I can use all 32 channels with maximum rates 100MHz to generate signal).

 

I can use either 4byte or 2byte data for generation. But I dont think it would let me have bigger buffer size, right? 

Is there any ways I can generate signal somehow without using onboard memory size?

 

Digital output signal is only 1.3 V

$
0
0

I have a SCB-68 I/O device interfaced with at NI PCIe-7841R. When i output a digital signal i only get 1.3V. Is there any way to output a higher voltage like 3.3V or 5V?

where can i find an sr flip

$
0
0

 

Im quite new to electronics i just want to experiment with basic sr, jk, d and t type flip flops.  However, all i can find on multisim is chips with a mind boggling number of inputs I dont understand.  Are there any basic flipflops in multisim 11?


problem with read count

$
0
0

I am trying to receive 2500bytes via serial port and plot it on a chart, after sending character "S" to the sender device.

I have set the "read count" to 2500 so it is supposed to receive 2500 byte then wait for another "S" but it just receives 101 bytes and then goes to next program iteration. how can i solve this problem?

The VI have been attached.

Output no change

$
0
0

Good morning,

 

I am new with DAQmx and I use the Cont Write Dig Port-Int Clk.vi example in order to understand how it works. My board is USB-6343 OEM

 

I changed the example above with my configuration Port0.12 and Port0.13 (only two output). I measure these outputs with an oscilloscope.

 

I can switch these outputs on and off and also generate continously a square signal with MAX. The hardware is ok.

 

But the example does not run. There is no error and no change on the outputs.

 

Can any body suggest me a way to solve this problem.

 

Please see the picture in attachment.

 

Thanks in advance

NI9411 wrong frequency measurement of flow sensors / 24 impulse signals

$
0
0

Hello Ni Forum,

I already searched for similar problems, but haven't found anything helpful. So I'm posting our problem here. I'm apologizing in advance for bad english, it's not my mother tongue

We're encountering some strange behaviour of our NI9411 Module. We're using it in a Compact Rio with some other modules (2x Analog In).

Our goal is to measure the frequency of three flow sensors (impulse high = 24V, 0-22kHz) among with a torque sensor (TTL 5V, 30-60kHz) and a speed sensor (TTL 5V, 0-51,2kHz).

They are wired as follows:

DI0a = torque sensor
DI1a = flow sensor 1
DI2a = speed sensor channel A
DI3a = speed sensor channel B
DI4a = flow sensor 2
DI5a = flow sensor 3

Correspondig ports b are left unconnected, as it is said in the data sheet. All ground ports of sensors are connected to COM port of 9411. The module was connected to a 24V power supply.

Now the torque and speed sensor measurement works fine. But measuring the signals of the flow sensors seems to be difficult.

If an external frequency generator (impulse high about 9V, f=1,000kHz) is connected to port DI1a instead of the sensor signal, LabView shows exactly 1,000kHz. DI5a showed an avarage of 10 Hz, with a range from 10 to 60 Hz. DI4a equaled constant zero. The flickering up to 60Hz of DI5a was gone after disconnecting the 24V supply of the module. This changed nothing on the phenomenon described below.

If the signal high impulse voltage is raised, the measured signal frequency goes up to 1300 Hz @ 24V signal high impulse voltage. The signal additionally raises, if an oscilloscope is connected to DI1a, to 2180 Hz (range 2110 to 2240Hz). However, there is no change of frequency if the osci is connected to DI5a. With the 24V supply connected, DI5a showed a frequency up to 600Hz @ 24V signal high impulse voltage on DI1a, also rising when connecting the osci on DI1a. As mentioned, there was no frequency measured on DI5a after disconnecting the 24V power supply.

The signals of the generator showed some peaks on each edge (rising and falling) with values for example of 11V above high impuls voltage of 9V (20V together). That may causes that wrong frequency measurement.

The signals of the flow sensors do not have such peaks, the LabView-frequency nevertheless does not match the real frequency, as shown below (all values in Hz):

 

LabViewideal values
Flow Sensor 1Flow Sensor 2Flow Sensor 1Flow Sensor 2
460012200740,66760,0
6400135001481,37500,7
9700164002962,68982,0
12900195004443,810463,2



We're kind of helpless now. How can we get the signals of the flow sensors measured the right way? Are we doing something essentially wrong? Thanks in advance for offered help. I hope, I've given any necessary information. Any missing details will of course be delivered.

 

Puls-Measure-VI is attached beneath.

Regards,

Johannes Rost

Hardware timed digital output (NI PCIe-6351 + BNC-2111)

$
0
0

Hi,

 

I am trying to output two digital pulse trains to act as a TTL signal controlling two lasers. 

 

To do this, I first generate a hardware counter on Dev1/ctr0 at a user defined frequency. This counter then serves as the source (Dev1/Ctr0InternalOutput) for the Digital Output on Dev1/port0/0:7 which uses a user defined 1-D waveform input.

 

The desired output would be:

 

Dev1/port0/0 --> on off on off on off ...      at the desired ctr0 frequency

Dev1/port0/1 --> off on off on off on ...

 

However on my current setup (NI PCIe-6351 + BNC-2111) I don't have direct access to port0 thus I tried outputting the digital signal on Dev1/port1. This gives me an error 201062, indicating port0 does not support hardware timed digital output. (http://forums.ni.com/t5/Multifunction-DAQ/Error-201062-when-performing-continuous-reading-of-a-Digital/td-p/534789)

 

My question is: How would I gain access to the port0 and connect to a BNC connector, via extra hardware or otherwise?

 

and if this is not possible,

 

How would I recreate the above using either an analogue output or using more than one counter (Ctr) outputs?

 

Sorry for the length of the message.

 

Any help would be much appreciated.

 

PCI-6528

$
0
0

I am looking for a letter of volatility for the PCI-6528.

Viewing all 2195 articles
Browse latest View live


Latest Images

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