generation of buffer desired waveform ╔chantillonnage clock and clock frequency sample resulting
Hello, I'm trying to generate a square wave on an ongoing basis for NI6221 DAQ to 2 kHz. I use the example of Cont Gen tension Wfm - Int Clk.vi, which works great for my needs. However, the synchronization frequency setting is sometimes different frequency resulting, according to the choice of the samples and the Cycles / buffer. Tracking dozn the origin of these variables, all come from the nodes property of the moment-DAQmx in Buffere waveform generation (multi) .vi, where the input and output frequencies are not the same. Now, why is it so? What is the way the rate is calculated? I guess it's related to an internal approximation of the Council divided by sweep sampling frequency, clock but how exactly?
I found some notes in the help (see figure), with a few diagrams of the oscillators according to the DAQ (M type) card, but then I'm lost.
Thank you very much
Virgilio
The AO sample clock is generated by dividing down the time base. If you select a clock frequency sample that can not be achieved by dividing the time by an integer base, the sampling clock frequency will be rounded up to the available sample rate nearest (it might be interesting to note that tasks HAVE always round the frequency rather than rounding to the nearest available).
For example, the maximum time available for AO internal base is 20 MHz. If you select a sampling frequency of 300 kHz, this wouldn't be possible (20 MHz / 66.66666...). Instead, ~298.5 kHz will be used (20 MHz / 67).
Best regards
Tags: NI Hardware
Similar Questions
-
Buffer the output AO, refresh rate is different from the sample clock frequency
Hello
I am an AO output in the buffer using a single channel. I have a stamp with a ripple of 200000 points with a triangular waves of a 1000pts each repeated 200 times. If I want a frequency of 1 Hz, I simply update this waveform 1000pts and if I wanted to 5 Hz, then 5000pts and so on. But there is some frequency that I won't be able to use like the refresh rate (the number of samples that I ask to update) is different from the sample clock frequency, which makes synchronization with the other difficult to trigger (incomplete cycle). Frequency 3 Hz (update 3000pts), as (update 7000pts) 7, 6 Hz (update 6000pts), 9 (update 9000pts)... 11Hz at 15 Hz and is not valid in the sense that the refresh rate is different from the sample clock frequency. That makes a whole lot of inaccessible CONFIGURED! Can someone tell me what determines the banned frequency? Is this something to do with the material?
concerning
One thing you can try is to change the number of samples per cycle. This cannot give the precise frequency accurately, but can reduce the average error.
120 Hz, the error is currently about 400 parts per million (ppm). The accuracy of the time base is 50 ppm, then this error is less than 10 times the inherent error due to the time base.
Consider this configuration: the closest nominal sampling you rate, you can get is 120048 Hz (1000 samples per cycle at 120 Hz). If your buffer contains 1200 samples per cycle, 100 copies of it would produce 1 second of data to 120,048 Hz. But if the buffer contained an average of 1200,48 useful Samper by cycle, you get the exact frequency. Of course getting 0.48 of a sample is delicate. But the kind of feasible. If you use 48 cycles in the 1201 samples per cycle and the cycles of 52 to 1,200 samples per cycle, the total number of samples per second = 120048. Average frequency will be exactly what you want. Instantly, the frequency is slightly higher or lower than the exact value. By an alternation of 1200, 1201, 1200, 1201... 1201, 1200 100 cycles that the Jig is fast. If you group all 1200s whole and all 1201 s frequency hopping may be more sensitive. If this kind of jitter is acceptable depends strongly on what you do with the release.
This technique is used in some systems of frequency synthesizer.
Lynn
-
My iPod 5th generation is stuck by resetting the settings and I tried holding the power and the "home" button but has just the same. Also, I tried to sync it upward, so I tunes but it has not been recognized and I can't answer on my iPod. Help, please!
Try the remaining shares of:
- iOS: do not respond or does not light
-Also try DFU mode recovery mode post-test
How to put iPod touch / iPhone in DFU "Karthik doodles."
-If failed and that you cannot completely turn completely the iOS device, leave the battery to drain completely. After loading a hour repeat the foregoing.
-Try a different cable
-Try on another computer
S ' there is still not successful that usually indicates a hardware problem and an appointment at an Apple store Genius Bar is in order.
-
determination of the sampling rate and the frequency waveform data record
Hello
I write a simple program that collect data from a triaxial accelerometer input, convert it to a frequency spectrum, and then save the time domain and the frequency of the waveforms in an external file separated. I don't understand how to set the sampling frequency, however. On the DAQ Assistant, I updated the acquisition mode "Samples continues" and read samples is 2 k, which corresponds to the total number of data points that are collected. How can I program sampling for awhile, it 30 seconds, for example? Wouldn't be better to set up a trigger, as it will continue to collect data up to what I told it to stop?
I also want to save waveform data in a separate file that can be easily seen by other computers that have not installed Labview. I have currently the program put in place to convert a text string of the waveform of the time domain and then save it in a text file or a spreadsheet. It works fine, but I would also like to record the frequency wave, which is a different type of data. How can I do this or is there a better way?
My program is attached. Thanks for your help!
Here's how you can use the shift register to build the table, and also where you can choose to play exactly 100 samples per while the loop iteration.
Brian
-
For example, when I enter the search term "cabinets" and get a page/tab search results with suggestions such as Sears, JCPenney, or Amazon, I want to be able to click on Sears and open the Sears page in a new tab/page. I want to be able to close the tab to Sears and use the search results tab.
Google offers a framework for this. What it does, it adds a HTML (target = "blank") statement to every result link, which causes Firefox to open in a new tab. If you uncheck the preference to divert new windows in new tabs, Firefox will then open the result in a new separate window.
This preference is stored in a cookie, if you clear your Google cookies often, so you'll need to reset every time. You can do so here:
https://www.Google.com/preferences
(On this page, Google refers to a new window.)
-
By mistake, I downloaded a virus. It prohibits many Web sites and provide incorrect search results. I uninstalled Firefox and downloaded a new version, but the problem persists.
Hello, please remove the extension named Addons engine 3.0.1 - it sounds rather unusual and perhaps malicious: disable or remove modules
-
Positive and negative frequency of calculation deviation
Hello
IAM with PXI-5620 to measure RF PXI 5600.
I need to measure the frequency deviation, Positive and negative. The example or vi "MT DAMA demodulate FM.vi" gives peak frequency deviation . Can any please help me find the positive frequency Deviation and negative frequency deviation of her
Thank you
Niju.
Hi Johanna,.
First things first - 5620 5600 + combined is what we call a PXI-5660 RF Signal Analyzer.
The PXI-5660 module cannot be presence via the driver NOR-DAMA. The Modulation Toolkit FM sample that you reference is for the PXI-5661 and SMU-5663 analyzers, both use the driver NOR-DAMA.
You use MT ni5660 FM demodulation. vi, located under the ni5660 examples.
Now to your question...
When you perform an FM demodulation, resulting the Subvi MT Demodulat FM data frequency / time with the frequency values (Y axis), is compared to the carrier frequency specified. Thus, data deviation of frequency (Hz), function of time. All you need to do to get the positive and negative frequency deviation is to use LabVIEW table Max & Min primitive functions of table palette. This will give you the min and max value of the FM data that will be the negative peak and the positive peak frequency deviation.
Concerned,
Andy Hinde
RF systems engineer
National Instruments
-
Original title: twomonitorsononepc
I have two monitors on my pc is there any way for example divide ads and Add ons in a screen and automatically display search results in the other.
or if facebook were used cat into one screen and status on the other screen please
Hi Richard,
What is the operating system installed on the computer?
It seems that you need to divide the same application in several windows and place them in different monitors. Is this correct?
Unfortunately, it is normal and you can not split the same application on two different monitors.
Hope this information helps. Get back to us if you have more queries about Windows.
-
Build and deploy the sample application Rssnews
Hi all
I'm trying to build and deploy the sample application for my Dev Alpha a. Rssnews.
I use the 4 SDK beta
He seems to build ok, but when it tries to install it on the Dev Alpha I get the following error
Deployment Failed: Info: Sending request: Install and Launch Info: Action: Install and Launch Info: Debug native: on Info: File size: 238114 Info: Installing com.example.bb10samples.data.rssnews.testDev_ata_rssnewsc73a2b56... Info: Processing 238114 bytes actual_dname:: actual_id:: actual_version:: result::failure 821 Application-Requires-System: unrecognized system name 'BlackBerry 10'
I also have an appliance version mismatch error but I belive it can be ignored.
Thank you very much
Solved this problem by updating the software Dev Alpha at 10.0.9.1103.
-
I'm trying to download the trial version for Acrobat DC edit PDF files, but when download initializes, it gets to 11%, gets stuck, then gives the message "request from Web Get failed. I canceled, downloaded the installer again and got the same result. I'm on a PC running Windows 8. Any suggestions?
Hiddm93421458,
Restart your system and then try again to install Acrobat Reader DC using this link Download Adobe Acrobat free trial | Acrobat Pro DC.
Let me know if the problem persists.
Kind regards
Nicos
-
How to build and run the sample extensions?
I have a good time trying to get the sample to run, extensions
Adobe-CEP/CEP-Resources · GitHub or also in the SDK of 2014 Adobe Illustrator CC for the Plugins that have a graphical interface.
So far I've failed.
Windows 7 x 64 system. Illustrator CC
First test:
Assemble one of the samples using the Adobe package manager. Added the file of "CEP_HTML_Test_Extension" or well the 'TutorialUI' of the SDK samples.
and then install the zxp file obtained by using the "extensions Manager". No error reported. Extension handlers lists the Extension as being active for AI CC. Illustrator began.
But I don't see anything in illustrator. There's no "Extensions" entry in the menu of Windows of Illustrator.
The PlugIn tutorial menus are displayed, but the sample dialog box does not appear. In the debugger, I noticed that the call to pFnLoadExtension fails.
Second test:
After the pdf file "USING the kit SDK ADOBE EXTENSION" (http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/creativesuite/pdfs/CC14_Extension_S DK.pdf)
Package as before
PlayerDebugMode enabled in HKEY_CURRENT_USER\Software\Adobe\CSXS.5
copied the zxp file in C:\Program Files\Common Files\Adobe\CEP\extensions
Same result. I don't need an extension.
I had no problem, build and run the sample Plugins well.
What I am doing wrong?
How can I build and run a simple example of extension?
Any help appreciated.
The problem related to how the samples were copied in the extensions directory. When you .zxp files you need to extract the content and place them in the extensions directory.
For example this:
C:\Program Files (x 86) \Common Files\Adobe\CEP\extensions\
TutorialUI.zxp
UIShowcase_sample.zxp
But this:
C:\Program Files (x 86) \Common Files\Adobe\CEP\extensions\
TutorialUI\
UIShowcase_sample\
You can install the .zxp by the Manager of extensions or, for development purposes, rename the .zip file type.
-
upgrade to ch 2014, when using contact sheets and by adjusting the results of FontSize to spacing between the images grows while the font remains the same size.
Someone at - it ideas on why this is happening.
See you soon,.
PAul
Hi Paul,.
There is a bug in the script that affects text attributes. We are now studying.
In the meantime, xbytor updated the plug contact to work around the problem. You can find it here: ContactSheetX 2.1 released
Kind regards
Steve
-
Count (*) that is a conditional statement and then if the result
HI: This is table_1:
with Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Policy_no from dual union all select to_date('04-MAR-2009 12:12','DD-MON-YYYY HH24:MI') incident_date, 2009 Policy_no from dual union all select to_date('25-JUL-2010 23:30','DD-MON-YYYY HH24:MI') incident_date, 2013 Policy_no from dual ) select * from Table_1
I need to perform a count (*) on agr_line_no on the condition that there is other other objects 'CAR' that is to say if forpolicy_no = 2005 the count should be 4.with Table_2 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 100 agr_line_no, 'BIKE' object from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 200 agr_line_no, 'BUCKS' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 300 agr_line_no, 'CELL' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 400 agr_line_no, 'CAR' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 500 agr_line_no, 'HOUSE' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 100 agr_line_no, 'BIKE' object from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 200 agr_line_no, 'BUCKS' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 300 agr_line_no, 'BEACH' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 400 agr_line_no, 'CAR' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 500 agr_line_no, 'HOUSE' from dual union all select to_date('20-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('29-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2013 Policy_no, 676 agr_line_no, 'CAR' from dual ) select * from Table_2
Be Table_1 to table_2 on Policy_no and all columns in table_1 must be selected as well as an additional column called Object_many.
Object_many is based on the count (*) from table_2 it is if the number is > 1, 'Y' must be returned to another "n".
Also, there must be a clause where clause that is to say when table_1.incident_date between .cover_start_date table_2 and table_2 .cover_end_date
Final result should look like this
Thanks in advance!with Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Policy_no, 'Y' Object_many from dual union all select to_date('04-MAR-2009 12:12','DD-MON-YYYY HH24:MI') incident_date, 2009 Policy_no, 'Y' Object_many from dual union all select to_date('25-JUL-2010 23:30','DD-MON-YYYY HH24:MI') incident_date, 2013 Policy_no, 'N' Object_many from dual ) select * from Table_1
Banner:
Oracle Database 11 g Release 11.2.0.2.0 - 64 bit Production
PL/SQL Release 11.2.0.2.0 - Production
"CORE 11.2.0.2.0 Production."
AMT for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Productionwith Table_1 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') incident_date, 2005 Policy_no from dual union all select to_date('04-MAR-2009 12:12','DD-MON-YYYY HH24:MI') incident_date, 2009 Policy_no from dual union all select to_date('25-JUL-2010 23:30','DD-MON-YYYY HH24:MI') incident_date, 2013 Policy_no from dual ), Table_2 as ( select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 100 agr_line_no, 'BIKE' object from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 200 agr_line_no, 'BUCKS' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 300 agr_line_no, 'CELL' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 400 agr_line_no, 'CAR' from dual union all select to_date('01-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('04-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2005 Policy_no, 500 agr_line_no, 'HOUSE' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 100 agr_line_no, 'BIKE' object from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 200 agr_line_no, 'BUCKS' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 300 agr_line_no, 'BEACH' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 400 agr_line_no, 'CAR' from dual union all select to_date('01-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('09-MAR-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2009 Policy_no, 500 agr_line_no, 'HOUSE' from dual union all select to_date('20-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_start_date, to_date('29-JUL-2009 20:10','DD-MON-YYYY HH24:MI') Cover_end_date, 2013 Policy_no, 676 agr_line_no, 'CAR' from dual ) -- -- end-of-test-data -- select table_1.policy_no, max(table_1.incident_date) incident_date, case when count(table_2.agr_line_no) > 1 then 'Y' else 'N' end object_many from table_1 left outer join table_2 on table_2.policy_no = table_1.policy_no and table_2.cover_start_date <= table_1.incident_date and table_2.cover_end_date >= table_1.incident_date and table_2.object != 'CAR' group by table_1.policy_no order by table_1.policy_no;
I assumed policy_no either the primary key in Table_1 - so max (table_1.incident_date) will work.
If you have an index on Table_2 on coverage dates, then the construction above could be better than one between. Otherwise between will be quite OK ;-)
-
TimesTen and Oracle 11 g result cache
Oracle 11g introduces the concept of cache the result whereby the result set of frequently executed queries are stored in the cache and used later when other users ask the same query. This is different from the caching of the data blocks and exceuting the query over and over again.
Tom Kyte calls this materialized view just-in-time, in which case the results are dynamically evaluated without DBA intervention
http://www.Oracle.com/technology/oramag/Oracle/07-Sep/o57asktom.html
My point is that, given utilities like result_cache and possibility to use Solid State Disks in Oracle to accelerate physics I/O etc. is necessary for a product like TimesTen? It seems to me he could asdd just another layer of complexity?Oracle cache there result a useful tool, but it is significantly different from TimesTen. My understanding of the Oracle result cache is caching the results for rarely changing data such as search (currencies/identification code) tables, data reference that do not change often (list of counterparties) etc. It would be pointless to cache the result set when the data changes frequently.
There is also another argument for the cache of SQL result that if you hit high on your CPU usage and that you have enough memory, then you can cache some defined thus results save on your cycles CPU.
In view of the arguments on the wired RDBMS and drives (SSD), we can talk all day, but with SSDS does not eliminate the consideration for physical i/o optimizer. A table scan is a table scan if the data resides on disk SCSI or SSD. SSD will be faster, but we are still running physical IOs.
What about TimesTen, the positioning of the product is different. TimesTen is closer to average than Oracle. It is designed to work closely at the application layer, while Oracle aims much more wide. There is no way one can replace TimesTen with any RDBMS wired for volumes of moderate and real-time response. Demand for the result cache has been around for a while. In areas like trading program and data on the market when the underlying data changes quickly, TimesTen will come handy, because time real/provisional data and calculations must be made almost in real time, with fewer complications of the execution engine. I don't see how we can deploy the result cache in this scenario. Due to underlying data change, Oracle is obliged to calculate queries almost everytime and the cache of result will be just wasted.
Hope this helps,
Mich
-
Hello
I use a M Series DAQ card (6229) multichannel and multipoint make reading and writing of waveforms, all synced to a clock generated on the 6229. Now I need to extend that to a "remote" (10 m) location and I was planning to use the Ethernet (9188 or 9184) CompactDAQ chassis or maybe 9144 Ethercat slave. Before I have buy and learn the hard way, I thought I would ask some advice:
My questions are:
(1) using the DAQmx can I access the IO on 9184 or transparent 9144 using a multichannel multipoint DAQmx task as I do for the PCI 6299 card?
(2) are all of these chassis supported if I use RT on the host?
(3) is the best way to synchronize and trigger the remote system to the host using a digital line between the 6229 plug-in and the chassis from a distance, and if so, how can I connect it to the chassis and set it as a sample clock?
Any help would be appreciated.
Hi AnthonV-
You make perfect sense. And, I am pleased to report that you can program your analog output task CompactDAQ to use a clock timed by material, like your M Series device. In fact, it is possible (and perhaps even likely) that the same code of OR-DAQmx you use for M-series can be used directly on CompactDAQ also long that the AO, relaxation and sources of timing and similar channels can be updated to point to your CompactDAQ chassis.
As I've mentioned before, please note that only the CompactDAQ USB chassis (except the cDAQ-9172) are compatible with the PharLap LabVIEW RT objectives. I don't know if this will meet your needs for a > extension of 10 m from the host system.
Maybe you are looking for
-
How to create the entire "on my Mac" of the mail files?
I need to transfer files from a folder of email account to a folder on my Mac. I look on my Mail and there is no set "on my Mac" folder. How "on my Mac" is created so that I can add folders below? Thank you!
-
Multiple connections WebDav - error 1055: cancel the event recording
Hello I use WebDav to extract the files from the controller to the computer. It does not work when I use only one connection. When I use the same WebDav vi several times to extract the files in different folders, I get error 1055: unregister events.
-
Sansa gel... Can't turn it off.
Hello, this happened my sansa e250 after synchronization of music and disconnection. the impasse on this screen... a way to disable?
-
HP 15Notebook PC 15-r020sq: problems with drivers
HP 15Notebook PC 15-r020sq. OS WINDOWS 7 PROFESSIONAL 64-bit. PLEASE HELP ME ONCE AGAIN! Hello. I had a problem with Windows 8 and had to be replaced with Windows 7 64-bit Pofessional. The problem is that I can't find the drivers for this operating s
-
I just started using dreamweaver cs5 and image width = "3507" height = "2480 appears correctly on my page how to solve the this.someone please helpI played around the waist ut still not put the page to display properly