USB-6210 analog in, the same channel, but the readings of two orders of magnitude different

LV 2014

Windows 7 Professional

64 bit

NEITHER USB-6210

The vi takes two samples from the 6210 analog in, ch 0.

Front photo shows the entrance of the canal is the same, but the two readings are 10 ^ difference size 5.

There is a delay of one second between readings and a digital output goes high to low.

Vi refinging admitted that she needs.

VI joint are saved as version of 2014

and the version of 2013, respectively.

Well, that would be because you wrote a bug.

Change this to AI tension!

And stop writing bugs

Tags: NI Software

Similar Questions

  • The streaming of multiple channels directly to CSV USB-6210?

    I would like to stream up to 16 channels of data to a CSV file. My sample rate can vary from a file in a file, but I can reach 1 kHz. I understand the disadvantage of using text rather than PDM or binary files, but I have to be able to read these files later with programs such as Excel (Excel 2007 can make 1 million points).

    I have no trouble writing to TDMS files as seems very straighforward. I wonder though, it would be more efficient to use the TDMS files as the data are acquired and then after I stop, read the PDM and convert to CSV or just directly save to CSV? I only say this because I don't know if Labview can broadcast on a text or CSV file at 1 kHz.

    The scenario. The user will begin acquisition (using the USB-6210) to start playback 16 channels, applying multipliers for some data, and then send to a drive. Don't worry about the file size, the operator will be told that if it samples fast it must limit its total sample time. He has the ability to run slower to achieve longer sampling frequencies.
    Bottom line is I want good data for all 16 channels timestamped. No header information, nothing other than data raw beginning to end.

    I've seen several posts where the notice has been using TDMS files. Yet once again, I am not opposed to that, but I need to end up with text files.

    Jeff

    LabVIEW can handle this, if you do it right.

    1. If you are not already, use the design data of producer/consumer model.  It should be a template provided with LabVIEW.  This will allow you to take continuous data because your data treatment/backup of the routines take place in a separate thread.  If the hard data recording longer than reading the data, LabVIEW will keep only the size of the queue more and more with new data and I hope that you will not run out of memory system.

    2 write. you data in "chunks".  If you expect to write each data point to the disk as soon as it is available so that will probably be very tax on performance due to the excessive amount of 'read/write' header to your disk controller information and other things.  It is better to save 1000 samples at once, for example.  This way you are 'hit"your disc 10 times per second instead of 1000 times per second.

    3 ASCII files are very large, but I too tend to use them due to their convienance.  If you think about it, a 32-bit value can be "12332.0123" which in the ascii code is rather 80-bit (1 byte per character, 8 bits per byte, 10 characters is 80 bits or more than twice the amount if stored as a number 32-bit floating point).  It is therefore logical that if you have problems with performance (even after the application of 1 and 2) you write to a binary file.  Then, you can easily write a program that reads the binary file and writes a text file.

    4. If your computer has enough memory, you could put everything in memory and save it in a file at the end of the data collection.  You will need to add more controls and other things if you were writing this LabVIEW application for someone else.

  • I need help to change a VI of the NI PXI-1042 q to USB-6210

    Hi all.  This is my first post, and I apologize in advance if it is in the wrong place or is not suitable... I was instructed to come here to help.

    I'm working on the evolution of a VI that works perfectly with an NI PXI-1042 q on a much smaller unit, the USB-6210.  Supposedly the USB-6210 can handle input/output same I need (a read analog at 30 kHz, 2 outputs digital input, written at 10 kHz), however I am having a little trouble to make it work properly.  The exits seem to go where they are supposed to, but the new system is orders of magnitude slower than the original, and for the system, I use this is unacceptable.

    I'm sure I'm doing something wrong, but I'm about as new to the LabView you can get, so I have no idea where to start.  Any help would be appreciated.

    More info you might need:

    LabVIEW 2010

    The VI is attached.

    Respectfully,.

    Emrys Maier

    University of Texas at Arlington Research Institute

    Research Assistant

    The device is unable to produce the frequency required by the output digital, but the outings of the counter do it perfectly.

    Emrys-

  • Clock and hw external trigger with USB-6210 on Linux with NOR-DAQmx Base?

    I have two devices USB-6210 I need to synchronize so that they both collect data exactly at the same time. I was told by support OR I can send the clock off Dev1/PFI4 and have the two USB-6210 s read the clock in through their own PFI0. I also want to trigger data collected for each device by sending a trigger off Dev1/PFI6 and have two devices to receive the signal on PFI2.

    All my attempts to try this are filled with error messages and my research online seem to say that's not possible with USB devices on NOR-DAQmx Base 3.4.0f2 on Linux.

    I "ve tried using example AI programs and those who do not seem to work either for external clocks. Here is the code I tried:

    #include "NIDAQmxBase.h"#include 
    
    #define DAQmxErrChk(functionCall) { if( DAQmxFailed(error=(functionCall)) ) { goto Error; } }
    
    int main(void){    // Task parameters    int32       error = 0;    TaskHandle  taskHandle = 0;    char        errBuff[2048]={'\0'};    int32       i;
    
        // Channel parameters    char        chan[] = "Dev1/ai0";    float64     min = -10.0;    float64     max = 10.0;
    
        // Timing parameters    char        clockSource[] = "/Dev1/PFI7";    uInt64      samplesPerChan = 1000;    float64     sampleRate = 10000.0;
    
        // Data read parameters    #define     bufferSize (uInt32)1000    float64     data[bufferSize];    int32       pointsToRead = bufferSize;    int32       pointsRead;    float64     timeout = 10.0;
    
    printf("Calling CreateTask...\n");    DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));printf("Calling CreateAIVoltageChan...\n");    DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_Cfg_Default,min,max,DAQmx_Val_Volts,NULL));printf("Calling CfgSampleClkTiming...\n");    DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan));printf("Calling StartTask...\n");    DAQmxErrChk (DAQmxBaseStartTask(taskHandle));printf("Calling ReadAnalogF64\n");    DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByChannel,data,bufferSize,&pointsRead,NULL));
    
        printf ("Acquired %d samples\n", pointsRead);
    
        // Just print out the first 10 points    for (i = 0; i < 10; ++i)        printf ("data[%d] = %f\n", i, data[i]);
    
    Error:    if( DAQmxFailed(error) )        DAQmxBaseGetExtendedErrorInfo(errBuff,2048);    if(taskHandle != 0) {        DAQmxBaseStopTask (taskHandle);        DAQmxBaseClearTask (taskHandle);    }    if( DAQmxFailed(error) )       printf ("DAQmxBase Error %d: %s\n", error, errBuff);    return 0;}
    

    When I run the resulting program, I see this:

    $. / acquireNScans-ExtClk
    The CreateTask call...
    Call for CreateAIVoltageChan...
    Call for CfgSampleClkTiming...
    Error-89136 DAQmxBase: route specified cannot be satisfied, because the hardware does not support it.

    For example, a clock and a trigger can be imported via one of the PFI lines by using a USB-6210 on Linux with NOR-DAQmx Base? A clock and a trigger exportable via one of the PFI lines?

    If so, does anyone have the code example illustrating how to do this, or can you at least tell me the names of the lines ("PFI0/Dev1" or other) so I can try again?

    Clues or suggestions would be helpful.

    Thank you

    -Tom

    The clockSource in the example specifies an output rather than an input channel channel. Change source "/ Dev1 / PFI0" solved the problem.

    Please close this post.

  • NEITHER USB-6210 - the analog ground-sharing?

    Dear gentlemen/ladies,

    I use NI USB-6210 Council and I have four different devices that I need to join in. The problem is that I have to measure all these four analog signals in LabView with the referenced Single-End Mode, which means that I have four different pins to connect in the same slot of analog ground.

    So, I would appreciate ideas on how to do it. Is it possible to create more analog grounds by software, for example? Or is there an electric simple component that I can use easily share location on the ground for several pins without causing interference to signals?

    I thank very you much for your response, already in advance.

    (My apologies if this forum was not one to correct for this post).

    Hi Stephanie,.

    You can't create more analog designs. On other devices, there are several Earth pins, but they are connected all in-house.

    You simply link them all to pin GND AI because it is what it is.

    I hope this helps.

    Best regards

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

  • When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end

    When I open a link irc with a string name that contains "~" at the end, firefox (14.0.1) opens the same channel name but with "7%" instead of "~" at the end
    http://img835.imageshack.us/img835/2856/clipboard05nq.jpg

    I can't open the image, but I can say something in general about the tilde.

    The tilde "~" is an unreserved character and that's why it can be replaced by its form encoded percentage '% 7' inside a URI without changing the meaning. See

    http://en.Wikipedia.org/wiki/percent-encoding

    According to article 2.3 of RFC3986 we should prefer the encrypted form so this behavior seems to be somewhat outdated.

  • How can USB-6210 I synchronize two channels of ctr

    Hello

    I use LV 8.5.1 and NI USB-6210. A small application I want to generate two different impulses with synchronization but simple starting point. When I configure a task with two channels the second channel configured always starts a ms later. But, if I configure both channels in terms of frequency, they start synchronously.

    My idea is bad in general? The DAQmx part is fixed.

    Thanks in advance

    Hi there, too.

    the release of the finite pulse trains, to two meters for each task. Therefore, your application will be the first impulse using two output counters and then to exit the second impulse using the two counters.

    Like the USB-6210 don't not have outputs DIO correlated, you'll generate two infinite pulse trains (which can be started at the same time throug a trigger of arms) that you explicitly stop before the start of the second pulse (using the DAQmx abort task from a parallel loop), or upgrade your hardware at least a USB-622 x card series and a digital output model... Alternatively, you can use the PCI-6602 counter card and use a counter to Gate two others doing an infinite impulse train uses a relaxing break...

    Synchronization of two meter in NOR-DAQmx tasks
    http://digital.NI.com/public.nsf/allkb/BB7AE2D12BB04CBE862574FA005D3826?OpenDocument

    Using a counter to generate a redeclenchables Train digital pulses with a PCI-6602 and DAQmx
    http://digital.NI.com/public.nsf/allkb/4A9AF19480E50C6D862571B70058142A?OpenDocument

    Several counters on the same card with a single trigger pulse
    http://digital.NI.com/public.nsf/WebSearch/CE99A0B2A9048A2A86256C630062F550?OpenDocument

    Best regards
    Sebastian

  • Can the USB-6210 output signal square 10 kHz?

    I scoured the internet/forums to find out the maximum data rate for a USB-6210, but nothing helped.  I know that the device can handle 250 kech. / s, but this does not appear to be linked to output speed.

    By experimentation, I estimated the maximum rate 2500 kbps, but I fear that this figure may be inaccurate because I don't really know what I'm doing.

    I would like to know:
    (a) is the USB-6210 is able to produce a square wave of 10 kHz?

    (b) if not, is there a USB DAQ, which is?

    Respectfully,.

    Emrys Maier

    University of Texas at Arlington Research Institute

    Research Assistant

    Let's see here.  No analog outputs.  Only software timed DIO, so it does not work.  But there are 2 meters which should be able to output a square wave at the speed you need.  I have not done it myself, but if you use the finder to the example and looking for something like 'pulse train' or 'exit meter', you should find some good examples of how to do it.

  • Reconciliation of analog output NI USB-6210

    Using Labview, I am currently using an NI USB-6210 to produce a signal that a BOP of Kepco 50-2 M feeding programs. Unfortunately, this device NOR produced no analog voltage. Is it possible that I can use the digital output or against the unit OR to do something that approximates an analog output? I need a way to get the power output voltage has the supply to increase gradually in a predefined way. I only work with a couple of volts because of sensitive equipment, so accuracy is important.

    I don't have access to the program at the moment so I don't know what version of Labview that I use, but I'll be able to check in a few hours.

    Its probably not worth to use this device in a method not scheduled.  Cheeper with analog outputs are available.

    And don't forget the 4886 BIT card that can be purchased and hooked to your diet, there are even for using RS232 or GPIB device drivers to control the supply to

  • Open the NI USB-6210 collector

    Hello

    It's just a small matter. I have two Renault uses a NI USB 6009 and the USB-6210. I use the 6009 as outputs open collector. I can't find any information on collector/drain open for the 6210.

    This configuration can be configured?

    Thank you

    Cristian

    Ibanez,

    The digital output channels on the USB-6210 are sourcing outputs.  This module does not change this setting in the software.

    Good luck with the rest of your application!

  • What is the resolution for USB-6210 for positive ranges of entry?

    Hello

    I use USB-6210 to sample different types of sensors and each has its own range of values. I have two questions:

    (a) what are the fixed beaches of USB-6210 where most suitable is chosen automatically depending on the settings of user intput scope? They are to +/-0.2, +/-1, +/-5 and + /-10?

    (b) I know that if I select + / 10 as the range and then I will get the resoultion of 20 /(2^16), but what happens if I want to the positive range only? So if my sensor gives values between [0.10] and data acquisition would choose the + / 10 range. Then could get a resolution higher than 20 /(2^16) and how?

    Thank you.

    (a) Yes, they are the ranges listed in the manual

    (b) No, a fixed range means a fixed range. You cannot change them.

  • iP8720 - wired USB and wifi at the same time?

    I sought an answer to this but have not found one that I really understand.  An iP87290 can be used as a wired printer and printer wifi simultaneously?

    I put up as a USB Wired printer on the office a year ago.  Works very well.  Now my wife wants to know if she can print on it from his laptop.  I have the wifi set up in the House and she often logs from the living room... as I have from my android tablet. What we do when she wants to print something, it is transferred to an SD card, then put the SD card in the office and printing from it.  Aging.  It would be much better if she could just walk into the 'office' and turn the printer on and print directly from his laptop.  I like to keep the printer connected to the desktop also.

    Thank you.

    Hi Muhammed.

    You can connect your PIXMA iP8720 to a computer with a USB cable and also use wireless with other computers and devices at the same time.

  • Record media of conflict on the same channel Center

    Hello

    I use windows vista ultimate.

    In windows media center, I have planned 2 programs on the same channel, "koppen xl" and "slimste mens '.
    A program is broadcast just after another on the same channel.
    ->, They are automatically on demand because I recorded the series.
    A weird error tells me that there is a conflict of record between these 2, how is this possible?

    Normally, a conflict would exist if I want to record 2 programs that are broadcast at the same time on different channels...
    But this is crazy.

    Therefore, I am not able to resolve the conflict record!

    Screenshots:

    There must be a bug in windows media center.
    Thank you in advance.
    Hello
     
    Follow the steps in the article to resolve the problem.
     
    (Valid also for Windows Vista)

    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • Help! Need a script to automatically open files with the same name but in another location.

    Good morning friends,

    So for my work, I need a script to open files with the same name but located in a different folder. But since I'm a total noob when it comes to programming, I can't understand how do. That's what I have in mind:

    -J' I manually open an image.

    -The script will look for a file with the same name in another folder that I've specified.

    -The script will then select the channel CMYK of the second file and copy and paste it into the first file.

    -The second file is then closed without saving the changes.

    I have problems with the part where the script searches for a file with the same name as the opened file. I would really appreciate help. Thanks in advance.

    If (app.documents.length > 0) {}

    myDocument var = app.activeDocument;

    var Nomdoc = myDocument.name;

    try {var basename = docName.match (/(.*)-.)} [ ^\.] +$/)[1]}

    catch (e) {var basename = thedoc.name};

    var path = / * path of folder to insert as a string here * / + ' / ' + base name + / * insert file extension, including the period as a string here * /;

    If (queue (path) .exists == true) {var otherDocument = app.open (File (path))};

    };

Maybe you are looking for