Generate a series of waveforms and record the data in a file

System:
Win7
Labview 8.5 or 10 (can choose)
PXI-1033 rack with:
PXI-5421 AWG
PXI-4071 DMM
PXI-6542 Digital IO
PXI-4110 DCPower
PXI-5124 Digitizer
I am working on a summer project to create a functional test system for four different types of PCBs. I will use a test rig as an interface to these PCBs, where each type will be identified by its position. Please see attached UML as to how I want the program to run.
I want a user settings box pop up when the application is started, where the operator must enter his name and choose which type of board. Further, after entering these details, I want the application to start testing according to which type of board is in the system and which type the operator indicates (the user prompt for card details is just a precaution).
I am trying to figure out what sort of architecture I should use for the LV part of it. So far I've managed to run the AWG and digitizer as two seperate VIs, but I've read a little bit about using the Producer/Consumer architecture, and want to know if this is a good idea? And which parts should be where? The AWG will input data to the PCB, which will be recorded by the digitizer and then testet using a mathscript and recorded to file.
So I figure I have to use some sort of event and sequence structure. For example, I want to output two sinusoidal signals with different frequencies after each other and check the voltage amplitude of the scoped output signal and record this.
If someone could point me in a direction of how to start, I would be very happy. After looking through some of the topics here, I have seen that it is often suggested to use the producer/consumer architecture, so before I do a lot of work which I might have to re-do I want to ask for help will post my solutions as I go.
Attachments:
uml.png ‏63 KB

The LabVIEW large applications community should be able to give you all the info you need.  Check it out here.  Let us know if you need more info.
This account is no longer active. Contact ShadesOfGray for current posts and information.

