With the NI USB-6009 analog input lag

Hello

I try to acquire analog signals with NI USB 6009 using LabVIEW. (The signal is 50 Hz of the functional generator).

However, the acquired singnal has dynamic splitters, which is NOT observed by my oscilloscope.

I have no idea why this phase shift occurs.

Any information is welcome. Thank you for reading.

An image file will not help. Post your real VI. If Firefox does not work, use explore or Chrome to fix your VI (s)!

You have here a Subvi, I don't see what's inside and how it is configured. In addition, this while loop is ridiculous: there is no button to stop him running. Never use the red button to abandon for a normal shutdown of a VI!

Why you have configured NChan NSample? Measure a unique signal, Yes? For example, use 1 channel only.

Edit: why do not you play first with an example given, delivered with LabVIEW?

Your LabVIEW, go to the Help menu--> find--> material and output examples--> DAQmx--> entry--> and open 'Input.VI - constant tension!

This VI allows to enjoy your analog signal.

Tags: NI Software

Similar Questions

  • USB-6211: analog input signal affecting another of the same map AI

    Hello

    I use the DAQ-nor-6211 map and DAQmx features to read a hammer and a signal of the accelerometer and then use other LabView functions to make the FFT of these analog input signals. However, it seems that the analog inputs where the hammer and the accelerometer are connected generate a kind of noise or influence in other entries of this data that is not connected to any other sensor acquisition board.

    I've had different experiences in order to check if the problem is with reading the card: put the accelerometer and hit the dog in another table where the DAQ card table was located (to avoid the vibrations on the map and a possible noise), ai1 entry was logged on the differential mode on the dog and the ai4 of entry is connected to the output (z axis) of the accelerometer. The other 2 ai2 and ai3, entries that can also be read by my LabView program, are open (i. e., any other sensor is connected to the card). When the structure where the accelerometer is located is struck by the hammer, the signal of ai2 ("x axis" seen in the first attached document) has a curve (on the time domain) which initialize almost at the same time that the hammer and the a3 of entry has a weak signal, but with the swing as well as the signal of ai4. The document "hammer ai1 + z_axis connected_ _x_axis disconnected ai2 + y_axis ai3 ai4" images that I captured the chart created in LabView. On these graphs, it is possible to check on the FFT the ai3 signal and ai4 has the same behavior (with different intensities), and enlarged figure of time domain image, we can see that the signal of ai2 increase almost at the same time of the signal of the hammer (ai1). The signal picked up by the sensors are probably creating a sort of noise on open entries ai2 and ai3.

    Another experiment was conducted to check if the signal from a single entry that may affect the signal read from each other near the entrances: the DAQmx task Create channel had a physical channel has changed: ai3 entry has been modified by ai7 (maintain the same connection mode: differential), and the results are visible on the second attached document. In the graphs obtained in this experiment, it seems that the entrance of the hammer (ai1) affects the signal of input ai2 and ai7, which are not connected. And the ai4 signal does not seem to influence the other inputs, because he has a different curve on the graph of the FFT.

    The same experiment was conducted using the CSR connection (change threads and create the DAQmx Channel Configuration), but the results were the same as those found using differential connection.

    Finally, if the output of the accelerometer is connected on the ai2, the signal of the other open entries ai4 and ai7 seem to be affected by the signal of the accelerometer on ai2 (last document attached).

    Could you tell me if the problem I encounter is caused by the DAQ card with this information that I gave to you? And if the answer is Yes, do you know if there is a way to avoid this noise create in one entry on the other hand, it please?

    Thank you

    Maybe Ghosting or crosstalk? Just an idea.

  • Control of Stepper Motor with case NI USB-6009

    Hi all

    I am currently creating a movement control system with a double movement actuator

    http://www.haydonkerk.com/LinearActuatorProducts/StepperMotorLinearActuators/DualMotionLinearActuato...

    and two bipolar chopper drives (see table), which should power the motor. We already have a NI USB 6009 in our lab, so I was wondering if I could use it to send signals to the two pilots to control the speed and direction of each axis on the engine?

    Enclosed driver's manual indicates that input signals should be 0-5 V DC (TTL logic). I have been informed by the engine distributor that the 0-5 V DC TTL drivers required, the signals are analog. The NI USB-6009 manual reading, there are two 0-5 V analog outputs on the acquisition of data usb so I could provide two signals?

    There are often posted however similar problems, it is usually a digital signal NI6009/6009 sends the driver. Looking at the driver's manual, can someone tell if an analogue signals or required as I have said, I was misinformed or 0-5 v DC signal will be enough. I can get more in touch with the dealer if you have any questions you guys think I should ask him.

    Thanks in advance for any help! It is much appreciated.

    I looked in the manual and it doesn't seem to be very clear. I know that the USB-6009 case is capable of AO and DO, then you would be although it is. I could contact the Haydon Kerk support for more concrete details on the gap between what says the manual and what they told you.

  • Using the NI USB-6009 case to generate a 12VDC output and output current of 300mA

    Hello

    I use the OR-USB-6009 my power supply for a 12VDC with drive current of 300 solenoid my. Initially, I used a non reverse Op-amp circuit and Inverter circuit operational amplifier to get the + 12V and - 12V output but I could not get the current I required. Should I use a transistor?

    Please find attached photos. Any input would be appreciated.

    Thank you

    Adam

    Well, really depend on your piercing circuit.  But I used most systems use the transistor to set the voltage of the device to 0V.  So when your DIO is high, the output is actually 0V (low).  So using a converter chip, your release of the DIO will be sort of the output circuit.  If you get the right IC, then the inverter will give you also a few extra current to drive your transistor.

  • Apple Watch magnetic charging Dock is compatible with the adapter USB 12W power and if so, is the adaptor 12W shorten the charging time?

    Apple Watch magnetic charging Dock is compatible with the adapter USB 12W power and if so, is the adaptor 12W shorten the charging time?

    Yes and no.

  • Satellite M30X-129 loses connectivity with the external USB device

    I have a problem with my laptop that has regularly been do worse and I can handle is no longer!

    Whenever I work with external devices via USB ports (all kinds of devices but my external hard drive Smartdisk CrossFire and my iPod in particular), after a certain period of time (sometimes minutes, sometimes hours) the laptop loses connectivity with the device.

    If happens to be listening to the music, download photos from a camera or laptop computer for the ' net or sync of the iPod, the connection is cut off, turning off the device and I have to start all over again!

    I'm almost at the point of launch of the laptop by the window, so any help is most welcome.
    Thank you
    Abderrahman

    Hello

    This happens also with the external USB mouse?
    This occurs if the power adapter is plugged or only if the laptop running on battery?

    In-hubs properties > Device Manager USB root-> power management
    You will find the option called allow the computer to turn off this device to save power.

    I would recommend the brand and disable this option.

    Maybe it helps.

    By the way; When do you update the operating system? I think that it s there long time, perhaps some system files or registry entries are corrupted or a 3rd party application affect the USB functionality?

  • Using the DAQ USB-6009 meter and an analog input voltage at the same time.

    Hello

    Currently, I'm reading the two channels of voltage with the USB-6009. It happens that one of the channels is the output of a digital coder, and it would be much easier to use it directly to the PFIO entry that is defined as a counter. The problem I am facing right now, it's that I can't use the DAQ Assistant to use the analog voltage to a channel and the digital channel counter at the same time. Once I put the DAQ Assistant to read the input from analogue voltage, I won't be able to add analog inputs. And as I put the DAQ Assistant to use the PFIO as a counter, I can add more entries to read analog voltage is.

    I wonder if it is possible to solve this problem using the lower level data blocks? Another solution would be to read two channels in analog input voltage and that the use of Matlab to process data resulting from it, since I was not able to do the counting to work simultaneously with the acquisition in Labview to impulses.

    Hope you guys can help out me.

    Thanks in advance.

    Using a simple wizard of DAQ is incorrect. You need one to acquire analog inputs and one for the meter.

  • Problem with a digital output in the information of an analog input

    Hello

    I use a SCXI-1000DC module with a module of the SCXI-1600, SCXI-1531 module and SCXI-1163 module to receive an analog of an accelerometer signal and a digital signal.
    I claim that the accelerometer is constantly monitored, and the output is on when I want to, by an impulse that I comand in labview.
    I use a rate 25 k and a 12, 5K samples per channel on DAQmx Timing.

    I notice in DAQmx read, if I put a sample of hight by channel, the output is not there when I want to, and if I put a few samples per channel, I exit when I want to, but the program seems to be slow with the passage of time. I don't know how I can solve this problem!

    I'm sorry for my English, and I hope you can help me.

    Thank you

    Silvia

    Hello Silvia,.

    If you ask a larger number of samples, the labview diagram will stay longer in the DAQmx Read function, so the while loop runs slowly, and the digital output is updated less often.

    I suggest that you use 2 separate while loops: one for the analog input and the other for digital output, so that each loop might run at a different speed.

    Best regards

  • acquisition of USB-6009 2 inputs

    Hello

    I currently use a usb-6009 with labview 7.1 and DAQmx 8.1 to read the data in a file LVM to a sampling rate of 40 kHz.  Everything works perfectly when I read only one channel.  Problem is that I have to read 3 channels and when I put the DAQ assist to read 2 channels, max sampling rate is 24kHz, which is not enough for the problem.

    Then, I thought I could handle by reading just one channel at a time at 40 kHz (with digital input to determine which channel).  Is this possible?  When I put in place DAQ assistant with more channels, I can't select a sampling rate of 40 kHz.  I know that you cannot open several DAQ assistant for analog inputs, so I tried to solve this problem by creating a main program with subroutines, each using a DAQ passes, but still got the error: "the specified resource is reserved. The operation could not be performed as indicated. ».

    I tried to put in place without the DAQ Assistant, but had an error: specified is not valid or does not exist "(error code 200088) that seems to be a known an irreparable problem on labview 7.1." (also I guess I'm having the same error of the resource is reserved as I did in the DAQ assistant)

    Is it possible that I can put in place a program to read an analog input to 40 kHz on a channel, and then switch to another channel and do the same thing?

    Thank you

    Herman

    Of course, but you must stop and cancel the previous task before starting another. Obviously is that since you get this error.

  • Acquisition of vibration with the NI USB-9234 using the NIDaqMxBase library

    I have a NI USB-9162 linked to a NOR-9234 properly configured and installed under OpenSUSE 11.3. It's the output of ldaq:

    >lsdaq
    --------------------------------
    Detecting National Instruments DAQ Devices
    Found the following DAQ Devices:
    NI USB-9234: "Dev1"    (USB0::0x3923::0x72B5::0164852A::RAW)
    --------------------------------
    

    I'm developing a simple application to acquire the values of vibration of a project connected with an accelerometer.
    We start from the example of acquireNScans - AnlgStart.c of NIDaqMxBase 3.4.5 documentation.

    Unfortunately, the program fails and generates the following error:

    "DAQmxBase Error -200428: Value passed to the Task/Channels In control is invalid."
    

    Then I realize that the NI9234 doesn't support analog and digital triggers so I have decided to try with the acquire1Scan.c (a scan without triggering):

    int main(int argc, char *argv[])
    {
        // Task parameters
        int32       error = 0;
        TaskHandle  taskHandle = 0;
        char        errBuff[2048]={'\0'};
    
        // Channel parameters
        char        chan[] = "Dev1/ai0";
        float64     min = -10.0;
        float64     max = 10.0;
    
        // Timing parameters
        uInt64      samplesPerChan = 1;
    
        // Data read parameters
        float64     data;
        int32       pointsToRead = 1;
        int32       pointsRead;
        float64     timeout = 10.0;
    
        DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));
        DAQmxErrChk (DAQmxBaseStartTask(taskHandle));
        DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,&data,samplesPerChan,&pointsRead,NULL));
    
    printf ("Acquired reading: %f\n", data);
    

    Also this program fails and gives this error:

    DAQmxBase Error -200077: Requested value is not a supported value for this property. (Timing Mode)
    

    How can I get at least a single data value of the accelerometer of the device using the NIDaqMxBase API?

    Hi giaulo,

    The examples that you have tried to run are not compatible with your device.

    The 9234 does not support analog triggering, so examples of "acquireNScans" - AnlgStart.c do not work.

    He is also unable to make an acquisition of single point because is based on the architecture of delta-sigma ADC. Here is a knowledge base article explaining the limitation:

    KB 4SU94SH7: DSA Hardware Support a Point Acquisition?

    This is the reason why the "acquire1Scan.c" does not work.

    You will need run one example making an acquisition in the buffer. "acquireNScans.c" would be a good to watch. Be aware of all these examples, the default is +/-10V input range. The 9234 can only input +/-5V, so it will take a few changes. Also as you try to read an accelerometer, IEPE excitement is probably necessary. I've attached an example which is based on the example of "contAcquireNChan.c" that defines the range and allows the excitement for the device correctly.

  • remove the casing usb-6009 floating voltage

    Hello

    I created a VI that records 6 6 different battery voltages, and everything is fine, until I disconnected a battery and it stills sees about 1.4 volts. How can I remove this offset (?)

    It is present on the readings connected?

    Concerning

    Steven

    The USB-6009 case has a non-standard input circuit which ends in ~1.4 V through the ~ 144000 ohms. Consult the manual for a schematic representation.

    As long as your source has a much lower than the 144000 ohms impedance and can sink current (if the source voltage)< 1.4v),="" then="" you="" should="" be="" ok.=""  batteries,="" even="" nearly="" discharged,="" should="" not="" be="" a="">

    Lynn

  • What is the minimum response of analog input, through DSP online, output analog time?

    Hello experts!

    I want to know if it is possible to get a very quick response latency (~ 1 ms) sound recording (analog input), through online registration (DSP online), the presentation of his (analog output) processing, by using the DAQmx programming codes. My system of NEITHER includes NOR SMU 8135, SMU 6358 DAQ Multifunction controller and SMU 5412 arbitrary signal generator. I also have access to the latest version of Labview (2015 Version) software.

    My project is on auditory disturbances, which inovles record vocalizations, manipulating the recorded vocalziations and then present the manipulated vocalizations. My current idea of how to achieve this fact triggered output voltage after reading the input using DAQmx Read samples. DAQmx Read output is filtered online and then passed as input for the DAQmx writing for analog output. For purposes of illustration, examples of code are presented below. Note for simplisity, codes for the trigger part are not presented here. It's something to work in the future.

    My question here is If the idea above should be reaching ~ 1ms delay? Or I have to rely on a totally different programming module, the FPGA? I am very new to Labview so as to NEITHER. After reading some documentation on FPGA, I realized that my current hardware is unable to do so because I do not have the FPGA signals processing equipment. Am I wrong?

    Something might be important to mention, I'm tasting with network (approximately 16 microphones) microphones at very high sampling rate (250 kHz), which is technically very high speed. Natually, these records must be saved on hard drive. Here again, a single microphone is shown.

    I have two concerns that my current approach could achieve my goal.

    First, for the DAQmx Read function in step 2, I put the samples to be read as 1/10 of the sampling frequency. It's recommended by Labview and so necessary to avoid buffer overflow when a smaller number is used. However, my concern here associated with the latency of the answer is that it might already cause a delay of 100 ms response, i.e. the time to collect these samples before reading. Is this true?

    Secondly, every interaction while the loop takes at least a few tens of milliseconds (~ 30 ms). He is originally a State 30 late?

    Hey, I've never used or familiar with the hardware you have. So I can't help you there.

    On the side of RT, again once I don't know about your hardware, but I used NOR myRIO 1900, where he has a personality of high specific speed for the RT where I can acquire the kHz Audio @44 and process data. Based image processing is ultimately do the treatment on a wide range of audio data you have gathered through high sampling frequency and number number of samples as permitted by latency, please check this .

    I lost about 2 weeks to understand host-side does not work and another 2 weeks to understand the even side of RT does not work for online processing (real time). Then, finally now I'm working on FPGA, where the sampling rate is 250 kHz (of course shared by multiple channels).

    The complex thing with FPGA is coding, please check if the filter you want is given below as labview automatically generates some codes of some filters.

    Most of them will work in 1 SCTL IE if your target has 40 MHz clock algorithm will run in 25 ns. That's what I was looking for, I hope you

    See you soon... !

  • With the NI USB-6008 case error-200077

    I try to run the C program example with my NI USB-6008 data acquisition card. I am trying to run the example of "ContGen - ExtClk.c". I get the following error when I build the program:

    DAQmx error: the 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: DAQmx_SampTimingType

    Asked the value: DAQmx_Val_SampClk

    You can select: DAQmx_Val_OnDemand

    Task name: _unnamedTask<0>

    State code:-200077

    End of the program, press the Enter key to exit

    Thanks for any help.

    Have you done a search for this error code? As you can see on the care for the 6008, the analog output is only software timed, so you can select calendar on request. Your real update rate will vary a little, and according to specifications, have a maximum of 150 s/s.

  • I get BSOD with the key USB TV Tuner PX1211E-1TVD

    Hi all

    I just bought the model tuner TV USB Toshiba px1211e-1tvd and whenever I turn it on I get a blue screen error on my hp Pavilion dv6821el pc... dv6000 series.

    I tried to update the BIOS and the driver of my pc's display, but without results...

    The USB device is properly installed and the program (savvy tv) included with the cd as well, but I still get the Blue error screen...
    The operating system is Windows Vista...

    What can you suggest me to do folks?

    Please... I need help :-(

    Hello

    The BSOD appears usually due to a hardware problem problem or software commutabilite.
    I think in your case it s a software problem and I recommend updating the driver.

    The new driver could be found on the European driver Toshiba page in the Options area.
    On the driver page choose this:

    * Options-> Office Accessories based-> tuner TV USB hybrid TV Tuner Windows Vista 32 bit *.

    There you can find Savvy TV driver.

  • Implementation of multiple digital outputs with a box USB-6009

    Hi all

    I write the code to implement a USB-6009 multiple digital channels, digital outputs independent.  I have configured the function of "DAQmx create Channel" to create 'a channel for each line', but I can't understand how to access and control these channels separately.  Pointers would be greatly appreciated.

    Thank you!

    I thought about it.  Never mind.

Maybe you are looking for

  • Yahoo mail keeps giving me a temporary error 14

    This error occurs on the PC and the Mac. It happens to send, receive, compose, attachments, etc every day.

  • How install to reinstall Windows Vista without a disk on Ubuntu Linux (although I have a valid product key)?

    I have an Acer Aspire 3100 computer laptop comes with Windows Vista, I am not on the number of bits, sure that the processor in this system supports 64-bit operating systems. I was curious to know if there was a way for me to download Windows Vista f

  • Shut down Windows Vista HDMI

    Hi all Please can help: I was using my laptop HP Pavilion dv6000 for 12 months with HDMI through my TV, audio and video. During 3 days as soon as I plug cable HDMI computer hit the blue screen and the computer stops, restarts and you will be prompted

  • X61S-7667 C54 - Windows 7

    Is it not possible to install and run Windows 7 in this machine?

  • Create two point line

    Hello.I started using Oracle Spatial and must create a view get points of two associates and show a line connecting.I found many articles showing how to create lines of an array of points, but none explaining how to get a geometry of one table and on