Reduce the period of sampling of the digital inputs of NOR-USB-6009

Hello

I need to read a line of digital input in the NI USB-6009 using NOR Express 2013 Signal box. I selected 1 sample (upon request) as acquisition mode. I need to define a smaller sampling period as 1 MS, but it gives error too short sampling period: "the current sampling period is too short.  Please specify a longer sampling period. ».
I do not understand the reason for it and a way to slove this.

Any help would be greatly appreciated!

Thank you!!

The 6009 doesn't have a clock that you can set for a sampling period. According to the specifications, the digital I/o is software programmed - sample on request you use now. I'm not at all familiar with SignalExpress but I don't think that you can find near a reliable khz sampling frequency on Windows or any other os non-deterministic.

Tags: NI Hardware

Similar Questions

  • 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.

  • simultaneous monitoring of the digital input lines when executing digital writing tasks

    I'm writing a multithreaded application in C on Windows 7, using the 9.6 DAQmx API and device USB-6509. This requires that we constantly monitor several lines on the 6509 for entry, digital using the change of the device detection feature. You must also write the digital output without having to stop monitoring the input rows. It is very important that the input rows be monitored continuously for the duration of the project.

    In the DAQmx manual reading, it seems that it is impossible to make a digital reading as well as a digital writing occurs, even if these tasks are performed in different threads. (The same I understand, that it is impossible to have several tasks of digital entry running simultaneously.)

    It seems that it would be possible to launch the task for reading (configured with the change detection), to pause playback, start the writing task, pause the task of writing, and then re - start the task of reading. But - and this is the important part - for the duration of the writing task is running, is it possible to configure it to the task of reading will always monitor the lines, even if it's just stores the data in the buffer for these periods? The key is that the data will be lost.

    Thank you

    Danielle

    Each channel is independent. If you can get the input data that you export a value. You need not make a break each task. The two tasks are parallel.

  • update cluster when the digital input

    Dear all,

    I have a cluster with digital controls and control chain. How can I change the value of the digital command when you type.

    Thank you

    Please see attach file (using LV2015)

    Hi sukichan,

    Check out the related code.

  • 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.

  • the value of the digital inputs to change the field

    Hi all

    I have an edit field that has a digital text filter that only accepts phone numbers. Users have the choice to load these numbers from address book or direct entry.

    I used the digital filter to allow only numbers. .

    But when I tried to load these address book.  with editField.setText (phoneNum); It is to throw IllegalArgumentException.

    How to set digital inputs to the editField?

    Hi thanks for all your entries!

    My issued are resolved. I used BasicEditField aulieude EditField to solve this problem. the basicedit field allows the digital text and it solved the problem.

    Thanks for all your interest...

  • Prevent the digital input

    Hello

    How can I avoid digital input from the user in a form (text) PDF field?

    I want the user to be able to enter any character, except 0,1,2,3,4,5,6,7,8, and 9

    Without displaying an alert or a sound, I just need any input digital diseable.

    Thank you.

    Enter this code in the script custom typing your text field:

    If (event.change) = event.rc (/ \d/.test(event.change)) == false;

  • Digital and analog inputs simultaneously - NI USB-6009 and NI USB-6212 - ANSI C

    Hello

    I'm reading at all times and at the same time analog and digital inputs. Digital and analog samples must be sampled at the same clock and acquisition should be started (triggered?) at the same time (I don't want, after some time, analog reception more digital samples - the opposite is also true).

    I found an example (in C source code) "National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Synchronization\Multi-Function\ContAI-Read dig Chan" and tried to run with two USB cards: NI USB-6009 and NI USB-6212. Unfortunately, the two results by mistake, as described below:

    DAQmx error: the requested value is not supported for this property value.
    Property: DAQmx_SampTimingType
    You asked: DAQmx_Val_SampClk
    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<1>

    State code:-200077
    End of the program, press the Enter key to exit

    -Is it possible sync analog and digital acquisition in the paintings?

    -If so, how?

    Thank you

    Hello tcbusatta,

    Two of these modules, USB = 6008 and USB-6212, support only timed software inputs and digital outputs.  This means that you cannot define material timing (like finished sampling or continuous) for these modules.  Digital lines can be retrieved or written once to each call DAQmx read.

    This means that you will not be able to get any type of synchronization tight between the analogue and digital channels.  You will need a Board such as the NI USB-6341 in order to synchronize the AI and DI closely.

  • Control digital I / O on USB-6009-OEM

    Hello.

    I use a USB-6009 OEM in a project I'm working on that.

    And I have a quick question regarding controlling the i / O on the acquisition of data.

    Currently, to be able to control each IO individually, I open a task for each e/s to the beginning of the program and make them go away in a cluster for later use.  But my VI of open task begins to grow significantly in size.  So I'm curious to know if it is really the best way to do it.  Open a task for each e/s, the only way to do it, if you want to be able to write on a PIN without messing with the values on the other pins on the port?

    BR,

    Øystein Johnsen.

    Hey Cath,

    No, you need not read any port values.

    You must keep track of them in your VI in storing the previous values in a shift register!

  • Read the digital input, update display counter, email me info counter file

    Hello guys,.

    I would like to create a CVI program to read a digital line connected to an external switch. View the number of times that the switch has been pressed and save the data to a csv file. I'm eble to create some tasks of DAQmax project and I also created a text box (do not know if I have to use a textbox) to display the number of times is based on the switch. I just can't understand how to write update the text box, or save to a file. Any help will be greatly appreciated.

    -Rookie CVI.

    Have you tried the example program? This will show you the necessary elements which must be added to the project. In particular, you will not find any item in the menu Instrument linked to the Commission and no component in the project tree (well, actually samples use NOR DAQmx IO control instrument, but it's just to populate the controls in the UI for demonstration purposes, normally programs do not have need of these components to work).

  • How to count the digital inputs of the sensor

    IImsmd MicrosoftInternetExplorer4 normal 0

    I use a PCI 6221 OR-DAQ device and I want to count the total number of times that a sensor is activated. The sensor is connected to a digital line.

    Tadhg salvation,

    If everything you want to count the number of times where the sensor is activate, the best way to ensure this is to use a line from the meter, in the case of the 6221 try pin 37, Cnt 0 Src/PFI8. And take a look at the example of counting code digital Events.vi that you can find from the Finder example under Hardware Input and Output > DAQmx > Counter measures > County Digital events.

    Alternatively, if you use a digital line, just read the line, and if the sample is true variable increment held in one register at offset, similar to the Count.vi DI attached

    I hope this helps.

  • 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.

  • Limitation of the digital inputs in full only

    Hello

    I'm using Labview 8.5.1 and have an entry digital 'button' on my front. How can I limit what the value that is sent to the block diagram is an integer only? I put the display on the Panel before to not show any decimal places but he always sends a number to six decimal places for the block diagram, but my program needs an integer value only.

    Thanks for the help

    Hi thomas_p,.

    change the representation of an integer. Right-click on the control in the blockdiagram, then select 'representation '. Select a type of integer, maybe I32.

    Mike

  • How to use the digital inputs? (PCI-6010)

    Hello

    I have a PCI-6010 card and I tried to use a pulse generator in one of the channels of entry without success, I m using panels of 'Test' in MAX.

    How can I configure dthe hardware to make it work?

    Thank you

    APOs instalar a ultima versão labview refazer tudo bem mouse conexoes as w.

    Any forma, obrigado pela a definition.

  • How to implement "inferior to" by choosing functions based on the digital inputs

    I have a 1 d table and I would like to divide what is happening with different values

    I made sure the table shows an element, with a scroll bar to change the item

    The picture is random

    When the element is< 512="" i="" want="" a="" to="">

    When the element is 512 > I want B to happen

    I played with the structure of the case, but what confuses me, is the least above and below that fucntion, its release is a Boolean

    If it changes anything I borrowed the output to a multiply functino

    Thank you!

    Choose a.  If the value is less than 512, then the Boolean value is True.  Put the code for A in the case of true.  Otherwise, it is wrong to put the code for B in the case of false.

    One thing, you're not telling it what to do if the value is equal to 512.  Do you want A or B?

    I recommend you watch the LabVIEW tutorials online
    LabVIEW Introduction course - 3 hours
    LabVIEW Introduction course - 6 hours

Maybe you are looking for