Query on sample no. and the rate of NI9233

I use NI9233 to acquire signals. Given that the node "DAQ assistant" that only entries of no.. samples and the sampling frequency. I thought that the sampling period is equal to n. samples/sample rates but couldn't always get the correct acquisition time. So, what is the quantitative correlation of no.. samples and the sampling frequency? How would I calculate the acquisition time once I put these two parameters?

Thank you very much.

The NI 9233 has a limited number of sampling frequencies discreet as described in the specifications under 'Debits '.  If your chosen sample rate is not supported by the module, DAQmx will force second.  For example, a sample rate of 48 kHz will be forced to 50 kHz.

Tags: NI Hardware

Similar Questions

  • Help of query SQL - inner joins and the separate results

    Hello

    ASP VB, SQL Server

    I have a structure of data base with 3 tables - users, albums and photos. each user has a identifier unique, each record has a unique albumid and also contains a column with the user name. each record in the photo has a unique id so that store the user name and the album in which the image belongs.

    I'm writing a query that returns a list of the albums for a particular user (based on a user name query string) and who will also bring back the id of the first record in the table for each of these albums photo.

    the closest I get is to run a query to select albumid albums where userid = varuserid with a join internal on the pictures table to remove the photo ID - problem I then it comes out all the photos from the photos table where userid = varuserid, so when I do a repeat region to display a list of albums for a certain user It produces a list of all the photos where userid = varuserid

    I really want to return just a list of ID album based on the username variable, but also to return the first record in the table of photos for each of these albumids

    I tried different combinations of inner joins, select distinct etc but no joy.

    any suggestion would be appreciated as am floundering here...




    First, you must define 'first' with regard to the photos. Is there a
    timestamp? They are numbered inside the album? Do you really care who is
    "first", or do you want simply a shot? You also neglected to indicate if they are
    empty photo albums have been allowed. I assumed that the empty albums are not
    allowed.

    Whatever you decide, the answer will be similar.
    SQL Server tends to get better results with joins with subqueries. You will have
    See such a written request more often with subqueries, and there isn't
    nothing wrong with that, but I'll use a join on a derived table. I have
    have not all column names (hint, hint), so I made them, but the
    Comments should help out you.

    SELECT A.Title, P.PhotoID, P.Caption, A.AlbumID, P.ImagePath
    FROM dbo. A albums
    -build a table derived, consisting of photo ID lowest for each
    album.
    INNER JOIN (SELECT AlbumID, MIN (PhotoID) AS FirstPhoto FROM dbo. Photos
    AlbumID GROUP) AS PM WE A.AlbumID = PM. AlbumID
    -details of the photo for the photo shown in the table above
    INNER JOIN dbo. Photos P on A.AlbumID = P.AlbumID AND
    H. FirstPhoto = P.PhotoID
    User A.UserID ='some WHERE '

    "tedstar" wrote in message
    News:ee4pfn$de$1@forums. Macromedia.com...
    > I am writing a query that returns a list of the albums for a
    > particular user (based on a user name query string) and also bring
    > return
    > the id of the first record in the table for each of these albums photo.

  • JPEG file save and the rate of loss in PSE

    When working with jpeg files in the editor of PES, PES runs an automatic internal file 'Save' after each adjustment, (levels, color, etc.)?  I always thought that the file will not be saved until the user makes a manual backup once the editing is complete.

    If automatic 'saved' internal is performed after each adjustment on a jpeg file. then the image degradation may be accelerated beyond what we could expect, that is, each saving a jpeg file reduces the quality of the image.  If these automatic judgments are made, so I assume that is the only way to edit files in psd format, then save the final psd file to a jpeg format to save disk space.

    Bob Ward wrote:

    When working with jpeg files in the editor of PES, PES runs an automatic internal file 'Save' after each adjustment, (levels, color, etc.)?  I always thought that the file will not be saved until the user makes a manual backup once the editing is complete.

    Yes.

    If automatic 'saved' internal is performed after each adjustment on a jpeg file. then the image degradation may be accelerated beyond what we could expect, that is, each saving a jpeg file reduces the quality of the image.  If these automatic judgments are made, so I assume that is the only way to edit files in psd format, then save the final psd file to a jpeg format to save disk space.

    No, the format "in memory" is not saved on the disc, unless you manually choose to "save under".

    If you periodically save a jpeg version (by overwriting the older), without closing the file, changes to jpeg compression are not cumulative. The version "in memory" is kept. It's not as if you save it in jpeg format, close and reopen, in which case compression double jpeg would have occurred.

    If you want periodic stops in a long of an image editing session, it is best to save as psd, because saving layers, selections... It is also best if you work in 16-bit. If you save as a jpeg, the jpeg compression will be done only once, there will be no cumulative loss of quality.

  • Explore: Discover: Choose Details: Audio sample rate and the size of the Audio sample are not available in the list choose the details.

    With audio files (in particular the WAV), Audio sampling frequency and the size of the Audio sample are not the choices available in the list of details with Vista.  In earlier versions of Windows (2000 and XP) they were both selectable as details.  Is it possible to get these will appear under Vista?

    Vista - related audio details available:
    Album
    Album artist
    Bit depth
    Bitrate
    Duration
    Kind
    Year

    2000 / XP - audio related details are available:
    The album title
    Artist
    Audio sampling rate
    Audio sample size

    Bitrate
    Kind
    Title
    The track number
    Year

    FWIW, sampling frequencies are discussed in the Help window and how to (below).

    Reference: http://windowshelp.microsoft.com/Windows/en-US/Help/53adb4c7-d538-42f8-bb13-917379922afe1033.mspx

    Thank you!

    For the third part of the applications that perform many tasks, I usually discover www.tucows.com and www.download.com.  They have a wide variety of programs, and the trick is to put in the correct search terms to find what you are looking for.  Make sure you that your selection is compatible with Windows Vista and at tucows, try to pick one with 4 or 5 cows because they are the highest rated.

    Good luck! Lorien - a - MCSE/MCSA/network + / A +.

  • Compare the result of a query with a number and return a message

    Hello
    I have the following query in oracle 9i:

    SELECT COUNT (*)
    OF hourly_files
    WHERE date_received = TO_DATE ((SELECT TO_CHAR (SYSDATE - INTERVAL '1' DAY, 'DDMMYYYY')
    (THE DOUBLE), 'DDMMYYYY');

    This will produce a number of lines required

    I need to compare the number of output with another number hardcoded (threshold) and print an appropriate example message

    If the result of the query above is 18000 and the number of threshold is fixed at 20000, then output a meesage:

    Number of files received less than 2000

    Any help will be very appreciated!

    Thank you.
    SQL> ed
    Wrote file afiedt.buf
    
      1  SELECT CASE WHEN COUNT(*) >5 THEN 'Number is > than 5'
      2              WHEN COUNT(*) <1 THEN 'Its less than 1'
      3  ELSE 'Its in between'
      4  END
      5  FROM emp
      6* WHERE deptno=20
    SQL> /
    
    CASEWHENCOUNT(*)>5
    ------------------
    Its in between
    
    SQL> SELECT COUNT(*) FROM emp
      2  WHERE deptno=10;
    
      COUNT(*)
    ----------
             3
    
  • Reg: Query Get IP address and host name

    Hi all!!!

    Please help me, I need query for host name and the ip address... Please. its urgent



    Concerning

    Malek

    Hello

    In fact, my need is a record of front end during a deletion of the user. I want delete a record and what record

    Without activated imperatives, it is not possible to track data.

    Note: 60828.1 - Overview of Oracle Applications AuditTrails
    https://MetaLink.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=60828.1

    Note: 105624.1 - Troubleshooting (Audit Trail)
    https://metalink2.Oracle.com/MetaLink/PLSQL/ml2_documents.showDocument?p_database_id=not&P_ID=105624.1

    E Business suit health/Audit?
    E Business suit health/Audit?

    Kind regards
    Hussein

  • The NI USRP-295xR RIO allows a front-end Ettus BasicRX IF-sampling? And what is the rate of the ADC to FPGA data?

    Hello!

    I'm in the quest to replace some aging PCI-5640R. I am currently using as a portable-Journal data solution, mounted in a Magma Expresscard to PCI box with a laptop. As a reference of the time, I use a Symmetricom XLi.

    The equipment is dependent on the sampling finished a set of samples once a trigger signal goes high and also receive antenna azimuth information using two lines PFI more. The signal is sampled at IF, 30 MHz, and the signal is less than 5 MHz bandwidth.

    Now, I started watching the Ettus X 301 with a GPS OCXO and MXI-express interface which should be the same as the USRP-295xR NI. It is available as device NI RIO with three different front ends, unfortunately, none of them work at 30 MHz.

    Q-1: Ettus has the front-end 'BasicRX', but it is only considered compatible with LabVIEW driver and not necessarily with the RIO. Is the front-end BasicRX usable with the USRP - 295XR RIO and MXI-interface with LabVIEW FPGA? Should I just avoid trying tune the nonexistent LO? As long as he gives me data, I can live with some error messages during the Setup...

    It's the best solution for me, but if it is absolutely impossible, I have a few questions:

    Q-2: information on the front end are really rare in the pages Web OR both Ettus, but the WBX is listed up to 50 MHz frequency, to have a filter of low pass of bandwidth of 40 MHz to I and Q. This should mean a total of 80 MHz of bandwidth with I and combined Q,-40 to 40 MHz. Why did the bandwidth to Web pages as OR listed being "40 MHz bandwidth in real time", if the low pass filter of the WBX is 40 MHz in I and Q? Not the band total bandwidth or 80 MHz?

    Q-3: assuming a bandwidth-40 to 40 MHz: could I put the WBX LO at 50 MHz, be tuned to the frequencies from 30 MHz to 20 MHz signal,-20 MHz and use a bandpass filter to the FPGA to extract the new signals and remove all other signals?

    Q 4: I tried to start a FPGA project in LabVIEW and add the x 301/294xR/295xR as a target. Data clock is locked to 120 MHz, which I guess means he will receive no data to 120MS/s IQ? The x 301 Ettus is listed as provide data of the ADC to the FPGA at a rate of 200 ms/s, could someone explain to me why, OR USRP RIO expects only database 120MS/s?

    Hi Idar,

    Yes, you should be able to put the basics on your X 310/USRP RIO and use LabVIEW FPGA to receive 120 MECH. / s of the DACs.  The example I posted is in fact not for the precompiled file bit.  The example I posted is for LabVIEW FPGA, which allows you to add the IP address for the FPGA.  There is a sample project that comes with LabVIEW FPGA which is the recommended starting point to build your FPGA application.  The sample project has all the configuration set up as well as broadcast continuously and pads/FIFOs in the FPGA and examples for synchronization.  There are comments in the code example that show where he must add your own blocks of property intellectual as a filter and decimater you mentioned.  The PDF I posted shows what changes you must make to this sample project using the Remora Basic/LF.

    I would like to know if I'm not explaining this clearly, or if you have any questions, I'd be happy to help you!

  • How to get the rate max one sampling NOR 9263 and other cards?

    Hello!

    I'm using a NI 9263 map and a chassis cDAQ-9172 proyect and im he 8.0 whit CVI programming. IM generating a sine and square waves to do some tests on a radio.

    I want my program to be functional for all cards of this type, and we know that most of the cards have different specifications, for example sampling max tariff, in this case the Pentecost of work NI 9263 100 kech. / s as the maximum. IM generating waves based on the sampling frequency.

    If my program must be compatible with most of the cards, my need to program to acquire max sampling rate using a specific function of NIDAQmx.h.

    Do you know if theres a function or attribute that can return this value?

    I tried this function with different attributes, with no results:

    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampQuant_SampPerChan, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_Rate, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampQuant_SampPerChan, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_TimebaseDiv, & MaxSamp);
    DAQmxGetTimingAttribute (taskHandle, DAQmx_SampClk_Timebase_Rate, & MaxSamp);

    The three first atribbutes gives me the rate real samp which is 1Ks/s (according to me, is the rate of samp set to the default value for all cards you before be initialized for the user), but do not give me samp (100Ks/s) max flow.

    The rest of the attributes only gives me the value of the clk, which is 20 MHz and the divisor of the clk (20000). Also I tried with a card 9264 (max samp rate is 25 ksps / s) and the function returns the same results.

    Any idea?

    Thank you!!

    Hey Areg22,

    I think I've found the service you're looking for:

    http://zone.NI.com/reference/en-XX/help/370471W-01/mxcprop/func22c8/

    This link gives just the syntax for the function, but the following gives you more information about the function:

    http://zone.NI.com/reference/en-XX/help/370471W-01/mxcprop/attr22c8/

    When I used the property of this function node output was 100,000 for the NI 9263. Which is consistent with the plug. I would like to know if it works for you.

    Thank you

    -KP

  • 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

  • Discordance between the DAQ rate Wizard and the dt output waveform

    I use a NI 9239 to acquire analog input data. Using the DAQ Assistant, I put the N samples, 8 k samples read acquisition mode and the frequency of acquisition of 8 k. I wire the data output of the DAQ Assistant directly to an indicator of waveform.

    I expect the dt for the waveform to be 0.000125. I have 0.000120, which is a rate of acquisition of 8333,333 Hz.

    What I am doing wrong?

    Thank you.

    To read the 9239 specifications in order to answer your question. Focus on page 18/19.

    Bonus tip:

    You specify the MINIMUM for acquiring sampling frequency in the DAQ Assistant.

    hope this helps,

    Norbert

  • Increase in the rate of sampling with external clock

    Hi all

    I have hardware DAQ-SMU-6361 and SMU-8360 controller in an express chassis SMU-1071. My 6361 maximum sampling frequency is 2 MECH. / s. But I want to use my daq with higher sampling rates. After going through the various positions, I decided for two options to increase my sampling rate. You must connect a 5 MHz signal generator to use as an external clock. Another is to use the timer to synchronize PXI Chassis

    My question is

    (1) what is the limit to the frequency that we can use as external clock for data acquisition? Which parameter is limiting the performance of the ADC, if we use the higher clock frequency signal?

    (2) I also learned about an option called 'base time in PXI Express chassis'. can I use this option? Someone please give me a link to a good tutorial on the basis of time in a single PXI Express chassis?

    (3) SMU-1071 chasis, 100 MHz differential clock. Is it possible to use it as a clock to my DAQ 6361 signal?

    Concerning

    Vaidhin.

    HI Vaidhin,

    The article mentions the background basket clock as a possible means for synchronization, but this is accomplished using it as a phase reference clock - align the oscillators on board your hardware DAQ which are then distributed down to produce the sample clock.  You may not use background basket clock or time base on board directly as a sample clock (on the one hand, these signals is much too fast).

    Measuring 1 MHz with a DAQ hardware 2 MHz could not give you what you expect.  You will get 2 points per period of your entry - it's just at the limit to avoid aliasing of your signal and of course do not a good characterization of the shape of your signal.  You might be able to push the card in slightly beyond 2 MHz but not significantly enough to make a huge difference.  You are right that if you have sounds at higher frequencies could be an alias down in your signal.  Any noise above ~1.7 MHz will begin to be eased by a bandwidth limited the 6163 (there is a chart in the specifications , showing the bandwidth).  If you have between 1 MHz (signal) and ~1.7 MHz noise, you might look into an external filter, but again you are always sampling very slowly to be able to characterize the shape of the signal.

    The next steps to the top (in terms of sampling frequency) would be as follows:

    4 MHz: SMU-6124

    10 MHz: PXI-6115

    There are currently no products that use the same DAQmx driver who can enjoy beyond 10 MHz, but NEITHER there also a range of scanners that you may enjoy a lot faster.  If you are interested in sampling up to 100 MHz, you may consider looking in the SMU-5122- there are also faster scanners available, but these are probably not necessary for your application.

    Best regards

  • Doubts about the sampling frequency when the production and acquisition

    When the generation and acquisition of samples, the maximum sampling frequency is the maximum sampling frequency Council divided between the generation and acquisition of task number?

    Thank you

    Hi Houari,

    You should read the specifications of your box DAQpad!

    It is clearly said: entered analog = 200kS/s rate sampling, but analog output = sample rate of 300 s/s or even just 50 s/s for the hardware timing!

  • What is the relationship with the sampling frequency and number of samples per channel?

    In my world, if I wanted to taste 10 seconds 10 Hz (100 s/ch), specify a rate of 10 and a number of samples of 100.  This would take 10 seconds to return data.  The task does not appear to behave this way.  No matter what rate and the number of samples, I chose, I spammed with data at 1 Hz or more.

    What I am doing wrong?

    This problem is resolved by making a request for telephone assistance.  It turns out that the minimum sampling frequency of the NI 9239 is 14xx s/s.  I don't know why there is a minimum sampling frequency, but now I have to go to the next question discussed at this link:

    http://forums.NI.com/T5/Multifunction-DAQ/how-can-I-read-gt-10x-samples-at-a-sample-rate-of-X/TD-p/2...

  • How can I improve the rate of acquisition with daqmx and usb-6008?

    Hello

    I am trying to acquire data of analog voltage with a USB-6008. I'm under Labview 8.5 student on an HP laptop with a 1.33 Ghz cpu and 736MB RAM, apparently. I tried using the Daq assistant and the low-level Daqmx functions. My best results come with a task set in MAX for my analog input, and using the function 'Daqmx read' the 'unique double 1 d sample' value in a while loop. I insert the values returned in a table which built in the while loop, and then when I'm done, I check the number of samples in the table. In the test VI attached, I also use the time to Get before and after all loop. The best sampling rate I made using this method, is around 40samples/second. I have attached a VI below that illustrates this concept. In my actual application, the data acquisition code runs at a time while loop with 1ms, parallel to other code that controls the device I'm collecting data of. The sampling rate is roughly the same for my test below VI and my application program.

    The 6008 datasheet gives the sampling frequency maximum 10 kHz. I'd be happy with 2 to 2.5 kHz, or as soon as possible; I'm sure that I can achieve a little more than 40 Hz. My first idea was tied to the hardware, but the 6008 cannot make acquisitions NI hardware.

    My question is: How can I implement a faster sampling of analog voltages to a USB-6008 in LAbview? If I can't do it, is there another way I can taste the data more quickly?

    Thank you

    -SK-

    To the best of my knowledge, the USB-6008 can do timed equipment acquisition. Don't forget that this is a multiplexed device, so if you add 8 channels so the maximum you can set is 10 k/8

    If you are new to LabVIEW, I suggest that you try this sample program first

    \examples\DAQmx\Analog In\Measure voltage. llb\Acq & Graph tension-Int Clk.vi

    Amit

  • square pulse time rather than the sampling frequency and size dependent frequency

    Anyone know if it is possible to create a pulse square with its dependent on the frequency at the time rather than the sampling frequency and size?

    for example if I set the frequency to 10. That means 10 pulses per second.

    rather than having to set the sampling rate and use the equation

    frequency = [(# of cycles) * (sampling frequency)] / sample size

    Thanks in advance. a photo of the block diagram would be grateful if possible

    NVM, that I solved it

Maybe you are looking for