Similar Messages

  • Generating sound signal and record the timing using labview

    Hi,
    can somebody help me in generating audio o/p from daq 6036 and record the same signal for reference.

    Kanth,
    I think you will find there are lots of topics already on the forums talking about trying to do this.
    Here are a couple of examples:
    Forum: Continuous audio output with varying volume or frequency
    Forum: How do I get audio output from a labview program
    Probably the easiest way is to search the forums for what you are looking for:
    Search Results on forums.ni.com for 'audio' and 'output'
    Finally, here is an example program that may also help you:
    NI-DAQmx: Acquiring Audio and Transferring It to a PC Sound Card
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments

  • Is there a way I can take a cassette played and into my iPhone and plug it and record the contents of the casstte onto my device?

    Is there a way I can take a cassette played and into my iPhone and plug it and record the contents of the casstte onto my device?

    no

  • Can I repeat and record the same music tracks in Itunes

    How can I repeat and record the same music tracks in Itunes

    I would advise against this.
    You can redownload some itunes purchases from itunes, but there is no guarantee that it will be there in the future.

  • Is it possible to trigger the acquisition and recording of data in this condition?

    Hi
    I am a LabVIEW newbie,
    Is it possible to trigger the data acquisition and recording in the following case;
    I have two input signals 1. Pressure Transducer 2. Pulse from a magnetic pickup.
    I have to plot the pressure data against the pulses. Can I make the magnetic pickup signal as master signal to trigger the data acquisition and recording? and at the same time acquiring the pressure data as well.
    How can I do that ?
    Thanks.

    Hi Rich
    Thanks...
    I have PCI - 6033E High resolution multifunction I/O board and NI BNC - 2090 adapter chasis.
    What I am getting is the pressure from the transducer and magnetic pulses.
    Two cosecutive pulses encompass one complete cycle of the combustion process inside the engine.
    I need to record the data for presenting the information offline.
    Since combustion is a highly unstable process I need to get the optimum representative grapgh at a particular engine speed.
    So lets say, I want the magnetic pulse to trigger this the data acquisition for 50 of such pulses, i.e. 50 complete cycles of diesel engine. So that these 50 acquired cycles may be averaged for pressure readings and a single representative curve (graph) may be produced.
    Thanks again
    Message Edited by SeaMist on 06-26-2008 02:49 AM

  • I generated a new Itunes Account and now the App sync. does not work with theapps I bought with the old account. Is it possible to merge the old and the new account ?

    I generated a new Itunes Account and now the App sync. does not work with the apps I bought with the old account. Is it possible to merge the old and the new account ?

    It is not possible to merge Apple IDs. 
    Why did you create a new one?

  • Dynamically generating the ssrs dataset and filling the data into the dataset and binding it to ssrs report dynamically

    I have a work to do, in ssrs we are using server reports in our project. i am looking for dynamically generating the ssrs dataset and filling the data into the dataset and binding the dataset to ssrs report(RDL) dynamically.
    Getting the dataset dynamically has a solution by using Report Definition Customization Extension (RDCE), but the problem is binding that dataset to the report(RDL) dynamically was not there.
    Here is the reference for RDCE http://www.codeproject.com/Articles/355461/Dynamically-Pointing-to-Shared-Data-Sources-on-SQL#6
    I looked for binding the dataset to the report(RDL) dynamically and searched many sites but i did not get the solution. Can anyone help me here.
    Is there any custom assemblies or any Custom data processing extensions to work around. Please help.
    Thanks in advance

    Hi Prabha2233,
    Thank you for your question.
    I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
    Thank you for your understanding and support.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • I need an app or software that records the date/time each time a write something and press enter. This needs to be quick so I can continue writing right after I press enter, and the date/time is inserted for each word. Does this sort of software exist?

    I need an app or software that records the date/time each time a write something and press enter. This needs to be quick so I can continue writing right after I press enter, and the date/time is inserted for each word. Imagine a spreadsheet - each time a write something in a cell and press enter to go into the next cell, I need the app/software to automatically insert the corresponding dat and time. Does this sort of software exist?

    No one here is going to do anything about it. Send feedback to Apple.
    http://www.apple.com/feedback/ipad.html
    Basic troubleshooting steps. 
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 

  • Problem when recording the data using BDC for Tcode CJ02.

    Dear Experts,
    When i am trying to record the data for TCODE : CJ02 i need to enter the project  Definition and enter the WBS element it takes me to the screen then i should select the WBS element and attach a file for that selected WBS element . The option for me to attach the attachment of file  will be available on the application area(Services for the Object).
    Now the problem when i try to do recording in SHDB this option like create attachement is not visible in the recodring . Kindly suggest me what can i do such that i attach the file for the particular project def and WBS element.
    Either suggest any function module or other procedure .......
    Regards,
    Sana.

    Hi,
      in BDC each and every action is recording. If your press enter in same screen that also recorded once aging may be this is your case repeating field values will appear. we can solve the problem for repeat fields like below.
    suppose in your excel having repeated field X1 X2 X3 the X2 contains repeated field X3 means delete the X3 field.
    Now In your itab having X1 and X2 fields. While in the LOOP the ITAB pass the X2 field to repeated the fields.
    LOOP at ITAB to WA.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'BDC_CURSOR'.
    bdcdata_wa-fval = 'RM08M-EBELN'.
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." 1st time pass the X2 fields
    APPEND bdcdata_wa TO bdcdata_tab.
    CLEAR bdcdata_wa.
    bdcdata_wa-fnam = 'INVFO-BLDAT'.
    bdcdata_wa-fval = wa-X2." pass the same value to repeated field
    APPEND bdcdata_wa TO bdcdata_tab.
    Endloop.
    Hope you can understand.
    Regards,
    Dhina..

  • Creating a module pool screen and upload the data entered,

    Dear Experts,
    As i am new to this area, can any one suggest me how can i design a module screen and also the data entered in the screen should be saved in Ztable.
    It would be of great help if any one provides material sort of thing.
    Thanks in advance..

    Hi
    Goto SE51 and design your screen.
    For each control specify the name. For a few controls you need to specify the function codes as well. Until you specify all the mandatory details the controls will remain pink.
    When you are done, Save and Activate.
    Click on Flow Logic button.
    Specify the modules you want to use in PBO and PAI.
    In the program declare data objects having same name as your screen fields.
    When you enter data in the screen fields, the values are automatically stored in the data objects you declared having the same name.
    If you want to insert the details into a ztbl, simply use insert queries and pass data using the data objects you have defined.
    If you are going for BDC:
    First ensure that your screens and code work correctly. Then do the BDC recording for one value. Modify the recorded program according to your requirement.
    Hope this helps
    Regards,
    Jayanthi.K

  • How does waveform graph downsamples the data before it is plotted

    Hi,
    I'm interested in how does waveform graph downsamples the data before it is plotted and what algorithm is used for this purpose? My goal is to plot 30 plots that have 1M samples each and I would like to downsample them before plotting onto a graph. I tried several VIs/algorithms for resampling and none of them gave the same result as seen by waveform graph (when all the samples are plotted).
    For example, if only one sample of 1M samples is 1 and all others are 0, then after downsampling to 1k samples the sample is not visible on the graph anymore. However, if I plot all 1M samples directly onto the graph, then also this 1 sample is visible (see attached example). 
    Solved!
    Go to Solution.
    Attachments:
    WFGDownsampling.vi ‏19 KB

    Hi andrej,
    LabVIEW draws plots in the way that draw every pixel affected by signal. So for example if there is zero-valued 1M samples and even one equals to 1, you will see the peak. That is the reason why you do not get the exactly same behavior comparing to interpolating. But if you set FIR as interpolation mode in Resample Waveforms (single shot).vi, result is really similar, but of course amplitude is 1000-times smaller than original one (because there is dt set to 1000). Keep also in mind that in Graph 2, there is different Y-scale and it should be considered as noise, not relevant data, I would expect 1000-times smaller amplitude as in Graph 3, it is many more times smaller.
    I would also like to say something about downsampling (decimating) the data. If you have 1M samples, you can see the peak even that there is only one value. But bigger problem is that with this graph resolution (I guess that is not more than 1000px), it is problem to find position of this peak. It means that still the zoom is needed to know where the peak is. Usually, when there is that big set of data, you are extracting different data (statistical information, peaks in FFT, etc.) not just visual data in graph.
    Mariaaa:
    I do not understand your question, can you please describe more your needs? You mentioned saving the data into a file, you can use Write to Measurement File express VI or see Write to Text File.vi in Example Finder and try to appropriately modify it.
    Best regards,
    Martin

  • Unable to decode and import the select wav/mp3 file

    Hi,
    I've been TRYING to test the Text-to-speech feature in
    Captivate 4. Problem: "Unable to decode and import the select
    wav/mp3 file" each and every time I want to use it. Frustrating!
    I also tried importing sounds from the library, same problem.
    My system is Vista Business 64Bit, 4Gb RAM, Intel SSD hard
    drive, conexant high definition audio 221 on a Lenovo T400.
    How do I fit this? I want to try it out damnt :)

    I went through the "unable to decode and import the selected wav/mp3 file" error.  After talking with an Adobe Rep,  I quickly realized that I could NOT use the directions.  I have no experience in using Command Prompts.  I have written down the directions by key stroke for those people that are similar to me.  Enjoy!
    For Vista and Win7,
    Click on the circle start menu,
    In the search box, type in command and in the generated list, "right-click" on the comman link and change to "run as administrator".
    Go back to the search box, type in command and hit enter.  This will take you to the command prompt window (black window w/ white text) lol
    You have to get to the right directory first.
    Type: cd (space-bar) .. (hit enter)
    Type: cd (space-bar) .. (hit enter)
    If Captivate is installed on Program Files (x86) ---
    Type: cd (space-bar) progra~2 (hit enter)
    If Captivate is installed on Program Files
    Type: cd (space-bar) progra~1 (hit enter)
    Type: cd (space-bar) Adobe (hit enter)
    Type: cd (space-bar) Adobe (space-bar) Captivate (space-bar) 4 (hit enter)
    Type: regsvr32 (space-bar) NSAudio.dll (hit enter)
    If you get an error at any point, re-key that particular line.
    Once you see that the last line of command went through, open up Captivate and test the Text to Speech.  These instructions fixed both computers I was working on!!!!

  • CP4 unable to decode and import the selected wav/mp3 file

    I am trying to import a .wav file into a project and get an error message 'unable to decode and import the selected wav/mp3 file'.
    I have tried the solution huan_miguel posted a week ago for someone with the same problem.
    http://blogs.adobe.com/captivate/2009/03/adobe_captivate_4_installatio n.html
    executed all the steps described in this link.
    Unfortunately, the problem is still there.
    Any other solution?

    You're probably going to need to do both.
    Although Captivate can certainly accept a 10 meg audio file, you would need to add it to the movie and then synchronise the slides to the audio. Chopping the audio file up and adding the relevant bits to each slide has both advantages and disadvantages.  It's easier to control the playback synchronisation when you divide up the audio, but it's more work.
    Take a look at this graphic from SoundBooth when I export an audio file recorded in Captivate 5:
    Notice that it shows the bitrate of the Captivate WAV file as being 16 bit.  This is quite a low bitrate.  You can go as high as 32 bit in SoundBooth, however, in my experience, when you try to import a WAV into Captivate that is over 16 bit you will encounter issues.  Cp just doesn't seem to like it.
    If you want to learn more about bit rates in multimedia: http://en.wikipedia.org/wiki/Bit_rate
    Suffice to say, you need to find out what the current bit rate of the audio file is, and if necessary, save it as 16 bit for Captivate.  For this, you will require some kind of audio editing software.
    You can try using Audacity as someone else suggested: http://audacity.sourceforge.net/  and try exporting the file out as 16 bit.
    However, if you are going to be doing quite a bit of this type of work, I would suggest you invest in Adobe Soundbooth, or something of that ilk.  You'll enjoy the experience more.

  • Unable to decode and import the selected wav/mp3 file

    I am trying to import mp3's into a Captivate 3 presentation
    but keep getting this error "Unable to decode and import the
    selected wav/mp3 file." I am using the same mp3 files that I have
    used many times with projects in Cap1 and Cap2. I have converted
    the files to wav's and tried but I'm still getting the same
    message. I have a deadline and I'm stumped.
    Any ideas?

    Hi DianaUNC
    Interesting. I've seen it happen with WAV files but not MP3.
    Do you still have Captivate 2 around? If so, do these successfully
    import into Captivate 2? One thought was that you might pop them
    into something like Audacity and save them out again. Perhaps
    something is amiss with the encoding used.
    Or you might try the trick of opening them in Windows Sound
    Recorder and saving them out of that in a different format. I know
    that works with one particular WAV file I have.
    Cheers... Rick

  • How to continuous​ly do AOAI and buffer the data for later use?

    Is there a way to do simultaneous AI and AO and keep the data in the buffer until I am finished with reading, then read the buffer and save the data to disc. I want to acquire 1000 scans on up to 10 chanels at 10 000 Scans/s, while generating one output signal.
    I have seen plenty of continuous AIAO examples, but all they do is show the data. I don't mind not viewing the data, all I want is to hold it for later analysis, while avoiding writing to disc as I fear this will slow the process too much. Or would a different approach than simultaneous AIAO be more appropriate?
    I am using LabView 6.1 with 6024E DAQ card on a P-IV 1.5GHz.

    Use this vi MainProg.vi in the llb
    i use a same engine to acquire at 2 MS/s and generate at 3 MS/s
    "Fil" a ?crit dans le message de news:
    506500000008000000C8620000-1031838699000@exchange.​ni.com...
    > Is there a way to do simultaneous AI and AO and keep the data in the
    > buffer until I am finished with reading, then read the buffer and save
    > the data to disc. I want to acquire 1000 scans on up to 10 chanels at
    > 10 000 Scans/s, while generating one output signal.
    > I have seen plenty of continuous AIAO examples, but all they do is
    > show the data. I don't mind not viewing the data, all I want is to
    > hold it for later analysis, while avoiding writing to disc as I fear
    > this will slow the process too much. Or would a different appro
    ach
    > than simultaneous AIAO be more appropriate?
    > I am using LabView 6.1 with 6024E DAQ card on a P-IV 1.5GHz.
    [Attachment 4x10KSps to Disk& generate AO.llb, see below]
    Attachments:
    4x10KSps_to_Disk&_generate_AO.llb ‏128 KB

