I can here sample 9215 channels separately sometimes differ by a few FPGA ticks?

Howdy-

The image below is a raw illustration of my question.  I would like to individually explain the delay between excitation and response of 4 separate systems, each connected to a single channel of a 9263 (excitation) and a 9215 (response).  The minimum time of update on both modules is approximately 10 uSec, so I think it would work if I just wanted to read all channels to HAVE at the same time.  However, I did not yet understand internals of the 9215 that enough to know if I can taste the individual channels separated sometimes by a few ticks to FPGAS.

Thank you all, and have a great day.

Hi, BCRO,.

With the 9215, all separate channels separated from a/d converters, but still work in the same clock 100 kHz (10usec) that the module is limited to this sampling frequency.

So, in your case (thanks for the picture, by the way - it is always useful!), what will happen is that all four of these input channels of the 9215 will take place on the next loop cycle instead of staggered in one iteration of the loop.

For example, if you were to use a loop rate (25 kHz) 40usec, you can compensate for these delays at intervals of 10usec and that this configuration works, but not as quickly as you want.

I hope that this explanation makes sense, but the short answer is that we will not be able to do so during the execution of the loop in the time of minimum cycle.

Tags: NI Hardware

Similar Questions

  • When you use the NI-CAN Transmit sample receive the same Harbor; can a virtual CAN channel (RCA or 257) be used?

    I work for a company that produces and transforms electric parts. We strive to get in remission at nine of the ECU, experiences, Instrument clusters etc. I'm trying to learn how to use LabVIEW to write commands and read the data on the CAN bus. I have downloaded the NI-CAN driver. I am currently 'play' with the same reception Port.VI show in the basic frame of the finder example API folder OR. I am not able to send the number in the data to write the table that it be read by the ncReadNet Mult .vi. When I put the parameter to 'Pending entries reading' the ncGetAttr.vi returns a 0 to indicate that there are no frames to read. As a result, the Mult.vi ncReadNet does not run.

    I don't have any connected equipment, I use the virtual CAN channel CAN256. Is this the reason why I can't get data frames in my queue for the Mult.vi ncReadNet to read?

    When you use the NI-CAN Transmit sample receive the same Harbor; can a virtual CAN channel (RCA or 257) be used?

    CAN carry 256 and 257 are connected to eachother through software.  When you write about 256, you can read the data on 257 and vice versa.  I think the example you mention is a writing and reading on the same port, but what you want is to probably to make a copy of this VI, in order to run two at once, where it opens 256 and the other opens 257.  Then, when you write one that you will see on the other.  I think you might be able to use the test panel CAN too read an and use the example of the other.

  • If I use a few channels on PCI-6259 to increase the sampling rate, channels numbers can I be contiguous?

    We are looking to buy a card PCI-6259 usable on a Linux machine. We would use NIDAQmx to access the card. If we were to use only a few channels to increase the sampling rate, do I need to select specific channels?

    For example, the card is 1 MHz. If I select the channel 1 and channel 2, I can taste each channel at 500 KHz. could I choose 8 channel and channel 13 and still be able to sample each channel to 500KHz? Or need of specific channels to use when a subset of channels are selected?

    Thank you

    -Tom

    Thanks for the quick response.

    -Tom

  • sample per channel and read sample

    Hello everyone

    I'm new in LABVIEW and I have some difficulties with something.

    I put t know exactly what is the difference between the sample by channel and the sample to read. According to me, knowing that the sample by channel is the size of the buffer that is larger than the sampling frequency, but I put t know what is the sample to read.

    I ve tested with different sample per channel and read. Sometimes I get an error and sometimes know and I would like to know why. If you have examples because I understand better, it will be great.

    I really need to understand this part of my project

    Thanks for your help

    Tony GIBERT

    Hi Roro,

    As you mentioned, when the size of the buffer absorbing continuous samples, you can specify the sample by placing a value to the entry "samples per channel" on schedule vi. The entry of 'number of samples per channel' on reading vi which automatically names a control / constant with 'samples to read' specifies the number of samples you want to remove from the buffer in an appointment during playback of several samples (N). This link may provide a little more detail. I am also attaching a good example of the finder OR example that you may find useful to explore. I assume you are using the DAQmx driver put then please let me know if this isn't the case, but the same principles should apply in any event.

    This means accordingly for sampling at a given rate, you must make sure you're pulling data in large enough 'chunks' so that the buffer overflows (which may well be the cause of error that you see). On the other hand if your sampling rate is slow and your reading vi is having to wait the number of samples to read you have specified to be available, he can lift a time-out error. You can avoid this by increase your sampling rate, reduce your samples to play or increase the time-out specified read vi entry (-1 means it will wait indefinitely).

    Let me know if this helps and how you will.

    All the best.

  • Sampling 2 channels at a frequency of 400 kHz

    I'm trying to taste 2 channels to 400 Khz using 6251 NI USB DAQ and I want to acquire the data for about 20 minutes, for which I use the continuous sampling mode. But I get buffer on stream errors. To solve this problem, I used the buffer.vi of entry so I can manually declare the size of the buffer, I put samples of 100 M, but I always get an error. If I set the memory size greater than 100 M samples buffer I get another error that says the requested memory cannot be attributed (error-50352 occurred at DAQmx start Task.vi:1).

    My first question is, how is the buffer size allocated, it is in the acquisition of data or the memory of the computer and what is the maximum? My second question is in regards to recording data to a file, no of samples per channel determines how many samples is stored in each file, if not how can I determine this? Finally, what should the value should I use for no.. samples per channel (samples for each file)? I'm new to labview so I would be really grateful of any information or suggestion. I have also attached my vi.

    Thank you

    You may find it useful to update DAQmx 9.0 for this development.  A new feature in DAQmx 9.0 will record all the data to a PDM for you.  Not to mention that the main advantage of the speed, this function will also produce a file of 1/4 size only in writing, given to bracts.  It is really easy to use this feature (compared with other options) and it can save you a lot of time.  If you install DAQmx 9.0, an example can be found in the finder example under input/output hardware > DAQmx > Analog measures > power > TDMS Streaming-... (there are 5 examples here).

  • Total number of samples per channel

    Hello

    I was wondering if you can call a function that returns the total number of samples per channel read. I try to get a precise timestamp.

    I use DAQmx ANSI C developer environment.

    According to NOR:

    Option #1:

    Try and do exactly what the driver is doing.  This will require you to do exactly what you do in the displayed example.  Call time current system immediately before calling the DAQmx Read and subtract dt * x where x is the number of samples already acquired.  It will take you to know exactly how many samples were acquired.  It can be found by calling the Total property of the samples by chain acquired immediately before the DAQmx Read.  This is to introduce some points for innaccuracy.  For example, you're time system is already innaccurate to a certain amount.  In addition, it takes some time between the system times call, calling the total number of samples acquired and calling the DAQmx reading.  If 2 samples are acquired between the call to the time system and the total number of samples acquired, you could be shifted a few samples.  For the slower clock rates, you will have more precision.

    I try to attempet to program this solution, but cannot find the total number of samples per channel acquired property. If anyone can help me, your help will be very appreciated.

    Thank you for your help,

    Vladimir

    Hi Vladimir,.

    Here is the property you are looking for (as the C reference help):

    You will be able to get accurate relative timestamps, since we know that our acquisition is based on a sample with a certain dt clock.  The value of initial time must still come from the OS.

    Best regards

    John

  • With the help of StatBlockCalc on channels separated

    I use StatBlockCalc on several channels to give me a new channel of all the minima of each channel in my DataSet. The call looks like this

    Sun Dat

    "Dat is used to set the list of channels when you don't know the number of groups
    Dat = "" [1] / CH1_min'-' ["& GroupCount &" ' "] ' / CH1_min'" "

    Call StatBlockCalc ("Channel", "1-", Dat)

    It works when there is only one channel in each group.  However, I have now 2 channels in each group, and I need to create the new minima channel separately.

    Any ideas how I can do a StatBlockCalc on separate channels in an undetermined number of groups?

    In collaboration with one of application engineers, we came up with a solution.  Basically, I'm building a chain of the CNo() of each of the channels I want and sent this string to the StatBlockCalc function.  Works like a charm.

    DAT = «»
    For j = 1 to groupCount
    Chnum = ONC ("[" & j & "] / Ch1_min")
    If Chnum > 0 Then
    DAT = Dat Chnum & & ''
    end if
    next

    Call StatBlockCalc("Channel","1-",Dat) '... StatDirec, RowNoStr, ChnNoStr

    DAT = «»
    For j = 1 to groupCount
    Chnum = ONC ("[" & j & "] / Ch2_min")
    If Chnum > 0 Then
    DAT = Dat Chnum & & ''
    end if
    next

  • How to abort Continuous Acquisition (which is set to acquire a constant number of samples per channel each iteration)?

    Hi all

    I would like to continuously acquire an input channel analog and, if necessary, be able to stop the acquisition as quickly as possible.

    I use a card NI USB-6289. I implemented a DAQmx (voltage) analog input task, set the clock sampling DAQmx 'continuous samples' and the rate required (IE 1000, which is 1 kHz). For the acquisition, I used a while loop with inside the DAQmx Read with Terminal 'number of samples per channel', wired (IE 1000). The while loop waits until 1000 samples are acquired and therefore continuously reads the channel in uniform batches of 1000 samples every second ticking. The while loop can be easily interrupted when the DAQmx has completed the acquisition of the lot being 1000 samples, but it takes the DAQmx finish their current task.

    My problem is how to stop the loop while the DAQmx Read lies in the middle to get 1000 samples WITHOUT delay all 1000 samples are received? Is it possible to interrupt the DAQmx Read?

    I could reduce "the number of samples per second", increasing the responsiveness of the while loop, but this is not the solution I prefer. I tried to destroy the task (outside the while loop), but that does not stop immediately the acquisition, Read DAQmx still finish acquire 1000 samples. I've included an example Subvi. When I was using a PCI card, I used a timed while loop with inside the DAQmx Read with Terminal 'number of samples per channel' wired-1 (= which means ' read everything in the buffer "). In this case, it was easy to stop the acquisition at any time: the timed, while the loop is abandoned and the acquisition has ceased immediately. But it does not work with an NI USB-6289 map (see thread http://forums.ni.com/ni/board/message?board.id=170&message.id=386509&query.id=438879#M386509) because of the different way the data are transferred to the PC.

    Thank you very much for your help!

    Have a great day,

    LucaQ

    Hi LucaQ,

    Your solutions are decrease of the number of samples, or record the time you want to stop and remove samples that have been acquired beyond this time. There is no other way to stop the actual reading out of the hardware store.

    Flash

  • Graphical representation of the different channels separately

    I'm a VI design that acquires data from 3 different channels (voltage). The data from each of these channels must be converted separately (user-defined) in other quantities (say, pressure, temp and force). Am I voltage data acquisition and using the formula with coefficients powered by user to convert the data.

    However, I would like to be able to store the data of the amd chart separately. In the above procedure, the signals of all channels are under conversion. I want each channel to undergo a conversion specific and graphic and store the data for each channel separately. How can I do this? Please suggest.

    Thank you

    Dheeraj salvation,

    The order of the signal depends on the order of the DAQ chain that you configure. I think that the signal of channel (ai0) 0th will be available in the branch above the page which is the tension in your case.

    You can mark it as a solution if your problem is resolved so that others can also get help on the wire later. Do not hesitate to ask if you have more doubts.

    Kind regards

    Amine31

    (Bravo to give good answers, mark it as a Solution If your problem is resolved)

  • I have a macbook pro 13 early 2015. Now I can here a clicking sound when I move the lanes on the side mac. Feels like some hardware is loose inside. But my mac works well as well. I left about 80 days of warranty. I'd give to repair? suggestion pls

    I have a macbook pro 13 early 2015. Now I can here a clicking sound when I move the lanes on the side mac. Feels like some hardware is loose inside. But my mac works well as well. I left about 80 days of warranty. I'd give to repair? Someone had this problem? Suggestions please...

    nidgp wrote:

    I left about 80 days of warranty. I'd give to repair?

    Absolutely, examined her!  There is some kind of hardware problem.

    Ciao.

  • I can't locate all channels with hybrid USB - Equium L100 TV Tuner

    Hello

    I installed the software and the USB but I can't locate all channels. There is no signal.
    Help what can I do?

    Thank you
    Tracy

    Hey Buddy

    What software do you use to watch TV?
    I m not an expert external tuner but most often you will need an application like a MCE (media library) to receive signals and channels.

    But the first step should be the installation of material success. I think that you have received the software with this external tuner or drivers. So check the installation guidelines and, in addition, you might check if this TV card appears in the device as recognized Device Manager.

  • How can I set a channel IEPE DAQmx and the other not?

    Hi, guys!  I am a first year student in labview. I meet a problem and need your help.

    In my DAQmx data acquisition system, I must acquire the data of two channels at the same time. And a channel IEPE, another does not need. You can open the example in the following location: C:\Program NIUninstaller Instruments\LabVIEW 2014\vi.lib\addons\Sound and Vibration\Example Support\DAQ\DAQmx\Frequency Analysis\Dual channel Analysis\Baseband FRF (DAQmx AI and AO) .vi. In the example, you must configure both of them to stage IEPE or not. There is no more information that I can find. And I have no idea to solve this problem.

    Thanks in advance
    concerning

    What you have tried after the update.

    -You can list down all channels using the as shown in http://digital.ni.com/public.nsf/allkb/CC501982F91AFA548625735D00547AC2

    -You may find the information and links in this forum: http://forums.ni.com/t5/LabVIEW/Setting-up-IEPE-settings-DAQ-MX-task-for-multiple-channels/td-p/1728...

  • samples per channel and the number of samples per channel

    in my DAQ mode samples finished program, there are two screws: timing and read.vi DAQmx DAQmx.

    I have to set the parameter to "samples per channel" DAQmx timing.vi and 'number of samples per channel' on DAQmx read.vi... Is there a relationship between these two?

    My laser runs at 1 K Hz. I want to go to the wavelength, wait for a number of shooting lasers, read the data and move on to the next page...

    Thank you

    Lei

    In your case, the VI will acquire the lesser of either:

    The "samples per channel" that you have defined on the timing DAQmx VI

    -OR-

    The number of iterations of your for loop (N) times the 'number of samples per channel"that you have defined on the DAQmx read VI

    The "samples per Channel" VI DAQmx of timing for a finite acquisition dictates how many samples the DAQ hardware should acquire in it's onboard buffer before indicating that the acquisition is complete.  "The number of samples per Channel" on the read DAQmx VI dictates how many samples the DAQmx driver must return buffer on board the aircraft to your application.

    Let's say the "samples per channel" on the calendar DAQmx VI is set to 50.  Thus, the card will acquire 50 samples and place them in the edge of the buffer, then stops.  Suppose we have the 'number of samples per Channel"on the DAQmx reading VI the value 3 and what we call the VI in a loop For which runs 10 times.  Thus, every time the DAQmx lu VI is called, it will wait until there are at least 3 samples in the buffer, and then return these three.  We call the VI a total of 10 times, then we will answer 30 total samples.  Thus, the last 20 samples acquired the card remains in the buffer and are destroyed when the task is disabled.

    Now let's say that we increase the "number of samples per Channel" on our DAQmx Read VI at 10.  VI Read will wait until 10 or more samples are in the buffer, and then return these 10. Thus, we will be back all 50 samples map acquired by the 5th iteration of the loop For.  The 6th time we call him VI DAQmx Read it expires, because there will never be another 10 samples in the buffer, and the VI returns a warning.

    This clarifies things?

    The purpose of this behavior is to allow you to both set the total number of samples that the DAQ hardware will acquire and also control how much of these samples is returned whenever you call the DAQmx Read VI.

    Kind regards

  • Sample quantity sample DAQmx channel property Node substitute in LabVIEW when = 1

    [cross posted from LAVA] 

    Problem:
    LabVIEW seems to be the substitution of a value of 1 to a value of 2 for the node property DAQmx Sample Quantity.Sample per channel for a continuous acquisition mode.

    Information:
    I have a task created in MAX (version 4.4.0f1).
    When I updated To Read samples 1 the task runs successfully in MAX.
    When I read the task in LabVIEW (8.5), the property node Sample Quantity.Sample per channel (i.e. the samples to read) is converted to a value of 2.
    If the value is greater or equal to 2 to the MAX, then the Sample Quantity.Sample by channel in LabVIEW property node returns the correct value.

    I get the same problem with a real or simulated device.

    Question:
    Is this desired behavior?

    Side note:
    If N samples (acquisition of buffer finish) is selected samples To Read cannot be 1 because it causes an error 200077 - must greater than or equal to 2.
    But no error will occur when the task is saved as a continuous (continuous buffer acquisition). I don't know if this is related. The error generated is:
    Error-200077 occurred to the DAQ Assistant
    Possible reasons:
    Measurements: Requested value is not supported for this property value.
    Property: SampQuant.SampPerChan
    You asked: 1
    Valid values begin with: 2
    Valid values ending with: 8589934590

    Shouldn't

    Hi JG,.

    Remember that the number of samples (one associated with DAQmx sync settings) is not relevant for continuous acquisition.  To read a sample at the same time, you simply specify this in your DAQmx playback function.  When you configure MAX to read an excerpt, it makes this same functionality automatically.

    You will not be able to get the value of another property node as the value is converted as soon as the channel is created (the value non-sous the constraint is not stored anywhere by the driver).  It should not be a need to this value in your code, if you want to read a sample to a schedule the DAQmx read simple example of function.  The amount of samples by reading is not part of the task itself, but is defined when running as an input to the function read DAQmx.

    You get the error message indicates that your device supports should not single-point HW timed - I would have probably asking which device you were using.

  • my media player 2002 sp3 xp time movies without picture.we can here but do not see it. How to solve this problem

    my media player 2002 sp3 xp time movies without picture.we can here but do not see it.  How to solve this problem

    Hi thomasbowyerRR,

    ·         Did you do changes on the computer before the show?

    ·         The question is limited to any particular video?

    ·         He has already worked?

    Follow these methods.

    Method 1: Follow the steps in the article.

    Resources for the resolution of problems in Windows Media Player

    Method 2: Update the latest drivers for the video card and the check.

    How to manage devices in Windows XP

Maybe you are looking for