Problems of digital input PCI-6143

I hope it's good advice. I asked in software digital I/o and LV advice because I didn't know if it was etc. MAX, material. No one has all the answers. Before you fight on the repeated posting please reallize that my messages were for 5 days and the only questions answers to which I responded later.

Card PCI-6143 bed not any signal PFI and yet he successfully uses the PFI signal to trigger the meter on board. All of the lines indicate a high signal although there is none. What does that mean? This indicates a Board fried or are there other possible answers. I had suspected MAX but I plugged my PCI-6211 and it works fine. This test through MAX test panels.

Help, please.

Hi Walter,

I posted a response to your thread in the forum DIO.

Brad

Tags: NI Hardware

Similar Questions

  • Problems with the digital input/output

    Hello

    I have a little problem with my card PCI-6143. I would use two connectors digital one as a starter and one as an output. Now, I have the problem that I do not know how I address them. The input works as I want but not the output.

    As an example. I call my channel output on this name: Dev1/port0 / line0:0.
    With this call, the application works very well. If I change the output channel to Dev1/port0 / line4:0 I get an error that the values can be read and 0 and 1 are valid values.
    I hope that the call is right, I wrote that out of my head.

    My questions are. Is it correct to call a single digital channel with this name?
    I'm not sure because I do not understand what these means 'line' and if I allocate really single channel or more.
    The second question is, can someone give me an example of how I assign two digital channels (how to address them)?
    I know it's maybe an easy question, but I can't seem to get it corrected.

    Hope someone can help me.

    Best regards

    The syntax that you use is intended to select several channels: the numbers are the initial and final channel in a subsequent channel list. Thus, written Dev1\port0\line0:4 means 5 lines are included in the read/write (FWIW written 4:0 has the same effect). It is redundant but good writing line0:0, which means a single line, but you can write to Dev1\port0\line0 which is simpler.

    This is a help page on this topic.

  • PCI-MIO-16-1 shows the digital inputs 1-7 on, without same cable connected

    Max, my PCI-MIO-16-1 shows the digital inputs 1-7 as having entries of tension without same cable connected to the Board. No amount of spin with her (to the MAX) seems so he can act correctly in input or output mode. It's true, there are voltages on these pins. If I connect my cable (to a TBX-68 block), I see that it has on $line0 (on port0) 0v, 5v on line7 and 2, 5V on the rest. Trying to put these lines to something else in MAX seems to do nothing. (I also can't control the OD, either.)

    This card has tried to get a couple of have Weiwei at high speed. Now that I'm branching out, I found a strange behaviour. Of course, I tried to restart and turn off the computer and turn it back on. Automatic test MAX Returns instantly with a message "transmitted", that gives me hope, even if I don't trust the speed at which it seems to perform the check.

    I'm a complete noob at this stuff. Is there something obvious that I might be dominant? Is there a way I can test more deeply that the card works as it should?

    The open connections to the TTL inputs are usually detected as logic 1. You are not testing properly. Connect an entry to two gnd or + 5V. Don't let them ever floating.

  • virtual digital input problem

    Hello

    I'm learning about labview data acquisition. So, I made a base for digital vi, with a virtual digital input device. For some reason any I can not output anything other then zero, but when I run the daq assistant (when you install assistant daq) Boolean values between 0 and 1. But, in my VI I can't get any other input then set to zero.

    I enclose my VI.

    Thank you

    You should associate your stop button at the entrance to Stop on the DAQ Assistant.  You are openening and close the task each time when you do not do this.  According to me, which is also reset the activation/deactivation of the simulated device.

  • Digital input and output problem

    Hello:

    I do a test for digital i/o:
    for a table of the digital signal to an output of data acquisition in the digital input to detect the output signal.
    (bascially, it's like a loop that goes outside the material)

    It's pretty simple, as shown in the attached fichier_1.
    It works well.
    The manual light switch controls, which means that inputs and outputs are ok.

    Then I went on the low level DAQ for better speed, as in attached fichier_2.
    But it does not work. Especially when I pressed stop to abort the loop, an error has occurred:

    To speed up, I went to the low-level data acquisition as the fichier_2 attached.
    But it does not work. Espeically when I press the "stop"button to exit the loop, the error occurs.

    Possible reasons:

    Requested value is not supported for this property value.
    The value of the property may be invalid because it is in conflict with another property.

    Property: SampTimingType
    Asked the valuelarge clock
    You can select: on request

    I don't understand why the sampling time has a conflict here.
    (It is probably just something very simple in data acquisition, but I checked a few examples and did not find a clue).
    Hope someone can give me a suggestion.

    Ultimately, my goal is to make the attached file_3.
    In this one, I generate a digital output, and then lead to the entrance.
    Then I can take it as a signal to trigger my other task.

    Note:

    I use a similar conti signal to control one of my camera.
    I need to sync it with my another task.
    So I think to generate a digital output (which share the same clock as the signal similar to the data acquisition device), then put it in one of the digital input.
    By detecting this digital input, I can trigger my task and synchronize with this signal similar.
    My camera's USB-6211.
    I am aware of the latency of USB, but once the value is a constant value, then the synchronization is always good for me.
    Actually, I was using an analogue at the entrance of the to do it before, it may work, but the synchronization error is too big for me.
    I need to do some calculations/judgment for this analog value, which makes the time difference varies.
    So I'm trying digital entry now and I hope that the digital input can trigger my task with a stable latency.

    Thank you very much

    Have you looked at the specs? It clearly states that the digital I/o is a programmed software. You have not any hardware clock at all. The best rate that you could possibly achieve is around 1 kHz and which would have a considerable jitter the nature of non-determimistic of windows.

  • DAQ + DAC... OR PCI-6143 + PCI-6731 vs only PCI-6229?

    Hi, I try to control a XYZ stage using a feedback program in LabVIEW and wonder about my computer card options for the acquisition of analog data (1) analog inputs and 2 digital outputs.

    One suggestion I've gotten is the NI PCI-6143 of data acquisition of analog inputs, more the NI PCI-6731 for digital output to analog.

    However, I wonder if the NI PCI-6229 can do the same thing that these 2 cards together can do and for a fraction of their price. The only question I can foresee is a slower rate with the PCI-6229. Other problems with this idea?

    Please notify.

    Thank you!

    Hello clas004,

    The PCI-6229 looks like it would be ideal for your situation.  According to the two connectors are concerned, the 6229 has two front end connectors.  If you check the 622 x specifications OR and look at the stitching down, you can see what is sent to each connector.  Since you need 3 analog outputs, you'll need a cable and a block of endings for the second connector as two of the AO signals are on each connector. For cost-efficiency, if the noise is less of a factor for the signals of the AO, you might consider the block of CB-68LP-unshielded endings for the second connection.

    As far as the compatibility of the PI functions are concerned, it is likely that they will work, but PI would be able to answer this question the best.

    I hope this is useful,

  • Why do I get error "20019 ADC conversion failed" with my pci-6143, when I try to use the DIO lines?

    I am tyring to use one of the digital input lines on my PIC-6143 to go to the connection "enable" on the "write to file measure" vi.  I have two cards PCI-6143 acquiring analog signals of 8 channels per step, plus I have a digital DAQ assistant to the sample line of DIO 2 on one of the cards.  Normally I can start and stop recording using a signal of 5V to the DIO port several times until I get the error.

    Strangely, when I use a simple Boolean "Record" button at the port of the 'writing on a file as' enable vi, I never get this ADC error no matter how many times I press the button.

    I am including a screenshot of the error.

    Thank you

    Chris

    Please ignore this message.  The whole issue has been resolved by copying and pasting the VI in a new file in VI.  The new file ran perfectly.  Must have been a compilation of LabView or something error.

  • Interrupt with digital input

    Hello

    I am relative new to LabWindows.

    I have a program that starts when I press a button. The program controls a motor. Now I press a button on the motor and the program must cease (Safty Stop). The button is connected to a digital input on my card (PCI Express 6343). Now, I have the question, how do I program the interruption? I know not how do in CVI (controls the digital input whenever the program runs).

    I hope someone can help me.

    Best regards

    The starting point must be to look relevant examples that NEITHER provide:

    ReadDigChan - ChangeDetection.prj

    and

    ReadDigChan - ChangeDetectionEvent.prj

    However, I must advice against using a PC as a "Safety Stop". As a general rule, the PC are completely inappropriate to the core functions of security, unless you follow the standard IEC 62304 relevent to the letter. Tip: it's hard to do with a PC. To implement safety functions such as emergency and interlocks stops you buy much better a specialist dedicated safety relay and following the instructions of the manufacturer. If life-threatening energy (either electric or medcanical) may be present, then consult a professional engineer.

  • How can I set up a digital input task to read continuous samples?

    I am trying to create an exclusively digital task that will make digital readings at a rate timed by the material using a PCIe-6509. However, when I try to put the task timing as follows (which works on a PCIe-6509), I get the following error:

    Requested value is not supported for this property value. The value of the property may be invalid because it is in conflict with another property.

    Property: NationalInstruments.DAQmx.Timing.SampleTimingType

    Required value: NationalInstruments.DAQmx.SampleTimingType.SampleClock

    Possible values: NationalInstruments.DAQmx.SampleTimingType.OnDemand, NationalInstruments.DAQmx.SampleTimingType.ChangeDetection

    Task name: DigitalInputTask

    State code:-200077

    The relevant parts of my code are:

        public class DigitalInputReader: IDisposable
    {
    public DigitalInputReader()
    {
    dataReadyHandler = new System.AsyncCallback (DataReadyEventHandler);

    daqmxTask = new DigitalInputTask();
    daqmxTask.Configure (Globals.NI);

    daqmxTask.Control (TaskAction.Verify);
    daqmxTask.Control (TaskAction.Commit);

    daqmxReader = new DigitalMultiChannelReader (daqmxTask.Stream);
    }

    public class DigitalInputTask: task
    {

    public DigitalInputTask(): {base ("DigitalInputTask")}

    public virtual void Configure (NiConfiguration niConfig)
    {
    <= niconfig.digitalinputs.count="" -="" 1;="">
    {
    String physicalChannelName = niConfig.Device + "/ port" + niConfig.DigitalInputs [i]. Port.ToString () + "/ line" + niConfig.DigitalInputs [i]. Channel.ToString ();
    String nameToAssignToChannel = niConfig.DigitalInputs [i]. Name;

    DIChannel ch is this. DIChannels.CreateChannel (physicalChannelName, nameToAssignToChannel, ChannelLineGrouping.OneChannelForEachLine);
    c. InvertLines = niConfig.DigitalInputs [i]. InvertLines;
    }
    var signalSource = "";
    This. Timing.ConfigureSampleClock (signalSource, Globals.MachineSettings.SampleRate, SampleClockActiveEdge.Rising, SampleQuantityMode.ContinuousSamples);// Globals.MachineSettings.SamplesPerChannel);
    }
    }

    The last call to Task.Timing.ConfigureSampleClock, it's which throw errors.

    Of the options available, or SampleTimingType.OnDemand or NationalInstruments.DAQmx.SampleTimingType.ChangeDetection provide the same precisely timed calls that I am familiar with the analog input interruptions.

    How is it possible in a digital task?  I mean, it seems that I could set up another task to do call by material for the production of a clock signal and use the ChangeDetection synchronization mode, but this seems a bit complicated for what should be easy to do.  What Miss me?

    Update: I thought about it.  You cannot call ConfigureSampleClock when the digital input card is a device of 650 x, because these devices have any automated examples of clock.  They are configured to run in mode default finite samples.  You must make all sample synchronizing with these devices in the software.

    Be cautious, however, because the .NET timers ensure they put any faster than their scheduled interval.  In practice, they are usually 5 to 10 ms slow by tick.  This means that if you want to read samples every 100 ms by sample clock, you'd end up reading all 108 ms samples.  All counters based on the elapsed time and number of samples would be away after a few seconds of it.

    Instead, you must do one of four things: write a doggone driver that runs in ring 0 and interfaces with the PCIe card in the required interval (i.e. on NC, not you, in practice), tolerate the inclination of the clock, use a multimedia timer as an interruption audio or video that is more likely to respond to the correct interval, or , my solution, an accurate clock allows you to set the interval of the timer.  I wrote the following code to the timer:

    var CorrectiveStopwatch = new System.Diagnostics.Stopwatch();
    var CorrectedTimer = new System.Timers.Timer()
    {

    Interval = targetInterval,
    AutoReset = true,
    };
    CorrectedTimer.Elapsed += (o, e) =>
    {
    var actualMilliseconds =;

    Adjust the next tick so that it's accurate
    EG: Stopwatch says we're at 2015 ms, we should be at 2000 ms
    2000 + 100 - 2015 = 85 and should trigger at the right time
    var StopwatchCorrectedElapsedMilliseconds = newInterval +.
    targetInterval-
    CorrectiveStopwatch.ElapsedMilliseconds;

    If we're over 1 target interval too slow, trigger ASAP!
    <=>
    {
    NvelIntervalle = 1;
    }

    CorrectedTimer.Interval = NvelIntervalle;

    StopwatchCorrectedElapsedMilliseconds += targetInterval;
    };

    I hope this helps someone.

  • NEITHER 6501 digital input

    Hello world

    I use an NI USB-6501 and I'm trying to understand how to read the entries.

    I used this card to generate output using the example vi write Chan digging, it works fine.

    Now, I'm trying to use the example of reading dig Chan vi to read an input voltage. But it seems that, by default, the map reads 5V (a 1 logic) as entered on each pins, even if nothing is connected to them. I tried to connect the output to the input, use a relay to see if it detects a change in the entry, if we send a voltage or not, but it changed nothing. It still reads 5V anything.

    Can someone help me understand how to be able to read an entry? This problem has happened to someone else?

    Thanks in advance.

    Frédéric

    If you dig through the data sheet, you will see that there is a 4.7kOhm shoot all digital inputs.  So with the floating inputs you will get a high (logic 1).

    As Dennis have already said, wire your digital output directly into your digital input.  So everything that you set the output that you will read on the entry.  I don't know what you do with a relay.

  • Raising an event based on digital input? Treatment of a condition of emergency stop

    I'm working on a test sequence into LabVIEW.  I have a security which I am followed by a digital input the relay status, and I would like to pass to my failed state that I am in a State of emergency.  (In my case, this happens when a barrier is broken or emergency push button is pressed).

    It would be easy to do if I could use a digital input to trigger an event.  However, this doesn't seem to be possible.  I tried bind my digital input to a control, and then follow the State of the control as an event, but that doesn't seem to work.

    My main problem is that I can be in one of the stages of test 5 seconds approximately.  So far, I have not found a way to out or interrupt this step if my digital input changes state.  I can get it to transition to the failed state after the step in progress, but I want that it to transition immediately when the safety relay is broken.

    I've attached a picture that shows the basic structure of my program.  The actual program is much more complicated, so I hope this is enough information to get started.  I have stops in each loop attached together with the help of a subvi, which basically returns a Boolean TRUE if you press the 'stop' on the operator interface (it is one of the events of my structure of the event).

    It seems that it would be a fairly common situation that there must be some answer I'm missing.  Can anyone help? Thanks in advance...

    You need (somewhere) a loop that monitors the digital status and can detect the transition Fail.  The timing of this loop of 'surveillance' apply to how fast you can respond to failure.

    But now you need to trigger an event when this happens.  When I started programming in LabVIEW, I learned on the events of signs of value that could trigger programmatically a value indicator has changed.  However, a few years later I learned the user events, a more flexible method for generation "software interrupts' who have a number of advantages over value of signage.

    I don't know if you are looking for using LabVIEW or LabVIEW examples user events you'll find a good explanation for how to use these (use the Help Index, and then type user name).

    Bob Schor

  • Digital inputs only noisy when the laptop is plugged

    I had problems with loops of Earth and power supplies for laptop in the past.  But it is the first time I got it so wrong that it makes the digital inputs which are both related to the ground and the debounced software cannot be used.

    It is NOT material OR.  It's a DT9816 of data translation, a USB DAQ Multifunction with small budget.   The laptop with the problem is a refurbished Dell, with a very obvious not Dell PSU who throws to the top of the warning in the BIOS and scales back from the processor.  (Danger Will Robinson!)

    The problem with the digital entries shows only upward on the Dell when it is plugged into a power outlet.  On all other machines and with the printer unplugged Dell, digital inputs floating.  But those that I have attached to the Earth is rock solid and work very well.

    What surprises me is more than the noise is so bad that even tied to the ground with a half second debounce, I get always false triggers.  I have not brought to power, but considering that it sounds really loud, I suspect that it looks pretty bad.

    I think I'll try a powered USB hub.  If this does not work, then I think that the customer will have to replace the power supply on the laptop.

    However, I was surprised.  I used a lot of USB DAQ hardware, and it's the first time I've never seen a problem like this.  The NI USB 6002 I tested on this same laptop does not seem to show the same problems.  Even if it is true that this is a different software and the test was brief.

    I'm curious to know if other developers have found something similar in the past.

    I can confirm that using a USB hub external powered eliminated the problem of noise in the original post.

    Interesting things.  I had not seen this before.  Now, I wish I had again the NI DAQ USB I had here last week so I could test that.

    Looks like I'll use a hub powered on this project.  But I think I will recommend always replace this power.  Although a lot of noise coming from the power supply, probably isn't good for nothing plugged it... or even sitting near him.

  • Problem with digital I/o read and write in CVI

    I have a PXI with PXI 6225 Renault installed box. For some uses, I wired 4 lines of digital port 0

    for its 4 top lines so that the output digital on bottom lines can be read as a digital input on the top lines.

    In the CVI program I have set up two input and output of tasks as follows:

    Enter task:

    DAQmxCreateDIChan (digitalInputTask, "PXI1Slot5/port0 / line4:7","InputLines", DAQmx_Val_ChanForAllLines ");

    DAQmxCfgSampClkTiming (digitalInputTask, ' AI/SampleClock ", 4000, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 2000" ");

    Output task:

    DAQmxCreateDOChan (digitalOutputTask, "PXI1Slot5/port0 / line0:3","OutputLines", DAQmx_Val_ChanForAllLines ");

    DAQmxCfgSampClkTiming(digitalOutputTask,"ai/SampleClock", 4000, DAQmx_Val_Rising,DAQmx_Val_ContSamps, 2000));

    DAQmxCfgOutputBuffer (digitalOutputTask, 2000);

    I also started a task of analog input to ensure that the analog "IA/SampleClock" sample clock is running, and I check

    as I interpret the correct analog data of my analog lines.

    Here's the problem:

    I write 2000 identical samples of zero for the 4 lines (port0/$line0... (3) with the following command:

    DAQmxWriteDigitalU32 (digitalOutputTask, 2000, 1, 10, DAQmx_Val_GroupByChannel, sampleArray, & writing, NULL);

    After a while, I try to read the 4 lines (port0/4... (7) using the:

    DAQmxReadDigitalU32 (digitalInputTask, 2000, 10, DAQmx_Val_GroupByChannel, scanArray, 2000, & read_num, NULL);

    but the values returned in scanArray are nil!

    If I replace the digitalInputTask by digitalOutputTask in the above function call, I get the good samples rewritten

    (do not know how the 4 lines below that are configured in output mode can be read back! could it be just read buffer?)

    I don't know that the hardware configuration is correct, because when I try to emulate this feature in Labview, it works.

    (I use an output data acquisition assistant to write down the 4 lines of port 0, using a digital wave of entry, then)

    top reading 4 lines with the help of one Assistant DAQ to enter a digital waveform VI.

    In another test, I have 4 lines below in CVI, put on stop my CVI program, start a simple Labview VI to read from

    upper 4 lines and I can see the values I just write in CVI).

    Any idea what could be causing DAQmxReadDigitalU32 to read only zeros in CVI?

    I compared my settings in CVI with parameters DAQ assistant in Labview and tried to make them identical, but nothing helped.

    Thank you

    Try to use these examples to see if you can read and write in CVI

  • A voltage divider will be enough to read a 28V pulse in NOR-6251 digital input ports?

    Hi all

    I am a scientist life sciences that attempts to read a 28V 4.2mA pulse signal sent from my operative box animals in my NOR-6251.

    Sounds like a voltage divider should do the job. But I would be aware of anything else that my card OR not to burn? And should I be concerned about the current entry in the map OR?

    Thanks for your help!

    Hello

    Research on page 7 and 8 of the Datasheet of NOR-6251 , it shows that the maximum voltage is 5.25V, so use a voltage divider to make 28V up to 5V and you should have no problem providing you can guarantee your 28V source will always be to 28V or less and your resistances are fairly accurate. Under no circumstances should provide you more 5.25V to the digital input.

    The only concern you have on current is that the resistance divider is not affected by the impedance of the digital input which is little likely (datasheet says max 250uA), so if you use resistors around the range of 5 to 50 k, you should be fine. Also, be sure your part of wiring resistance as if she had the wrong way, you will have a great chance to break the map!

    I hope this helps!

  • Question of the digital input USB-6009

    Hello

    I use USB-6009. I have problem in Input.I digital did not connect anything on all channels. But all of the DI/O channels generate 5 volts. And I tested the DI/operating system in the Test Panel also. All digital inputs are high. How I use it? Please suggest me the solution.

    You're the one who said it was generating 5V. And I said that a fine should be detected as a logic one. Connect a gnd input.

    When it starts, all of the default value of I/O at the entrances.

Maybe you are looking for

  • How can I remove my name from the top right of the screen. I have a 2015 13 "MacBook Pro running 10.11.4

    How can I remove my name from the top right of the screen. I have a 2015 13 "MacBook Pro running 10.11.4

  • Secondary DNS server

    Y at - it a secondary IPv4 DNS server and if so, where can I find it? I looked in the Networkcentre and he's not here.

  • Latitude 7470 no sound

    I just installed windows 7 on this laptop computer and all devices in Device Manager are installed and updated but I have no sound in windows. The speaker has a red X on it and says "no audio output device is installed". I downloaded and installed th

  • Force10 S60 Factory Reset question

    Hi all As the title says, I have a S60 Force10 that I need to restore factory settings, but none to the documentation I found so far has worked.  When I tension, rather than get the menu "Select an option" normal, it messages "submarine 1.3.4" and ru

  • I want to give a permanent Player ID removable hard drive

    I have several removable hard drives. What I want to do is to put it up so that when I plug a drive in the computer, it will use a drive letter of my choice, not what drive letter is free. Example; Removable disk ID 1 would drive X: 2 = y and so on.