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

HSDIO Pattern match pattern length

$
0
0

Hi All,

 

I have a PXIe-6556 card where I am trying to implement a Start Trigger with Pattern Match. I ran into an error message shown below when I tried more than 10 samples in the Pattern. I searched NI site and did some google but couldn't find any documentation related to the Pattern Length limitation on this and other HSDIO cards. 

 

I could only find only this LV  driver VI documentation,

http://zone.ni.com/reference/en-XX/help/370520K-01/hsdiopropref/pnihsdio_starttrig.patmatch.pattern/

 

I really appreciate if anyone could share any useful links or official documentation on this.

 

Pattern Match Pattern Length


scada

$
0
0

Je suis en train de réaliser mon projet de fin d'études. L'objectif de projet est de réaliser une interface graphique qui assure la supervision d'une ligne de production. L'acquisition des données se fait à partir des modules d'entrée/sortie digitale. Les modules utilisés sont ICP CON. Le protocole de communication est TCP/IP. Je ne suis pas un pro en Labview et je veux savoir comment communiquer avec ces modules et lire les données sur les bits.

 

Cordialement.

Digital net and De Morgan curiosity

$
0
0

While implementing a SN74196 (Presettable Decade Counter) as a hierarchical block I have found a strange behavior that I can't understand.

 

Looking at the attached circuit you see that the IC inputs, LOAD/COUNT and CLEAR, are connected to an OR gate with two inverted inputs.

 

I have firstly used an OR gate and two NOT at the inputs but it didn't work: a negative pulse on the CLEAR input correctly set all the Q outputs to zero on the falling edge but the following rising edge set all the Q outputs to the values currently applied to the Data inputs (wrong).

 

After a few trials I have replaced the OR gate and the two NOTs with the De Morgan equivalent, just a NAND gate, and everything was then working fine.

 

Now my question is: why this? Where is the difference in the two versions of this circuit?

 

Is it related to the sequence used by Multisim 13 in evaluating the net events?

 

Ciao and thanks for the attention.

 

Franco

 

 

NI USB-6509 Self-Test

$
0
0

Hello all,

 

Does anyone know what the built-in self-test of the NI USB-6509 hardware or any similar digitial I/O hardware does? Does it just confirm the hardware can communicate, or it actually tries to write and read certain digitial I/O lines?

 

I just want to have some idea about what it means when the self-test passes or fails.

 

Thanks,

Wenhao

timing test of I2C interface chip

$
0
0
I am new to Labview and meet some problems.I hope I can get your help,and any help is appreciated.I want to generate 2 controllable digital waveforms using PXI-6552 with HSDIO.In this way,I try to stimulates SDA and SCL regarding I2C serial protocol .And my problem :I dont know how to make SDA digital line generated by PXI-6552 delayed or forward in order to check the I2C interface chip's setup time is right or not according to I2C user mannual. Thank you very much.

News- ULN2003 Replacement

$
0
0

The ubiquitous ULN2003 low side driver often referred to for increasing current drive for digital outputs has a newer counterpart:

 

TI's TPL7407L, now with 600mA drive capability. Bummer that it only looks like it is in surface mount packaging :smileysad:

 

http://www.ti.com/lit/ds/symlink/tpl7407l.pdf

 

I wonder where the '7407' refrence came from :smileyhappy:

 

Posted here for future reference.

 

-AK2DM

 

10001 occured at DIO port config

$
0
0

 

Exe file was created in LabVIEW on win 2000 with following hardware
PCI 6052e
Scxi 1000 chaises
Scxi 1303
Scxi 1324
Scxi 1325
Scxi 1326

It was working OK until computer stopped working
Then this program was installed on new computer with xp sp2 on execution it shows error 10001. Engineer who designed is not available. Chaises and modules shown in max.
I am not sure how to solve this problem.

then

i removed them modules from ni daqmax. and configured all only in trd ni daq MAX. then for moment it shows error :


10001 occured at DIO port config, an error was detected in the input string: the rrangement or odering of the chracters in the string is not consistant with expected ordering.


but if i say to continue every second again and again neglecting fault analogue display on screen show reading changes every second with fault showing and stoping execution again and again

atthis moment modules were configured as
chaises id =1, chaises address= 0

for scxi 1303
cabled device to 6052
operaing mode : multiplex
attached access: scxi 1102c

for 1325
cabled device : nil
operaing mode : multiplex
attached access: scxi 1124

for 1326
cabled device : nil
operaing mode : multiplex
attached access: scxi 1162hv

for 1324
cabled device : nil
operaing mode : multiplex
attached access: scxi 1160


in Ni daqmax it was not showing readings
do i need to configure indivisual channels??? input and outputs values????? and how

daqpad 6507 with virtual machine

$
0
0

I am trying to use the NI DAQPAD 6507 in a Windows XP Professional virtual machine (32 bit). The host OS is Windows 7 64 bit. I can see the DAQPAD but it just doesn't seem to want to talk...at least not properly. Anyone have any experience with this or any ideas?

 

Thanks.


Reading Digital Pulse with PCIe 6509

$
0
0

Hello everyone,

 

I'm trying to decode an Infrared signal from a remote control using the PCIe 6509, but I'm having no luck doing that. It seems that when I'm using the Change Detection VI it does generate the interrupt, but it can't produce it fast enough to create a pattern to use with the Daqmx Read VI. Does anyone know if something like this is possible? The idea is to make the PCIe 6509 generate a digital output signal for each differente key on the controller.

 

Thanks!

 

Kenny

 

 

sbRIO 9626 + RIO Mezzanine Card + 1-wire

$
0
0

Hi all!

 

