Finished samples timed material vs single-point: different speed?

Hi all

Although I had several questions about this request before that separately have been resolved, there is one last thing that remains difficult.

Shortly:

My application acquires data from 2 analog and synchronous inputs on 2 channels of analog output.

There is a trigger stop set on a PFI-pipe with a single switch. To make of this

I had to switch from single-point over acquition timed work material.

This set works very well when I read not less then a 100 samples once with a sampling of 1000 Hz. frequency (when I go below a sample of 100 to read--> E-200279)

Ideally, I would like to read about 10 samples with a sampling frequency of 1000 Hz.

However, using single-point timed equipment acquisition I can easily do that without a problem. Even just reading

a single sample once with a sampling frequency of 1000 Hz does not have a problem. But impossible to use the block of relaxation of reference as a signal to stop with this setting!

Question:

For me, there are two solutions, but so far I could not work on one of them:

(1) build a stop trigger in an single point of timed material acquisition

(2) change something in the acquisition of finished so that I can read faster.

Any suggestions, what causes the difference between the two speeds to be able to read the data and a way to solve it?

Thank you

Mark

Mark,

I mocked how I think I would like to address the issue and tied it to the top.  The general idea is that we use HWTSP for our analog I/o and counter looking edges on our signal "stop".  Each iteration of the loop, we check if we saw the stop signal.  If we have, then we write zero for the output channels and stop the loop.  If this isn't the case, write us the data of your comments, we have calculated.  I've added some comments on the block diagram that I hope are useful.  I have currently no any material of series E share, so it may not work properly out of the box, but I thought it would point you in the right direction.

I offer this precaution:

Windows is not a real-time operating system.  Therefore, it may take the liberty to give as much CPU time to other processes or applications as he likes.  As a result, it is likely that you will not miss a few samples (IE, your loop will not go faster hardware issues are examples of clock).  I configured DAQmx must return a warning you when this happens.

Hope that helps,

Dan

Tags: NI Hardware

