How can I store data saved in a table? (C#)

Hello everyone, I m, a freshman in the lineup, so it's probably an easy answer for you guys. I am using Microsoft Visual Studio 2005 and c# with Measurement Studio 2008. My equipment: NOR 6036E I would like to have an analog output and the ability to measure a signal simultaneously. I used the wizard and it works pretty well. I was also able to add code to get my desired signal type. Now my problem: I am also able to record a signal through the wizard, but I can see it right on the waveformgraph. I want to maintain this signal in a table in order to perform an FFT. How a store this signal? Thanks for your help! I appreciate it! Heiko

I found it myself :-)

AnalogWaveform[wf] = e.GetData ();

waveformGraphInputSignal.PlotWaveforms (wf);

Double [] recordedData = wf [0]. GetRawData();

ComplexDouble [] fftOutput = NationalInstruments.Analysis.Dsp.Transforms.RealFft (recordedData);

Double [] magoutput = new double [fftOutput.Length];
for (int i = 0; i)< fftoutput.length;="">

{

magoutput [i] is [i] fftOutput. Greatness;

}

waveformGraph2.Plots [0]. Foot (magoutput, 100, 1);

Tags: NI Software

Similar Questions

  • How can I reload material saved icloud 5th generation iPod touch?

    Just got my 10 years, 5th generation 64 GB iPod of son replaced at the apple store tonite and update software, now how can I reload material saved the iCloud towards it?

    Read here:

    iCloud restoration

    https://support.Apple.com/en-AU/HT201418

  • How can you save data of the iCloud on an external hard drive?

    How can I record data of the iCloud on an external hard drive?

    Is not possible. iCloud requires a Wi - Fi connection to synchronize data. Cannot do it on an external drive.

  • How can I enter data apple fitness?  I swim and take aerobics classes.  I don't wear my Apple Watch during this operation.

    How can I enter data of fitness on my Apple Watch?  I swim and take water aerobics classes and not wear my watch in the water.

    Hello

    It is not currently possible to enter data of fitness on Apple Watch.

    Health and fitness data Apple Watch, iPhone and any other source are rather grouped by health on your iPhone app. Combined data is reflected in the health app charts (which can be added to the dashboard), which adjust the results to avoid any double counting of data from different sources.

    To add a workout that has not been registered by your watch, iPhone, or other existing data source:

    -On your iPhone, in the application of health (icon: red heart on a white background), go to: data on health (tab) > Fitness > training > add a data Point > enter the result of your workout.

    Activity types available when you add a workout currently including swimming, but do not include aerobics (other can be used instead).

  • How can I download data from key USB flash to a Windows 7 computer

    I need to transfer some files from my PC to my PC Windows 7 Windows XP using a USB flash key. I've used Windows Easy Transfer to move my files without problem and some programs but did not download some files. I downloaded these files on a USB flash and I can access the files, as long as the stick is pluged. How can I download data from the USB flash on my Windows 7 computer

    Hello

    The following video may help:

    http://www.YouTube.com/watch?v=hrMQh0Xkpvs

    or this article:

    http://www.swarthmore.edu/documents/administration/its/how%20To%20Use%20A%20USB%20Flash%20Drive.PDF

    and here:

    http://TECHTIPS.salon.com/use-USB-flash-drive-transfer-files-PC-Mac-2544.html

    (Mac here can be a PC).

    Good luck.

  • How can I save data in text format

    How can I save data in text format in labwindows cvi

    Hello

    If your data is in a table, the easiest is to use the ArrayToFile function.

    Automatically, it creates a file and puts your data in it depending on the size you provide.

    If you have individual samples you need to write from time to time, you can either collect them in a table and then use ArrayToFile or open a file with fopen and write them as they are acquired with fwrite.

    Hope this helps,

  • How can I delete a saved solitaire game?

    How can I delete a saved solitaire game?

    Hello Renpfe, since with the right button on Solitaire games Explorer and choose the parts stored in the menu.  This will open your file parts stored when you a deletion of the file. Paul Smith - MVP for Windows desktop experience... I crawled off NNTP - for now. Announcement of Yeovil, United Kingdom. On the internet at windowsresource.net and dasmirnov.net. Please post back to let us know what works and what does not. :-)

  • How can I find my saved files?

    How can I find my saved FILES T J

    HOW T J

    Hello

    Are you talking about search file of the Internet Explore or Windows file search?

    If you do reference for monitoring of internet research explore the article below:

    http://Windows.Microsoft.com/en-us/Windows-Vista/find-a-file-you-have-downloaded Note: Thus, it applies to Internet Explorer 9.

    If you refer for a follow-up to search for the file Windows section below:

    Find a file or folder:
    http://Windows.Microsoft.com/en-us/Windows-Vista/find-a-file-or-folder

    Hope the information is useful.

  • How can I store several sentences and insert without typing?

    How can I store several sentences and insert without typing?

    http://www.colorpilot.com/TypePilot.html

  • How can I read data from my SQLite database?

    I am new to Adobe Air and am playing with creating something simple to insert data into a database and then display it. I was able to insert data successfully but now encounter difficulties to read from the database and display. How can I display data such as a text box or text box?

    This my code for insertion:

    private void sqlConn(dbName___tring,_dbstmt___tring,_dbInsert___tring):void
    {
    sqlC varQLConnection = new SqlConnection ();
    SQLs varQLStatement = new SQLStatement();
    SQLI varQLStatement = new SQLStatement();

    file: var folder = File.applicationDirectory;
    var dbPath:File = folder.resolvePath (dbName);

    sqlc.addEventListener (SQLEvent.OPEN, dbCreated);
    sqlc.addEventListener (SQLErrorEvent.ERROR, dbError);

    sqls.addEventListener (SQLEvent.RESULT, tbCreated);
    sqls.addEventListener (SQLErrorEvent.ERROR, tbError);

    sqli.addEventListener (SQLEvent.RESULT, recCreated);
    sqli.addEventListener (SQLErrorEvent.ERROR, recError);

    sqlc.openAsync (dbPath);

    sqls.sqlConnection = sqlc;
    SQLs. Text = dbstmt;
    SQLs. Execute();

    sqli.sqlConnection = sqlc;
    SQLI. Text = dbInsert;
    SQLI. Execute();
    }

    private void btn_Click (): void
    {
    dbName var= "test.db" tring
    var sqlStatmttring = "CREATE TABLE If NOT EXISTS test_table (id INTEGER PRIMARY KEY AUTOINCREMENT, first_name TEXT, last_name TEXT);
    var sqlInserttring = 'INSERT test_table (first_name, last_name) VALUES('"+txtTaskName.text+"','"+txtTaskDescription.text+"');';
    var sqlReadtring = "SELECT * FROM test_table;"

    sqlConn (dbName, sqlStatmt, sqlInsert);
    }

    That's what I have so far to read the articles. Is this right? How can I use it to display items on one of my opinions?

    private void readItems(dbName___tring):void
    {
    var sqlrQLStatement = new SQLStatement();
    sqlC varQLConnection = new SqlConnection ();
    file: var folder = File.applicationDirectory;
    var dbPath:File = folder.resolvePath (dbName);

    sqlc.openAsync (dbPath);

    sqlr.addEventListener (SQLEvent.RESULT, recFound);
    sqlr.addEventListener (SQLErrorEvent.ERROR, recFoundError);

    sqlr.sqlConnection = sqlc;
    sqlr. Text = "SELECT * FROM test_table ';
    sqlr. Execute();

    Table of results: var = sqlr.getResult () .data;
    }

    Thank you

    They must be in their own class and each class must be in their own folder. If you need a taskClass.as file and a SQLClass in the SQLClass.as file that has the recFound function.

  • How can I add data file to an existing table on Oracle RAC ASM with no OMF? Thank you!

    How can I add data file to an existing table on Oracle RAC ASM with no OMF? Thank you!

    Hello

    So I guess you have some files in ASM, see your first existing file structure

    Select file_name

    from dba_data_files;

    and to add to an existing table, the example below (even if you're better sticking with OMFs!)-is that what you are looking for?

    SQL > create tablespace TEST1

    2 datafile '+ DATA' size 1 M;

    Created tablespace.

    SQL > select file_name in dba_data_files;

    FILE_NAME

    --------------------------------------------------------------------------------

    +Data/orcl2/datafile/users.259.859820983

    +Data/orcl2/datafile/undotbs1.258.859820983

    +Data/orcl2/datafile/SYSAUX.257.859820983

    +Data/orcl2/datafile/system.256.859820981

    +Data/orcl2/datafile/example.269.859821049

    +Data/orcl2/datafile/Test1.271.859843053

    6 selected lines.

    SQL > alter tablespace TEST1

    2 Add datafile ' + DATA / mynewfile01.dbf ' size 2 m;

    Tablespace altered.

    SQL > select file_name in dba_data_files;

    FILE_NAME

    --------------------------------------------------------------------------------

    +Data/orcl2/datafile/users.259.859820983

    +Data/orcl2/datafile/undotbs1.258.859820983

    +Data/orcl2/datafile/SYSAUX.257.859820983

    +Data/orcl2/datafile/system.256.859820981

    +Data/orcl2/datafile/example.269.859821049

    +Data/orcl2/datafile/Test1.271.859843053

    + DATA / mynewfile01.dbf

    Thank you

  • How much is the cloud service? In Swedish SEK? How can I store in the cloud? How can I find information in Swedish?

    How much is the cloud service? In Swedish SEK? How can I store in the cloud? How can I find information in Swedish?

    [email protected]

    Hi rolllex

    Please see this link for the composition of the creative plans plans cloud pricing and membership creative cloud | Adobe Creative Cloud, choose the currency to the link on the page.

    Kind regards

    Nicos

  • How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox

    How can I get data from each associated XMLnode in movieclips separated when you click a line in the combobox?

    A sample of XML is like this:

    <>planter

    < Lauvtre >

    < Botanisk_navn > Acer campestre < / Botanisk_navn >

    < Norsk_navn > Naverlonn < / Norsk_navn >

    Gronn < Farge > < / fan >

    H4 < Herdighet > < / Herdighet >

    < Hoyde > 10-15 m < / Hoyde >

    < / Lauvtre >

    I have a combobox where it shows the botanical name and the Norwegian name. But the rest of the info in movieclips seem separate.

    Someone has an idea how to do this? Can I use the trace function maybe? Here is my AS3 code so far:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void

    {

    your. Text = list.selectedItem.data;

    TB. Text = list.selectedItem.label;

    }

    var xml;

    function onLoaded(e:Event):void

    {

    XML = new XML (e.target.data);

    var it: XMLList = xml. Planter.Lauvtre;

    for (var i: uint = 0; i < il.length (); i ++)

    {

    list.addItem ({data: it.}) Farge.Text ([i]) + "\n"+ it.» Herdighet.Text ([i]) + "\n" + it. Hoyde.text ([i]),

    label: it. Botanisk_navn. Text() [i] + "\n"+ it.» Norsk_navn. Text() [i]});

    }

    }

    Loader.Load (new URLRequest ("lauvtre.xml"));

    Thank you!

    Rheus.

    I don't know what you're trying to do.  but, if you want to fill one combobox with the botanical names and when one is chosen, the other use of logins:

    var loader: URLLoader = new URLLoader();

    loader.addEventListener (Event.COMPLETE, onLoaded);

    list.addEventListener (Event.CHANGE, itemChange);

    function itemChange(e:Event):void {}

    var selectedObj:Object = a [list.selectedIndex]

    trace (selectedObj ['fan'], selectedObj ['Botanisk'], etc);

    }

    var xml;

    var a: Array = [];

    function onLoaded(e:Event):void {}

    XML = new XML (e.target.data);

    var it: XMLList = xml. Lauvtre;

    for (var i: uint = 0; i

    list.addItem({label:il[i].child('Botanisk_navn').toString()});)

    a [i] = {'Fan': it [i].child('Farge').toString (), 'Herdighet': it [i].child('Herdighet').toString (), "Hoyde": he [i].child('Hoyde').toString (), 'Botanisk':il[i].child('Botanisk_navn').toString(),'Norsk_navn':il[i].child('Norsk_navn').toString()};}

    }

    }

    Loader.Load (new URLRequest ("test.xml"));

  • I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    I need to create a table of contents in iPages but I want only one word for the title, not the line of holes. Or, how can I change the contents of the table? Thank you!

    Yes, you can have a one word title, by assigning a paragraph style title to this one word. No, you cannot change the text in a Table of contents, but you can change paragraph style font attributes (line) and add for example, a head of points between the types of OCD paragraph and page numbers. No part of the table of contents will not provide hyperlinks in exported PDF documents.

    When you look up in the menu bar, you can see the word iPages, or simply Pages. There is no product of iPages.

  • Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    Please how can I use a value in a table of the adf in an actionListener to a button I created in a popup and thanks

    What is your version of JDev?

    Actually your question is not clear to me, but as I understand, it is you the table in the page and you have popup inside this popup you have the button you need when you click on the button to read the value of the selected table row. In the listener action button, so if you can get the current row of the table and after that you can get any attribute of the line as:

    DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("TableIteratorName"); // from pageDef.
    Row r = iter.getCurrentRow();
    Object value1 = r.getAttribute("attribute1");
    Object value2 = r.getAttribute("attribute2");
    

Maybe you are looking for

  • get the MAX from the task frequency

    Hello I would like to know if it is possible to obtain the frequency configured in MAX for a particular task in LabVIEW. This is in order to launch the task set by the user in LabVIEW, as set in MAX: channels, frequency etc... I tried differentDAQmx

  • Entry of the appellant does not

    When a caller is sent to a greeting of unity and the appellant of entry is selected as 'allow callers to enter the directory number when wishes' is selected, nothing happens. When you hit a figure during the welcome, nothing happens. Any ideas? Thank

  • Lose the Vista with custom installation Win7 recovery Partition?

    TX2110us under Vista. > If I'm customized (clean installation) installation of Windows 7 should I keep HP_RECOVERY (D intact?) Or should I repartition the drive? > If I have auto update of Windows, what is happening to HP_RECOVERY (D?) > If I need to

  • 5 Lightroom on a new computer installation

    I tried to install 5 Lightroom on my new Macbook. When I try to open it, it says Lightroom catalog called "Lightroom Catalog" cannot be opened because it is too new to be used by this version of lightroom. You want to select a different catalog?I don

  • Creative cloud window is always white

    Helloinactiveforumnotifier