I try to read data for 1-wire sensors (ds18b20, ds2411)

 

I use component from https://decibel.ni.com/content/docs/DOC-24136 

 

If 1-wire sensors connected to J503 DIO read data no problem

 

No read data from Mezzanine Card (RMC DIO)

 

I checked the connections, wire, results no found :mansad:

 

How i fix it?

 

Thanks!

 

USB-6501 PROBLEM

$
0
0

I have some devices USB-9501 and almost work perfect but I have one that I need use the MAX to reset several times, befero that I have input signals but I didn't have any device conected, after reset the device with the MAX all the signals turn off

Some body help me please

Trigger VI

$
0
0

Hello guys,

                       I want to enable a trigger signal when the input at the Trigger block goes high.I have attached the block diagram.The idea is to enable a trigger when the sine wave output goes positive.But the trigger block doesn't give high output.Please help..Thanks..

Trigger VI

$
0
0

Hello guys,

                       I want to enable a trigger signal when the input at the Trigger block goes high.I have attached the block diagram.The idea is to enable a trigger when the sine wave output goes positive.But the trigger block doesn't give high output.Please help..Thanks..

Control multiple LED with PWM

$
0
0

I'm designing an application that sequencely turn on 6 LEDs, each LED operaters in periodes of 10ms, and then is off the rest of the time. To control the intensity of the LED in the 10ms periode I want to use a PWM signal. 

Any suggestions? 

Continuous streaming to a single channel of PXI6552

$
0
0

I have to produce a serial stream over a single channel of a digital I/O (PXI6552, 8Mbits per channel), more precisely an ATM packet stream of 53 strictly defined bytes. I used the example “Continuous Generation - Stream From Memory.vi” as a starting point.

 

As I have understood, since the data width of the PXI6552 is 4 bytes, one has to generate 32bit words, and each bit of a word is sent to a corresponding channel. Thus it seems to me that it is impossible to generate a simple binary stream (for example, to generate pseudo random sequence) and to send it over a single channel. Although I select the exact channel in “niHSDIO Assign Dynamic Channels.vi“ I still have to generate 32bit words for all the channels - am I right?

 

Second problem is Samples Per Channel Increment, because "the number of samples in a waveform has to be in a certain increment", which is 32 in my case. It seems that I cannot generate a sequence of for example 53x8 bits that are continuously sent. The way I see it, the only way is to generate 32 times repeated sequence of 53x8 bytes, as I did in the attached modified example, but it seems like very inefficient solution.

 

Is there any other way to realize this with PXI6552?

 

Iva


USB-6001 how to use?

$
0
0

Hi to all!

 

I am thinking on buying an USB-6001 module, but first I would like to emulate the adquisition system in my labview (2013).

Is there any manual about how to emulate this system and his variables? I would like to make some program first and tests inputs/outputs variables.

 

Thank you!

Digital output 9472 COM terminal- digital or analog ground?

$
0
0

Hello. 

 

I am using NI crio  9012, chassis 9103, NI 9472 Digital Output and NI 9225 Analog Input modules. 

 

Is the COM terminal of digital output module analog or digital ground? If it is a digital ground, should I connect the -ve of DC supply to 9472 directly to COM or should I place a capacitor or RC in between to separate analog and digital grounds?

I am connecting a 24V dc supply directly to the Vsup and COM of digital output module. Now the COM terminal of the digital oputput module will be analog ground or digital ground? 

 

 

Please help me soon. 

Thank You.

 

NI 6501/9 - Knowing state of Digital Out pins... (in C#)

$
0
0

Hi,

 

I'm trying to work on a "driver" for an NI 6501 (and down the road, 6509) DIO device.  We've got a method that sets the state of a pin and creates all the necessary digital out channel calls.  It appears that the command works fine, by having LED's connected up to the pins.

 

However, when I run this code:

 

        public virtual byte ReadLineInput(int channel)
        {
            if (IsSimulated)
            {
                return 0;
            }

            var readTask = (Task) taskChannels.GetValue(channel);

            var reader = new DigitalSingleChannelReader(readTask.Stream);
            var data = reader.ReadSingleSamplePortByte();

            CheckForErrors();

            return data;
        }

 

where "taskChannels" is where we stored the tasks set up for 3 8 bit ports to be Digital Outputs...

 

I don't get the values I'd expect.  I'm reading from a Digital Output, so I'd expect it just to tell me what pins are on and off.  However, I have noticed it's actually switching them to Digital Inputs, and then it is setting all the pins to high (which I'd expect with the pullup resistor and nothing hooked to the pins) except for the pins which are connect via LED's... They go low (because they're connected to ground) and I get 0's.

 

How do I view the state of Digital Output pins without storing them in the driver?  For all intents and purposes, this device will be all digital out....  there are no commands to change the channels to Digital In...  so the "read" is doing that on it's own... Is there a "Peek" or "View" on the digital outputs?

 

Thanks,
Rich

Two external trigger signal

$
0
0

Hello guys,

 

I want to use two external trigger signals for the system. But when I use the C# function "ConfigureDigitalEdgeTrigger", it just creats one external trigger port.

 

How can I creat two ports for  two external trigger signals?

 

Thanks !

Using I2C or SPI communication with cRIO and NI 9403 Module and Scan Engine

$
0
0

Hi, I have a cRIO 9074 and the 9403 DIO module, and was hoping someone could help me figure out how to interface with a device that communicates over I2C or SPI.  I do not have access to the labview FPGA package, only the RT module and scan engine.  If anyone could help out, that would be greatly appreciated.  Thanks.

Viewing all 2183 articles
Browse latest View live


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