Similar Questions

  • How many samples timed on a single digital output line

    Hello

    I want to output a pulse of arbitrary shape train on a single digital line (for NOR-USB-6229). The goal is to control acceleration, live performance and deceleration of a motor not not.

    To do this, I'm writing an array of samples ' Dev1/line 2' ('writeArray' in the code below), a single sample per millisecond. However, I see everything that happens on this line. What I am doing wrong? The following C code:

    int numSamples = 3000;

    TaskHandle taskHandle;
    DAQmxCreateTask("",&taskHandle);

    DAQmxCreateDOChan (taskHandle, "Dev1/line2", "", DAQmx_Val_ChanPerLine);

    DAQmxCfgSampClkTiming (taskHandle,"", 1000 / * samplingRate * /, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, numSamples ");

    DAQmxStartTask (taskHandle);

    samplesWritten of Int32;
    DAQmxWriteDigitalLines (taskHandle, 3000, true / * autoStart * /, 100, DAQmx_Val_GroupByScanNumber, writeArray, & samplesWritten, NULL);

    DAQmxWaitUntilTaskDone (taskHandle, 100);

    DAQmxStopTask (taskHandle);
    DAQmxClearTask (taskHandle);

    All responses will be very appreciated!

    Petro

    Peter,

    It is not that these devices do not have access but rather (from the Manual X 622): "the digital subsystem has no its own dedicated internal synchronization engine. Therefore, a sample clock must be provided another subsystem on the unit or an external source. "Choices would include: Any PFI, RTSI, HAVE sample or convert clock, AO, Ctr n out internal and many other signals sample clock.

    If you current solution works well you should do!

  • Single-point PXI 8106 timed performance material

    Hello

    I'm potentially interested in buying a PXI-8106 module for my application of servo motor control. I would like to know that single-point timed material loop rate performance of this command when used with DAQmx, before buy you. Does anyone have statistics of performance for this controller to the benchmarks of NOR (http://www.ni.com/white-paper/5423/en/)? Ideally, I'd be able to get execution rate of loop for T1 to T4 tests, for 1 and four lanes. I can't find this info online.

    I am currently borrow a PXI-8108 for my setup and I can reach nearly twice my goal of 2 kHz loop rates. I also know the performance of the 8108RT to the above reference, so if I had the same numbers for the 8106 I should be able to judge how the 8106 happen for my application.

    Thank you

    Jason

    Hello

    We do not have these data posted, but looking at the specifications for these two cards, I imagine that you would see no more than a 20% drop in performance between the two.  Probably less.

  • Filtration of single-point data

    Hello, I'm trying to filter the data of voltage point unique task, but there is an error of frequency... I have set at 120 Hz sampling frequency and I want bandpass filter for example of 30 to 40 Hz...

    So, where is problem? I tried to use a timed loop or "align and re - sample" sampling frequency, but this filter still does not work...

    You know, how to use this filter with single point task? When I do my own filter FIR with the same settings, the results are not same, this is the reason why I want to use this filter.

    If I use DAQ Assistant, there is no errors, but I can't use for other reasons (1) I can't use single point and all daq assistant, daq assistant 2) can't do pressure)

    These images add nothing to the discussion. If you buy a single point at a time, you have NO frequency and cannot use the normal filter function. Do what I said or use multi-sample reading or single reading point and build the table before making a filter. Best is to use the acquisition of data with several samples.

  • Multi-channel acquisition - simultaneous Acquisition of sampling 1 & 2-channel single sample in a task

    I am able to get a multichannel simultaneous sampling on my acquisition of data (USB-6363) without problem. But what I want to do is make multi-channel acquisition in a single task where sampling requirements are different for each channel. For example, I want I want to acquire a total of 1000 samples on 3 channels in a single task with DAQmx as follows the characteristics of sample:

    • AI0: Analog Wfm 1Chan NSamp (998 samples)
    • AI1 + ai2: 1 d analog NChan DBL 1Samp (1 + 1 sample/channel)

    I know I could do just a regular multiple sampling multi-channel acquisition through all three channels then average down from channels 1 + 2, but I don't have that several samples to spare. AI0 is a bandwidth hog in my application and consumes all the samples of data acquisition (2. MECH / s), but I can save a few samples to make analog measurements further (for example, temperature, pressure).

    Ai0 takes place also permanently so additional analog measures on ai1 + ai2 need to be included in the same task.

    I don't know how to go on this matter or if it is still possible. Any ideas or thoughts would be greatly appreciated.

    Currently I use a second DAQ to read these additional channels at a lower rate but I need to pass a single data acquisition.

    How should continuous ai0 really be?  You of course can enjoy on ai0, and one of the other entries at the same time, then there would be some gap in your data.  In addition, if you want to go to the full 2 MHz, you may sample ai1 ai2 twice in order to allow entry to set (the maximum specified multi-channel rate is only 1 MHz due to compaction of the constraints on the MUX I believe).

    DAQmx sort of you lets set something up like that, if you "cheat" it by configuring each sample as a single channel in your task (see an example similar here).  If your 998 + 1 + 1 (or 996 + 2 + 2) becomes a task of channel 1000 (takes a bit more memory, but should still be feasible).

    I would consider a 2nd DAQ card a better option if ai0 really needs to be continuous.  You can go with a (9174 or 9178) cDAQ chassis a 9223 (only 1 MHz if) for quick entry and your choice of module for the slower entries.  On the cDAQ chassis a module can run a separate task of AI from other modules (up to 3 tasks HAVE by chassis) at different speeds.

    Best regards

  • WAP321 two Pat same SSID on the same piece with the installation of single point / cluster

    Hello!

    It has bought several WAP321.

    We have a room which has about 40 books, so I will deploy the two Pat in there (according to recommended 20 clients per WAP on specifications).

    I configured the first WAP, created a cluster and the SSID, then joined the second WAP to the same cluster with the installation of single point, he received the same cluster radio settings (SSID, WPA2 key, etc.)

    My requirements are:

    1: configure all laptops with the same unique SSID created on the WAP (which has spread to the second WAP via single point of installation/cluster)

    2: having the laptop connect automatically to one of the Pat.

    3: If a WAP fails, the laptop can connect automatically to the other.

    Is this possible?

    If Yes, are the measures taken are correct, or is there something else? (and how does the cell know what WAP to connect if two WAPS is configured with the same SSID?)

    Thank you very much!

    Hello

    Thanks for posting your question on the forums.

    Setup you had set up will work fine for your application, I highly recommend to make sure that you have two AP running on different statically assigned channels, you can put one on channel 1 and the other on Channel 6 or 11. This will prevent them to conflict with each other.

    Now, there is no real way to select what AP you connect or even know that you you already connected to without special software, in fact, when a device gets on the network and seeking to connect to the radio will connect to the first point of access that meets the demand, if it is no longer available then it forwards the request again and it will connect to one who works.

    I hope this helps. Please let us know if you have any other questions

  • vCenter single point of failure to see?

    Hi, we are implementing a small view deployment of approximately 200 workstations virtual 5.1. I have a drawing using 2 connection servers and security with a load balancer 2 servers to guard against a single point of failure.

    I intend using a cluster for the DBs backend SQL, but I'm still stuck with how to protect the vCenter/composer. I have only a single 3-node cluster to work with, so I can't use more than one server vCenter/composer.

    How do you handle this in your environments?

    Thank you

    vCenter in a deployment of view is more important, then in an environment Server pure since it feeds and provisioning operations.

    If vCenter is down while it won't happen, but the environment view will still work.

    So that means that you must have a procedure in place to be able to restore the functionality of vCenter as soon as possible.

    vCenter Heartbeat is a addon-product from VMware that can protect against the BONE, material and application failure is necessary.

    Linjo

  • When I clik on a link to view another Web page or another document, a blank page appears (a single "point of png'). How can I solve this issue?

    The links are located on the emails I receive from authorized sources. When I click on the links to read the additional documents (another document) or display a picture, I get a blank page with a single point in the middle of the page. The tab header says it's an image (1 x 1 pixel) PNG. Any suggestions to fix this?

    Often, links to email in bulk are routed via a follow-up rather than service directly to its final destination. If you look at the address bar on the image page, it seems like one of these intermediaries rather than the page you expect to load? If you click on the address bar and press ENTER to retry the address, which does nothing?

    It is possible that the security software or security add-on kills a redirect from this intermediate page to the final destination. For example, I think the anti-banner Kaspersky functionality could do that.

  • How to generate a single Point (On-Demand) edge counting with relaxing break

    I have problem when creating a Labview program to generate a single Point (On-Demand) edge counting with relaxing break illustrated in FIGURE 1 below. I only know how to build counter edge without relaxing break and my program is illustrated in FIG. 2 and gaskets also. Should what changes I make on my program? The DAQ card that I use is 6259 PCI/USB.

    FIG1. Single edge counting with break Point (on request)

    Fig.2 my program to generate the edge without relaxing break

    It is resolved

  • NOR-xNET CAN interface queue/single Point / Stream


    Example: Single Point in Session with endpoints Set ON

  • detect single-point XNET CAN timeout

    Hello

    I've implemented a CAN communication via Signal XNET single-point settings.

    I need to detect a time on the CAN line if a bus-elect is no longer active. I found this possibility for the parameters of FRAME CAN, but not single-point signal.

    How can I implement this timeout notification?

    Thank you very much

    Magnus

    Hello Magnus,

    first that I want to recommend the "single-point input Signal Mode" in the XNET help (first link in the XNET (single-point Signal) reading .vi) article for a better understanding of the feature.

    If you wish to set up an audit of the time-out period, you can use the function "XNET .vi (XY Signal) read", so that you get a delivery timestamp. When query you that you can build a lag.

    Best regards

    Christoph

  • How to build a single Point (On-Demand) edge counting with relaxing break

    Hi, I am building a clock as shown below. It is also called 'Single Point (On-Demand) Edge Counting with relaxing break'.

    "

    I have problem to find the code example. So far, I can only build a counter edge without a controller trigger like below. Could someone help me?


  • Using average a single point to start the acquisition.

    Hi guys, I have a problem with the average. I do an acquisttion and that you want to use the average of the top 10 point a single point to start the rest of my test, but I can't stop the average calculation on 10 points, the vi continues. I want to use the fo average 10 points linke a single poit and continue acquiring normally 11 and after. Can someone help me?

    Follow my VI in LV 2010

    Kossmann says:

    Hi guys, I have a problem with the average. I do an acquisttion and that you want to use the average of the top 10 point a single point to start the rest of my test, but I can't stop the average calculation on 10 points, the vi continues. I want to use the fo average 10 points linke a single poit and continue acquiring normally 11 and after. Can someone help me?

    Your code is extremely difficult with all these interiors FOR loops and sequence in unnecessary structures, etc... Simplify!

    Try to start first with some tutorials.

    Using average-ptbypt for the top 10 values, add to the table you have 10 values, then start adding unique values. Here is a quick sketch.

  • SAN FISICA E Single point of Failure

    Ciao Tutti,.

    Prima di implementare UN progetto per UN nuovo client, I wanted sapere cortesemente some info riguardo alle SAN BROTHER (DELL, HP, Netapp ecc.):

    The SAN BROTHER hanno dei point single failure? MI spiego... oltre ad avere a controller, doppie nic, alimentatore ecc doppio doppio. esiste a componente called che e singolo backplane? e if as rompere questo SAN e offline?

    Pole enjoied all all di una DELL PowerVault MD3420 con tutto ridondato. my he dubbio era is esiste a componente nelle SAN BROTHER (come the scheda madre x I have server/host) che non Può essere ridondato...

    The Altra soluzione era quella di passare una virtual SAN... ad sapete consigliarci a sistema di SAN VIRTUALE apartment VIRTUAL SAN di vmware? e magari darci some info su Dove find advantage?

    Grazie a tutti by attenzione.

    MB

    The maggior parte degli storage company entered o middle level hanno nello o chassis backplane he loro single point of failure.

    ORA by primo of quinto if it io no ho ricordi di aver may heard parlare di sostituzione by guasti ecc.

    Mentre by her seconda della backplain Può anche understand parlo. The bkn di guasto pero worth bassa che viene e no may almost considerata.

    Questo perched if di is a componente del tutto passivo. E' una scheda elettrica di interconnesione tra i controller I have brain gli alimentatori ecc.

    Questo tipo di construction appartiene a quali prodotti HP MSA, NetApp 2500, IBM's DS, solo e DELL EMC VNX by some citarne.

    A che non condivide backplai e ad esempio una sistema he StoreVirtual di HP. In questo prodotto ogni controller e composto da Server x 86 con i suoi brain.

    SE cerchi invece soluzioni tipo SAN virtuali, you can always see it sopracitato StoreVirtual oppure I prodotti di StorMagic, StarWind, Datacore solo ecc by some citarne.

    Personally a meno che he tuo sistema sia company highly critical non mi if tanti pensieri e punterei ad uno degli storage classics di cui ti ho scritto sopra.

    SE invece affidarti ad una soluzione perched software non proprio valuti you want the VSAN di VMware?

    Ciao

    Francesco

  • How best configuration connect display server and composer to limit the single point of failure?

    Hi all


    Just had a few quick questions:

    1.) how everyone is to limit the Connectoin Server view to a single point of failure.  All the reading I did looks that everyone puts in place two servers connectoin and doing DNS round robbin on it or put two servers behind a load balancer connection

    (2.) what happens if the mode to connect to the server disconnects while users are connected and actively using desktop computers?

    3.) how to protect View Composer of single point of failure.  It seems that most people are installing this on there vCenter server and everything by leaving it with VMware HA.

    (4.) what happens if View Composer breaks down and you have Active Desktop sessions used by users who are linked clones

    (5.) what is the login used for replication partner server view?  This is a new feature in display 6 that creats a form any cluster to the login server?


    Let me know,


    Thank you

    1. Yes. Need a load balancer. Something better than a round robin DNS since those who go ping (response from the host)-based and not necessarily whether the service is in place (port 80/443 replying with 404)

    2. the user disconnects. When the reconnection that they continue where they left off.

    3. just about everything. Also ensure that regular backups are performed by the login server. Don't forget that if you need to restore, to restore a backup SQL composer both AD LDS.

    4 should be fine. The only problem is during commissioning, a linked clone or create a delete. Then could be a problem. Updating should be ok

    5. a replication partner? Do you mean the replica server? It's just an identifier during the installation as to whether, during the installation of the connection to the server, create you a new instance of the view or expand an existing one. He ends by as a peer to other servers to connect in the same instance (POD).

Maybe you are looking for