Maybe you are looking for

  • CS3 Uninstaller won't run in Lion - how to uninstall manually?

    I migrated from a Snow Leopard Mac to a new Lion Mac (keeping the same username and keychain) and CS3 Web Premium runs fine, except Dreamweaver won't launch (just a blank dialog). I want to uninstall just Dreamweaver (if possible) so I can try reinst

  • Document clearing required in vendor invoice in FB60 and MIRO

    Hello Experts, I am posting one vendor invoice. I want to distribute one vendor invoice between two profit centers. Now SAP is posting following entries: Expense A/c... Dr (Cost Center: 100001 / Profit Center: 1000) - Rs.5000 Tax Receivable A/c... Dr

  • Printers

    If I am interested in purchasing a Mac, I need to know a few things first. One of my main questions is about printers. I need a printer/fax/copier/scanner. I am hoping for an all-in-one. I have looked on the Apple Online Store, and I have found some.

  • Where is the WebLogic Portal 10.3.5 installation guide?

    Hi, I can find the "Oracle WebLogic Portal Online Documentation Library 10g Release 3(10.3.5)" - http://docs.oracle.com/cd/E35968_01/index.htm But I cannot find an installation guide. Does one exists? Regards Peter

  • E-mail issues in web ic (CRM 2007)

    We are in the process of upgrading our old CRM system from 4.0 sp6 to CRM 2007.  I'm currently working on the web ic area and have e-mails coming into the inbox of the CRM 2007 version of our Web based interaction center.  E-mails sent to our preconf