New project using Daq Assistant or not ?

Hi everybody,
I need to create a software to do some realtime acquisition & analysis.
I trained myself a little bit on c# lessons to get use to this programming language; I’m also discovering Measurement Studio & Visual Studio. (I’ve background in C++).
My software will have 2 modes :
Continuous acquisition, signal plotting + signal processing & plotting (fft, 1/3 octave band filter)
Triggered acquisition, signal plotting + signal processing & plotting (fft, , 1/3 octave band filter)
I have examples in my National Instruments directory which don't use daq Assistant and code is different from generated files with daq Component.
If I use Daq Assistant ( http://www.ni.com/tutorial/4652/en/ )
I know that the code to create channel is stored in DaqTask.cs
Plotting :
NationalInstruments.AnalogWaveform<double>[] acquiredData = daqTaskComponent1.Read();
waveformGraph1.PlotWaveforms(acquiredData);
When I look to examples, like "MStudioVS2010\DotNET\Examples\DAQmxWithUI\SpectrumAnalyzer\cs "
all code to create channel is generated in Mainform.cs, there is no Daq Assistant (http://www.ni.com/tutorial/5409/en/ )
and there is a slight difference between acquired type :
private AnalogWaveform<double> data = new AnalogWaveform<double>(1000);
data = reader.EndReadWaveform(ar);
acquiredDataWaveformGraph.PlotWaveform(data);
Questions :
What is the difference between AnalogWaveform<double> and AnalogWaveform<double>[] ? why it's not the same type ? I need to do some signal processing with this signal, so what type should I use for my application  ?
I didn't succeed to configure my 2 modes in daq Assistant (continuous and triggered acquisition) is it possible or should I create 2 Items in my solution, one for continuous acquisition and on for triggered acquisition ?
Kind regards,

Check out the downloads section of iLounge.com. There are a handful or two of applications that will help you transfer songs from the iPod to the computer.
Another option is to network the two computers together and transfer the iTunes folder to the new Mac. All you need is an ethernet cable and to turn on file sharing in the Sharing preference panel. Depending on how old your "older" Mac is, you might need a crossover ethernet cable.
A third option is to hook up the two computers using a Firewire cable. On the older Mac make sure it is shut down, hook the two computers up, turn on the older Mac while holding down the "T" key. On the new Mac you should see the old Mac's hard drive show up. Just find the iTunes music folder and copy it over. You could also use the Migration Assistant which will be in the Utilities folder of the new Mac.
Hope this helps.

Similar Messages

  • I have cs5.5 master collection. Replaced my iMac with a new one, used migration assistant, now on the new iMac the apps will not open,

    I have cs5.5 master collection. Replaced my iMac with a new one, used migration assistant, now on the new iMac the apps will not open,

    I found that out, so used the dvd install disk w the key and tried to install, ran to 87% complete then told me to close,
    safari
    safarinotificati
    i closed safari, still wouldn't finish loading, i closed all safari notifications, nope, can't find any app called safarinotificati
    New iMac, 10.10.2, photoshop ran perfectly on my old iMac with 10.10.2
    so I cannot complete the loading,
    John

  • I replaced the original hdd in my early 2008 iMac.  I can't move my files that were backed up with Time Machine to my new hdd using Migration Assistant.  When prompted to select the "from drive", the ext. hhd does not appears as a selection. Please help!!

    I replaced the original hdd in my early 2008 iMac.  I can't move my files that were backed up with Time Machine to my new hdd using Migration Assistant.  When prompted to select the "from drive", the ext. hhd does not appears as a selection. Please help!!

    I'd recommend staring over, Pondini has created an excellent guide on how to use Setup Assistant. I'd recommend begin reading Pondini Setup Assistant tips where he talks about "Second Chance." Assuming your Time Machine backup is sound the restore  should be very smooth.
    Roger

  • How to use DAQ Assistant to display two analog channels in a XY Graph

    Hi,
    I am new to LabVIEW. I have been assigned a project in which i have to display two analog signals from an analog potentiostat i.e. voltage and current (also a voltage signal) on a graph using labview. I am using a myDAQ device to acquire these analog signals and I am using labview 2013 to display these signals on a graph. I am using DAQ assistant to configure these signals. Rightnow I have separate graphs for each channel. However, I want a single XY graph to display one voltage as a function of the other i.e. I want to have voltage on the X-axis and current output on the Y axis. Any kind of help is greatly appreciated.
    I have attached a screenshot of the VI. that I have made.
    Regards,
    Max
    Attachments:
    New Microsoft Word Document (2).docx ‏32 KB

    Thanks for the quick response. I was able to make a X-Y graph. However, I can only see a dot floating around. It's not drawing anything. I want to see it making a plot as it collects data. Also, I want to see the complete waveform formed when I stop the VI.
    Thanks,
    Max

  • Can't use Daq Assistant in Labview 7.1

    hi! I have Labview 7.1 installed and an AT-MIO-16E-10 NI board. I can see the board in MAX\devices&Interfaces\traditional NI-DAQ but i can't run any tests(Test panels). I don't know if this is normal for this NI-DAQ model. anyway my main conceirn is that i can not use DAQ Assistant in LabView(when i double click on it or right click->Properties nothing happends). So i can't use my board in LabView. please help! thanks a lot

    You can use your board in LabVIEW but you can't use it with DAQmx. In the DAQ Quick Start Guide, the supported devices are listed and the AT E series is only supported with traditional DAQ.

  • I transferred about 400 gigs of data from my MacBook Pro to my new iMac using Migration Assistant, but it doesn't show on Finder. How can I locate my data?

    I transferred about 400 gigs of data from my MacBook Pro to my new iMac using Migration Assistant, but can't find any of my data on Finder. I'm thinking that the data got transferred but not cataloged. Finder shows about 400 gigs of my hard drive being used, but the files it shows don't come anywhere close to 400 gigs. How can I find out what is really on the hard drive and how can I access my MacBook files I transferred?

    I suggest that you start over, boot into Internet recovery mode, launch Disk Utility, erase and reformat the HD with one partition and GUID option, quit Disk Utility, restore the OS, and on first boot, use the Setup Assistant to migrate from the MacBook, following the steps in Pondini's Setup New Mac guide. If that doesn't solve your problem, contact Apple's Support. If they recommend the same steps, I'd opt to return the machine and get another (you can do that the first 14 days you own it, no questions asked).
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Acquiring pressure data using daq assist

    Hi all,
    I want to use DAQ Assist to measure the pressure.When i select DAQ Assist>Acquire Signals>Analogue Input>Pressure>Pressure(Bridge) then is says 'no supported devices found'
    What should i do?
    thanks

    I have Trafag pressure sensor anyway i give up doing it by daq assistant.I did it by using another daq tools.But now i have a new problem in calibration of sensor so i will post a new question

  • Getting the data in file using DAQ assistant in Labview

    I am using SCXI 1000 chassis, SCXI 1125 input module and SCXI 1320
    terminal.
    I am using DAQ assistant in labview to obtain temperatures and store it in
    a file. The experiments run the whole day and I need the whole data
    generated during this time to be stored in a single file, but I am unable
    to store it in a single file.
    Can someone please give me some insight as to how can I achieve this?

    Hi Mr,
    It would be helpful to see your code to see exactly how you are acquiring the data. Are you doing continuous buffered measurements? Or are you performing single point temperature measurements in a while loop?
    Either way you will want to use the "write to spreadsheet" VI in your loop. Simply wire your data into the "write to spreadsheet" vi and se the "append to file" input to TRUE. This will make the data add on to the end of the file with each iteration of the loop. The "write to spreadsheet" VI is located in the file IO pallette in LabVIEW.
    Thanks,
    Sal

  • When using DAQ assistant to read frequency

    When using DAQ assistant to read frequency and Task timing is set to:
    N Samples, Clock settings to read 26,
    Frequency setup to rising edge,
    1 counter with 10 kHz to 1 kHz range.
    I get back a single number.
    Can I assume this is an average reading of 25 samples with the first sample unused?
    What is the base clock used?
    Is the “26” 26 cycles of the frequency to be measured?

    Hello,
    If you choose to acquire N samples from the DAQ Assistant then it will acquire all of these samples and return them to LabVIEW as an array.  However, when you use the DAQ Assistant it outputs the data in the dynamic data type first.  This data type makes it easy to graph and run the data through other express VIs.  If you were to create a Numeric Indicator from this data type it would just display the last element from the dynamic data array.  To display this data properly in a numeric format convert the dynamic data to an array of doubles by using the Convert From Dynamic Data function in LabVIEW.  Then you can select to convert it to a 1D array of scalars and when you create an indicator off of the output of this function all of the data should be displayed.
    The timebase that is used for lower frequency measurements is the onboard clock, which is internally connected to the Source.  Then you connect your signal to be measured to the Gate of the counter.  Since the frequency of the onboard clock is known it can be used to calculate the frequency of an unknown source based on when the counter is on and off (determined by the Gate). 
    Have a good day,
    Brian P.
    Applications Engineer

  • Using DAQ-assist to input a waveform; need help building a counter to count voltage "spikes"

    Hey all! I'm pretty new to labView and even newer to this forum, but its nice to meet you all...I hope that perhaps someone can help me with my problem.
    Allow me to begin by detailing the specifications of the problem.  I am an undergraduate student, and have a job doing research in a MEMS (micro/nanotech) lab.  The graduate student I am making this program for is working on biomedical applications;  eventually, the program will be connected to a microdevice that has a tiny channel in it, cut through a wee little capacitor, which blood will run through.  As red blood cells pass this capacitor, the voltage will spike; meaning that for each voltage spike, we can (and are trying to) count the number of red blood cells.
    However, I am still in the early developement of the program, so this above specific info is not that important.  Basically, I am using a function generator to input a waveform to the DAQ assistant of, say 500 mV.  I am trying to write a program that increments a counter every time I turn the voltage above say 550 mV (peak-to-peak), counting the number of simulated "spikes."  I have tried quite a lot to write a working program, and although I have not gotten it to work yet, I will post a screenshot of my most recent attempt HERE:
    I thank you in advance for any helpful tips, advice, or straight up assistance you may be able to give me.  Please ask me any clarifying questions about the program I wrote or the application, or anything.  Happy Friday! 

    Hey guys, it's been a while!  A lot of stuff has been happening in my life and I have had virtually no time to work on my LabView project.  
    I did create a LabView program based off IanW's reccomendation.  I am unsure of what exactly is going wrong, but when I run it, only a simple "snapshot" of a waveform from the DAQ shows up in the graph.  Even when I put the DAQ assist in a seperate while loop, the same thing happens.  I am including a screenshot of the project in case I am messing something entirely different up.  If you happen to read this, I really appreciate your help and thank you Ian! 
    I am also having a random issue with the filter signal VI.  So that background signals in the actual experiment do not read as "spikes" I have been instructed to include a high-pass filter in the VI.  However, everytime I use the high pass filter VI, it botches my signal and turns it into a bunch of noise!  I, nor my graduate mentor (who isn't too well-versed in LabView) have any idea why this is - we've tried using different types of filters to no avail.  
    Lastly, I would like to talk to Peter about a few questions I had abour LabView design.  In case you're still around, I will write another post later today with more detail.  In the meantime, I will try to find some of the example VIs about shift registers   All who read this have a great day!
    Attachments:
    count spikes pic.png ‏29 KB

  • Input of DAQ assistant does not initialize soon enough

    Dear all,
    We are trying to generate an analog voltage output with the NI 9263 and then read that as an analog input with the NI 9215 as part of an academic exercise. Both of these are on board the NI cDAQ-9174 (compact DAQ). An analog waveform is generated within Labview (either a sine, square, or constant), and that signal is fed into the DAQ assistant to make an analog output. 
    From there, wires connect the 9263 output into the 9215 input. A second DAQ assistant is used to acquire that input voltage from the 9215. 
    The problem occurs when the waveform generated voltage and voltage input are printed on a waveform graph. The input signal for the sine and square waves occurs before the waveform generation signal (i.e., the input is phase shifted to the left instead of to the right, as we would expect due to latency).
    We believe the problem occurs because the waveform is being output before the input has had a chance to initialize and start recording measurements. 
    Is there a way to initialize the DAQ assistant and start taking measurements before the output is generated? Or is there a way to determine the absolute time of each so that we can plot them in absolute time?
    Thank you for any help you can give.
    Attachments:
    Basic inout4square.vi ‏412 KB

    I tried cleaning up the program as best I could. I'm sure you can tell I am new with LabView. Thanks for taking a look even though it was so messy.
    The problem we are having now is that the input data lags the output data by anywhere from 30-50 ms, which seems like far too large a delay. This is when I turn the Waveform Graph to "Ignore Time Stamp". Because the generated output voltage is graphed from the waveform generator, it seems to take a while for it to progress through the program and through the hardware, thus the input voltage graph lags.
    When I turn the Waveform Graph to not "Ignore Time Stamp," the signal from the waveform generator occurs in the year 1903. I've tried searching on how to change this to the current time, but I can't seem to find a way to do that, despite plenty of other people wondering about this. Is there a way to do this so we can know the time at which the generated waveform signal is actually sent to the output DAQ assistant?
    Attachments:
    basic.vi ‏149 KB
    blockdiagram.PNG ‏28 KB
    delay.PNG ‏24 KB

  • How do I use DAQ Assistant to output DC on an AO?

    My background includes 15 years of programming PLC's. AO's were simple. You passed the AO a value between preset ranges and it output a proportional voltage signal based on the hardware capabilities.
    I foolishly thought LabView and DAQ AO's would be about the same. I built a vi to generate a DC signal which I could control the amplitude of. I also tied it to a chart to monitor how it worked. I managed to draw some very pretty ramping pictures on my chart, but when I put a DMM across the physical terminals I see no voltage.
    Then I used MAX to test the channel and measured it again. Now I see voltage on my DMM. I was attempting to use the DAQ Assistant to do this. Do I need to force it to re-read the changing value I am sending it? All of the examples I find show me more primitive methods, and I could not seem to get any of them to do what I want either. I need to send a speed reference to a DC drive.
    My incorrect method was to recursively add a value for ramping the signal up or subtract to ramp down. This method works perfectly on an industrial PLC. I connected a chart to the signal just as it entered the DAQ Assistant, but the only way I could check the actual was with the DMM.
    Are there any examples that use the Assistant? If not then I guess I will have figure out how to use the primitives anyway.
    technomage

    Hello technomage,
    It looks like we have discussed this problem in another thread (found here).  If you have any other questions about it, please post there.
    Regards,
    Jesse O.
    Applications Engineering
    National Instruments
    Jesse O. | National Instruments R&D

  • Will windows os under parallels migrate to new mac using migration assistant

    I have been using parallels 7 with windows 7 on a 2008 macbook pro. I have gotten a new 2012 macbook pro and plan to use migration assistant. Will windows install without my having to call Microsoft? I also have Office 2010 and wonder if I need to call Microsoft to allow me to use it on the new MacBook?
    I have made a clone of my older computer. I have done Time Machine also

    Migration Assistant only migrates - it does not delete anything from the 'other' machine.
    Good luck,
    Clinton

  • How can I set which projects use Proxy Media and not just change every project?

    Hi there
    I can see how to change ALL projects to use Proxy Media or Original/Optimised Media
    in
    Preferences>Playback
    But I'm switching between projects a lot and I only want to use Proxy Media on one project, so how can I tell FCPX to only use Proxy Media on that ONE project?
    Thanks

    Perhaps if apple didn't take back prores LT this wouldn't be as much of an issue.
    Pores LT was a great compromise between file size and quality. It produced a fine image for most peoples needs and was 30% smaller.
    Hopefully it will be returned soon. I can't imagine why it's not already there. Unless they want to charge for it, ... again..
    Have you tried capturing as full res, then change prefs back to proxy, open a new project and import the full res files?
    In FCP7 the render pref was separate from the capture pref. is that gone too?
    If my idea doesn't work, Surely someone will chime in with a creative work around to this.
    And hopefully it'll get fixed soon in an update.
    Best,
    g

  • Error while creating new projects using api

    Hello,
    I am having error while creating projects using standard api, PA_PROJECT_PUB.CREATE_PROJECTS. The error I am having is as follow.
    Source template ID is invalid.
    ===
    My code is as follow:
    SET SERVEROUTPUT ON SIZE 1000000
    SET VERIFY OFF
    define no=&amg_number
    DECLARE
    -- Variables used to initialize the session
    l_user_id NUMBER;
    l_responsibility_id NUMBER;
    cursor get_key_members is
    select person_id, project_role_type, rownum
    from pa_project_players
    where project_id = 1;
    -- Counter variables
    a NUMBER := 0;
    m NUMBER := 0;
    -- Variables needed for API standard parameters
    l_commit VARCHAR2(1) := 'F';
    l_init_msg_list VARCHAR2(1) := 'T';
    l_api_version_number NUMBER :=1.0;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    -- Variables used specifically in error message retrieval
    l_encoded VARCHAR2(1) := 'F';
    l_data VARCHAR2(2000);
    l_msg_index NUMBER;
    l_msg_index_out NUMBER;
    -- Variables needed for Oracle Project specific parameters
    -- Input variables
    l_pm_product_code VARCHAR2(30);
    l_project_in pa_project_pub.project_in_rec_type;
    l_key_members pa_project_pub.project_role_tbl_type;
    l_class_categories pa_project_pub.class_category_tbl_type;
    l_tasks_in pa_project_pub.task_in_tbl_type;
    -- Record variables for loading table variables above
    l_key_member_rec pa_project_pub.project_role_rec_type;
    l_class_category_rec pa_project_pub.class_category_rec_type;
    l_task_rec pa_project_pub.task_in_rec_type;
    -- Output variables
    l_workflow_started VARCHAR2(100);
    l_project_out pa_project_pub.project_out_rec_type;
    l_tasks_out pa_project_pub.task_out_tbl_type;
    -- Exception to call messag handlers if API returns an error.
    API_ERROR EXCEPTION;
    BEGIN
    -- Initialize the session with my user id and Projects, Vision Serves (USA0
    -- responsibility:
    select user_id into l_user_id
    from fnd_user
    where user_name = 'SSHAH';
    select responsibility_id into l_responsibility_id
    from fnd_responsibility_tl
    where responsibility_name = 'Projects Implementation Superuser';
    pa_interface_utils_pub.set_global_info(
    p_api_version_number => l_api_version_number,
    p_responsibility_id => l_responsibility_id,
    p_user_id => l_user_id,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status);
    if l_return_status != 'S' then
    raise API_ERROR;
    end if;
    -- Provide values for input variables
    -- L_PM_PRODUCT_CODE: These are stored in pa_lookups and can be defined
    -- by the user. In this case we select a pre-defined one.
    select lookup_code into l_pm_product_code
    from pa_lookups
    where lookup_type = 'PM_PRODUCT_CODE'
    and meaning = 'Conversion';
    -- L_PROJECT_IN: We have to provide values for all required elements
    -- of this record (see p 5-13, 5-14 for the definition of the record).
    -- Customers will normally select this information from some external
    -- source
    l_project_in.pm_project_reference := 'AGL-AMG Project &no';
    l_project_in.project_name := 'AGL-AMG Project &no';
    l_project_in.created_from_project_id := 1;
    l_project_in.carrying_out_organization_id := 2864; /*Cons. West*/
    l_project_in.project_status_code := 'UNAPPROVED';
    l_project_in.start_date := '01-JAN-11';
    l_project_in.completion_date := '31-DEC-11';
    l_project_in.description := 'Trying Hard';
    l_project_in.project_relationship_code := 'Primary';
    -- L_KEY_MEMBERS: To load the key member table we load individual
    -- key member records and assign them to the key member table. In
    -- the example below I am selecting all of the key member setup
    -- from an existing project with 4 key members ('EE-Proj-01'):
    for km in get_key_members loop
    -- Get the next record and load into key members record:
    l_key_member_rec.person_id := km.person_id;
    l_key_member_rec.project_role_type := km.project_role_type;
    -- Assign this record to the table (array)
    l_key_members(km.rownum) := l_key_member_rec;
    end loop;
    -- L_CLASS_CATEGORIES: commented out below should fix the error we get
    -- because the template does not have an assigment for the mandatory class
    -- 'BAS Test'
    l_class_category_rec.class_category := 'Product';
    l_class_category_rec.class_code := 'Non-classified';
    -- Assign the record to the table (array)
    l_class_categories(1) := l_class_category_rec;
    -- L_TASKS_IN: We will load in a single task and a subtask providing only
    -- the basic fields (see pp. 5-16,5-17,5-18 for the definition of
    -- the task record)
    l_task_rec.pm_task_reference := '1';
    l_task_rec.pa_task_number := '1';
    l_task_rec.task_name := 'Construction';
    l_task_rec.pm_parent_task_reference := '' ;
    l_task_rec.task_description := 'Plant function';
    -- Assign the top task to the table.
    l_taskS_in(1) := l_task_rec;
    -- Assign values for the sub task
    l_task_rec.pm_task_reference := '1.1';
    l_task_rec.pa_task_number := '1.1';
    l_task_rec.task_name := 'Brick laying';
    l_task_rec.pm_parent_task_reference := '1' ;
    l_task_rec.task_description := 'Plant building';
    -- Assign the subtask to the task table.
    l_tasks_in(2) := l_task_rec;
    -- All inputs are assigned, so call the API:
    pa_project_pub.create_project
    (p_api_version_number => l_api_version_number,
    p_commit => l_commit,
    p_init_msg_list => l_init_msg_list,
    p_msg_count => l_msg_count,
    p_msg_data => l_msg_data,
    p_return_status => l_return_status,
    p_workflow_started => l_workflow_started,
    p_pm_product_code => l_pm_product_code,
    p_project_in => l_project_in,
    p_project_out => l_project_out,
    p_key_members => l_key_members,
    p_class_categories => l_class_categories,
    p_tasks_in => l_tasks_in,
    p_tasks_out => l_tasks_out);
    -- Check the return status, if it is not success, then raise message handling
    -- exception.
    IF l_return_status != 'S' THEN
    dbms_output.put_line('Msg_count: '||to_char(l_msg_count));
    dbms_output.put_line('Error: ret status: '||l_return_status);
    RAISE API_ERROR;
    END IF;
    -- perform manual commit since p_commit was set to False.
    COMMIT;
    --HANDLE EXCEPTIONS
    EXCEPTION
    WHEN API_ERROR THEN
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    WHEN OTHERS THEN
    dbms_output.put_line('Error: '||sqlerrm);
    FOR i IN 1..l_msg_count LOOP
    pa_interface_utils_pub.get_messages(
    p_msg_count => l_msg_count,
    p_encoded => l_encoded,
    p_msg_index => i,
    p_msg_data => l_msg_data,
    p_data => l_data,
    p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('ERROR: '||to_char(l_msg_index_out)||': '||l_data);
    END LOOP;
    rollback;
    END;
    ===
    Msg_count: 1
    Error: ret status: E
    ERROR: 1: Project: 'AGL-AMG Project 1123'
    Source template ID is invalid.
    PL/SQL procedure successfully completed.

    I was using a custom Application, which had a id other then 275 (which belongs to Oracle projects)

Maybe you are looking for