Build waveforms of the discrete points

Hi all

I'm doing a signal generator with the possibility of an arbitrary waveform.

I have a graph with some sliders on it that you can move you like (only in the direction Y, not X) of these points, I would like to

to create a 'soft', waveform, which is a waveform with lets say 500 points so the edges is not so rough. I have attached a few photos showing what I

have and what I would ) (I have the discreet and I would finesse of waveform as the exit)...

I tried tinkering with FIR filter, interpolation, spline function, but I don't think it's the way to go because of the low amount of datapoints that I start

with, but perhaps that these functions could be a second step in the process?

This curve is something the user will draw whenever he starts the program, that's why I'm kind of limited to max 10-20 points all about to create a waveform

similar to that of the image.

Hope you understand my problem and are able to help.

Thank you

Concerning

Tommy

Here's my try... My quick entry was an array of cursor ;-)

If you run in a loop the operator GET direct feedback.

Why you don't like flutes?

Sidenote: If you choose force for interpolation, you have a Pisa as print :-)

Tags: NI Software

Similar Questions

  • How can I set the time axis on my waveform table to show run time that is to say whenever I start the program I should have 0 as the starting point

    How can I set the time axis on my waveform table to show run time that is to say whenever I start the program I should have 0 as the starting point. I've been messing around with the without success. I'm under Labview 2012.

    Thank you!

    Townes wrote:

    I can't understand what you mean. I have no formal training with labview. It took me a long time to write the simple program that I joined. Any guidance would be greatly appreciated!

    Its pretty normal for a beginner to take the time to write code. Right-click the map of waveform > Create > property node > historical data, you will get a property node, keep this at the beginning of the code and create a constant. You can also go to the VI properties and > run and select "clear indicators when it is called.

    I recommend you to go through the basic materials of LabVIEW which will give you an understanding on the basics of bases/components of LabVIEW.

  • Put the data of the set point in a waveform graph

    Hello

    In a graph of measure, which is the result of a waveform, I would add data of the set point as well. How can I add this data to set for the chart value?

    In a control loop system, the output is controlled by a labview program. I would like to see the point of this system as well as in the graph, these thresholds are changed at random times, so I don't know how to create a waveform of these data. Should I create a waveform of the setpoint, or y at - it another option to show the set value in the chart?

    See you soon,.

    Rolf

    That can make it much more difficult.

    At one point an array of 1000 points need to be assembled (obviously). How do depends greatly on your structure. Synchronize the time of the two signals can be very difficult. It would be easy if the set value only changed once a cycle of 1000 point.

    You may want to read the SP as an analog input, so you get 2 samples of the material here. In this way the two will always be synchronized. But I'm done alleady assumption, like this, the signal is an analog input (and the target value of one analogue output). What equipment do you use?

    I think always need you a loop to get data and a loop to set the SP. The two loops will be more parallel execution GLSL and synchroniseent. The trick is to synchronize, or for the deterministic timestamps in two loops. If you can make that happen, you 80% there. You could do loops timed loops (using the same clock). Then you get the timestamps in two loops. The MS loop has the queue changes, pushing the value and time. Then the loop of data can use values and hours to create examples of sp 1000.

  • move the data points on the waveform display

    Hello

    No idea why the waveform display to my VI has shift the data points? The third tab of the screen does not display this problem. I took a video of what happens to better illustrate what I'm talking about and attached my VI to identify the problem.

    I am currently a sample of data from a DAQmx and storing in a queue until data backup button. Everything works well, but the problem is the display of actual data, which, although sense points, it shows move in a small area around where they are drawn in the first place. It happens even when I erase the visible data and restart the collection of data, as shown in the video.

    Thanks for any help you may be able to provide.

    Guy

    The amount of data you draw? If you draw a lot more datapoints that there are pixels on the x-axis of the graph, you can get peaks that appear to move because of graphic interpolation LabVIEW has to do.

    Mike...

  • Re-sample a signal for the least points of data using the value average

    Hello

    I'm trying to resample a large wave to a smaller wave form. I want to use the average value of all data points in a time interval of the initial wave as the new value of the new waveform. For example I have want to resample a waveform of 100 points from k to a waveform with 1 k points, in the waveform again the value of each data point is the average of 100 data points in the old waveform. Is a convenient way to do this in labview? The VI of waveforms resample seems only provide coerce/linear/spline/FIR interpolation modes. Thank you very much for your help.

    Just use build a waveform is your decimated table, dt is climbed by the decimation factor and t0 can remain the same.

  • How to obtain the build version of the exe when running

    Hi all!

    Is there a way to get the build number of the EXE file in the runtime?

    There are version field in the exe, property that can be autoincremented construction each construction process.

    It will be very useful to show in a particular area on the application window.

    But I can see now that in the operatin system file property.

    I couldn't find this point between the nodes of the Application property.

    Perhaps this information available in rintime by another way?

    I now use LV2010 on Windows XP/Win7 platforms.

    Thanks in advance for any ideas.

    Anatoly

    Hello

    Have a look here.

    http://forums.NI.com/T5/LabVIEW/file-version-info/m-p/361945?jump=true

    Tyler

  • Export waveforms to the worksheet File.vi

    Hi all

    I try to use the waveform to export as a spreadsheet on a waveform that is added for the duration of a while loop with a registry to offset. The VI works fine and acquires all the appropriate data and the corresponding points however when I hit the stop button to exit the while loop is not fast or pop up asking me to save the excel file. The VI ends just after leaving the while loop.

    Nothing else has this problem? I think that I am likely missing a step somewhere, but I based the block diagram of a video presentation to youtube (https://www.youtube.com/watch?v=GBhJk5Tnshc) and I can't seem to find my mistake.

    Please find attached my diagram and the VI and apologies for the link text above, I'm not sure on the exact validation protocol here.

    Any help would be appreciated!

    Ben

    Hi ofis.

    you alluded to run your VI on a target of myRIO!

    RIO platform usually has NO attached screen to display a UI to the user. When there is no interface user you cannot display a file on/in the user interface dialog box.

    Just provide a constant filepath to the VI WriteWaveform - and don't forget to choose a path is available on the target of myRIO: you can not record directly on the hard disk of your PC!

    On your VI:

    Why are you warking with a waveform at all? I don't see any setting of rates specimen, so a waveform of construction seems foolish to me! Simply collect your data in a table and use the simple SaveSpreadsheetFile function to save this table on disk (myRIO)!

  • problem while conspiring waveform of the signal in real-time

    Dear Sir

    I use LabVIEW8.2 and USB1208FS for data acquisition. I have configured hardware with LabVIEW and data in real time using the Universal Library VI AInScBg.vi. When I draw my signal on the waveform (amplitude vs. frequency) then on axis x frequency ranges from 0 ~ 0.49 hz. I have change the sampling rate of 1000 Hz to 4000 Hz, but on the x-axis without frequency change occurs and it is set at 0.49 hz. Can you please guide me how can I get the frequency of my own interest on the x-axis.

    I enclose you daughter of LabVIEW for reference.

    Kind regards

    Muhammad Irfan

    Student

    UTP Malaysia

    0060149087570

    Simply change the text label of the x-axis of frequency does not automatically the correct calculation. You do not pass in the sample information in the service spectrum, so you get no frequency information. You can see the strain on the entry point. The function expects a data type of waveform as input. Without it, the dt will default to 1. Then, use the function create a waveform and add information from dt to it as well as your table of Y.

  • Mobile data does not and the name of the Access Point settings are not available

    I don't have a mobile data, not even the small up and down arrows or letters beside the sims signal bars appear.

    I tried all the troubleshooting settings and different type of network, the airplane mode is off, mobile data are no limit, no power save modes are on. Phone is dual sim so I tried on the two sims and tried to disable the other sim and changing the sim slots, both sims are loaded with a credit of data that works in other android devices. WiFi works fine. Factory reset does not help.

    There is that one thing that I can't not try troubleshooting. When I select settings > more > mobile networks > access point names, it says

    "Access Point name settings are not available for this user.

    Maybe if I could put APN I could get mobile data. How can I do or how I can try to get mobile data to work?

    Phone's Xperia M4 Aqua E2363 with build 26.1.B.2.102 thanks if you can help

    This text is a bit misleading, which is something that I have forwarded internally as your comments.

    If you have no NPP stored the phone displays the text "the name of the Access Point settings are not available for this user" even if you use the owner account and have access to the settings.

    Try to download the automatic settings from settings-> more-> Internet settings and see if that helps.

  • Error snapshot VSS «file too small startup...» "during the restore point creating eventlog ID 12289 in Windows 8

    I am unable to do a restore point. There is plenty of space on both partitions.
    Config: A single drive with 2 partitions, one primary and one extended logical partition with Windows 8 on logic in dual boot with Windows 7 on the primary. The restore point creation in Win7 works OK but in Win8 it never worked alhthough all parameters seem to be OK.
    Device configuration:
    DISKPART > select disk 0
    Disk 0 is now the selected disk. NOTE: there is only 1 disc
    DISKPART > list disk
    Disc # status size free Dyn Gpt
    --------  -------------  -------  -------  ---  ---
    * Online drive 0 93 GB 1024 KB
    DISKPART > list volume
    Volume # Ltr Label Fs Type size status Info
    ----------  ---  -----------  -----  ----------  -------  ---------  --------
    Volume 0 DVD - ROM 0 B G no media
    Volume 1 - D drive of W7 NTFS Partition 54 GB healthy system
    Volume 2 C disc W8 NTFS Partition 39 GB Healthy Boot
    DISKPART > list partition
    Partition # type Offset size
    -------------  ----------------  -------  -------
    Partition 1 primary 54 GB 31 KB
    0 39 extended 54 GB GB partition
    Partition 2 logic 39 GB GB 54
    ---> Note: I do not understand partition 0, there are only two partitions!

    Extract from the event log. Error ID 12289 0 x 80042306:
    The volume shadow copy Service error: unexpected error
    DeviceIoControl (\\?\Volume{6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}
    (- 0000011C, 0x0053c008, 007FB8D0, 0, 007FC8D8, 4096, [0]).  HR = 0 x 80820001,
    The startup file is too small to support persistent snapshots
    Operation:
    Treatment EndPrepareSnapshots
    Context:
    Execution context: System Provider
    ---> NOTE: occurs 4 to 5 times

    Cannot create (process = restore point
    'C:\Windows\system32\systempropertiesprotection.exe ';
    Description is W8 FDC shadow;. Error = 0 x 80042306).
    ---> NOTE: 1 times

    VSS commands: WRITERS, WMI and MSsearch system has failed...
    _________________________________________________________________________
    List writers C:\Windows\System32>vssadmin
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line too
    (C) copyright 2001-2012 Microsoft Corp.

    Author name: 'Task Scheduler Writer'
    The writer ID: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
    Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
    Status: Stable [1]
    Last error: no error

    Writer name: 'recorder VSS metadata store.
    The writer ID: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
    Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
    Status: Stable [1]
    Last error: no error

    Writer name: 'Performance Counters writer. "
    The writer ID: {0bada1de-01a9-4625-8278-69e735f39dd2}
    Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
    Status: Stable [1]
    Last error: no error

    The writer's name: "System Writer".
    The writer ID: {e8132975-6f93-4464-a53e-1050253ae220}
    Writer Instance Id: {b796dce1-206a-472b-bb86-5417041b341c}
    State: [7] failed
    Last error: Timed out

    Author name: 'ASR Writer.
    The writer ID: {be000cbe-11fe-4426-9c58-531aa6355fc4}
    Writer Instance Id: {eaf13613-1a24-44b5-8622-8e691f1fb074}
    Status: Stable [1]
    Last error: no error

    Writer name: 'writer of Service MSSearch.
    The writer ID: {cd3f2362-8bef-46c7-9181-d62844cdc0b2}
    Writer Instance Id: {43272e0e-d81a-4aa5-abe9-f6bbbfa6f3b0}
    State: [7] failed
    Last error: Timed out

    Author name: 'Shadow Copy optimization Writer. "
    The writer ID: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
    Writer Instance Id: {20038d53-ecd7-4332-b2f5-ad9a5c465220}
    Status: Stable [1]
    Last error: no error

    Name of the author: "COM + REGDB Writer".
    The writer ID: {542da469-d3e1-473c-9f4f-7847f01fc64f}
    Writer Instance Id: {bf7bd8e4-5aa8-412a-a401-528d6100203a}
    Status: Stable [1]
    Last error: no error

    Author name: 'Registry Writer'
    The writer ID: {afbab4a2-367d-4d15-a586-71dbb18f8485}
    Writer Instance Id: {77018269-1865-4b89-b810-e4a9b6a3b5ab}
    Status: Stable [1]
    Last error: no error

    Author name: 'BIT Writer'
    The writer ID: {4969d978-be47-48b0-b100-f328f07ac1e0}
    Writer Instance Id: {6a7abc2b-e868-45cb-be06-f63e19fb1510}
    Status: Stable [1]
    Last error: no error

    Author name: 'WMI Writer'
    The writer ID: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
    Writer Instance Id: {848fabfd-fc83-4c67-ba79-92b274dab8eb}
    State: [7] failed
    Last error: Timed out
    _________________________________________________________________
    Mountvol

    C:\Windows\System32>mountvol
    Creates, deletes, or lists a volume mount point.

    The possible values for VolumeName along with current mount points are:

    \\?\Volume{6fae1bd0-6bbe-11E2-AF9B-806e6f6e6963}\
    D:\

    \\?\Volume{6fae1bd1-6bbe-11E2-AF9B-806e6f6e6963}\
    C:\

    \\?\Volume{6fae1bd6-6bbe-11E2-AF9B-806e6f6e6963}\
    G:\
    ----------------------------------------------
    Lists of C:\Windows\System32>vssadmin providers
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) copyright 2001-2012 Microsoft Corp.
    The provider name: 'Microsoft Software Shadow Copy provider 1.0 '
    Provider type: System
    Provider ID: {b5946137-7b9f-4925-af80-51abd60b20d5}
    Version: 1.0.0.7
    _____________________________________________________________________

    C:\Windows\System32>vssadmin list shadowstorage
    vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
    (C) copyright 2001-2012 Microsoft Corp.

    Shadow copy storage association
    Volume: (D :) \\?\Volume {6fae1bd0-6bbe-11e2-af9b-806e6f6e6963} \)
    Shadow copy storage volume: (D :) \\?\Volume {6fae1bd0-6bbe-11e2-af9b-806e6f6e6963} \)
    Memory copy ghost used space: 0 bytes (0%)
    Storage space copy allocated Shadow: 0 bytes (0%)
    Maximum space memory copy Ghost: 3.78 GB (7%)

    Shadow copy storage association
    Volume: (c) \\?\Volume {6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}.
    Shadow copy storage volume: (c) \\?\Volume {6fae1bd1-6bbe-11e2-af9b-806e6f6e6963}.
    Memory copy ghost used space: 0 bytes (0%)
    Storage space copy allocated Shadow: 0 bytes (0%)
    Maximum space memory copy Ghost: 3.13 GB (8%)
    ---------------------------------------------------------------------

    Material:
    _________
    Computer brand name: Hewlett - Packard HP Pavilion dv6000 (RG892EA #UUG)
    Operating system: Microsoft Windows 8 Professional build 9200
    Processor: AMD Turion64 X 2 TL - 50 (1600,0 MHz)
    Motherboard: Quanta 30B 8 (nVidia GeForce Go 6100 (C51MV) + MCP51)
    Memory: 2 GB (dual channel)
    Hard drive: FUJITSU MHV2100BH (95 396 MB (100 GB))
    Optical drive: HL-DT-ST DVDRAM GSA - 4084N (DVD + R DL)
    Graphics card: nVidia GeForce Go 7200 [HP]

    Hard drive
    --------------------------------------
    Drive model: FUJITSU MHV2100BH
    Variable speed drive: SATA 1.5 Gb/s
    Drive serial number: NW12T662BYPM
    Firmware revision: 892C
    Disk capacity: 95 396 MB (100 GB)

    Hi Francis,.

    Thanks for posting the query on the Microsoft Community Forum.

    From the description, it seems that the error revceive you associated with VSS snapshot.

    1. What security software is installed on the computer?
    2. Do you have any third-party backup program installed on the computer?

    To begin troubleshooting, I would suggest that you do Check Disk

    • Press Windows key + R
    • Type "cmd" to open the command prompt.
    • Type Chkdsk/r , and press enter.

    Note:

    If all available hard disk data can be lost when running chkdsk, as the chkdsk attempts to repair the affected area.

    Reply with more information about the issue so that we can help you further.

    I had the same problem with a HP dv5000 has an Intel Dual Core processor, after installed the 10 Pro Update window cleaning, after the update sent by Windows Update Service left me with this problem.

    Thank you post I did check in the menu properties C: Tools.

    After that, I was able to create a Restore Point.

    Thank you very much for your message.

  • Way to package the shortcut pointing to the network drive

    I have a package with 2 files - a .ini and a shortcut on the desktop. The .ini file will fine SystemRoot. The shortcut on the office lights, and points to a network drive, but fails it as in package.ini, the source for the shortcut, which is the entry point main, pointing to a target that is not in the package, which is a file on a network share, which is mapped to the user through a login script.

    I tried build the package with the shortcut pointing to the .ini file, as it exists in the package and then try to generate scripts to change the path of the shortcut target, timing of the launch of the shortcut, but I can't get that to not work. Any ideas?

    I've already fallen on this kind of installation so I know a workaround for it but I'll be honest with you; What is the point of creating a virtual set for a shortcut and an .ini file? One of the main objective of virtualization app is isolation.  As a best practice and avoid possible isolation question (s), your package must contain all the files, that is to say, all of these files on the network (drive P :) must be placed in the thinapp package.)

    But if you still go with this configuration for any reason, you can try the following:

    In the project folder:

    -Create a shortcut in the folder % desktop (create it if it does not exist) and type the following location: P:\SBRTS\SBRTS. EXE (you will need to have your mapped P: drive)

    -Name of your shortcut "SBRTS.lnk" (or any name you want)

    -Change your point of entry as follows:

    [Clinic Workstation.exe]

    Source=%desktop%\SBRTS.lnk

    ReadOnlyData = Package.ro.tvr

    WorkingDirectory = P:\SBRTS

    Shortcuts = % Office

    (Note that the WorkingDirectory may need to be adjusted. Normally the folder holding the binary is the working directory)

    -Rebuild you app with build.bat

  • How to use the same point of view as read only in the ADF and editable

    Hello

    How to use the same point of view as read only in the ADF and editable? How can we succeed in TF?

    -James

    Hello

    Steven Davelaar wrote a presentation on this 'building highly reusable Taskflows.

    From slide 14, that's where your use case comes into play

    Frank

  • How to turn an audio waveform in the timeline in first Pro CC

    I don't know why I don't get a clear answer to this question, but can someone help me here? In the first CS6, all I had to do was press the small arrow next to my calendar, and I could see the audio waveform. The arrow is no longer in CC and I can't figure out how else to do this to put on. I use this function constantly, so it's pretty annoying don't not to have it on.

    Scroll the mouse wheel while now the pointer on the header of the track.

  • Display Audio waveforms in the timeline, first Pro CC

    I just started using the first Pro CC, watched all the turorials and launched a project. I wonder how to view audio in the form of signals in the timeline. I tried suggestions like checking and unchecking rectification of audio waveforms, but have not been able to obtain the actual waveforms in the main timeline. It seems there used to display triangles in a previous version, but there is not in this version.

    Screen Shot 2013-09-07 at 4.05.45 PM.png

    You must expand the Audio track (wheel of scrolling in the track header or drag points down)

  • May not know how to fix the bug of the decimal point in this calculator code

    Hi guys, I am new in flash and is currently learning how to build a simple calculator with multiplier (more, less, multiple, divide, change of sign and decimal point), but I'm stuck on the decimal point and change the sign.

    var multiplier_old:Number = 10;
    var multiplier_new:Number = 1;
    
    // .: Sets the multipliers so that new input numbers become decimals of a lower unit column
    action_point.addEventListener(MouseEvent.MOUSE_DOWN, function():void {
      
              multiplier_old = 1;
              multiplier_new = 0.1;
              point = true;
      
    });
    
    // Takes intput from the input_ buttons and adds it to the input after applying the multipliers.
    // If `point` is true then the multiplier_new is divided by 10, also as described.
    function inputNumber(n:Number):void {
      
              input = input * multiplier_old + n * multiplier_new;
      
                        if (point) {
                                        multiplier_new *= 0.1;
                       trace(multiplier_new);
                        }
      
              output_txt.text = input.toString();
    }
    

    Decimal point

    The problem is that when I entered 2.7 in the calculator, it displays the values in output_txt correctly. But then when I entered 2.78, it will display 2.780000000000000000000000002. This will happen also to other numbers if the entry is too large.

    What I want is just 2.78. How can I change the encodings make 2.780000000000000000000000002 2.78?

    Sign of change

    Any tips on how to start on this one?

    Thanks for your time,

    Kamel

    You must use rounded in order to keep the numbers down to limited decimal values.  To display specific decimal values using the String class toFixed() method when you write the text in the TextField.

    To change the sign, multiply by-1.

Maybe you are looking for

  • Contacts and contact names do not sync between iPhone and Mac

    Hello I have a mini Mac running OS X El Capitan and an iPhone 6 Plus running iOS 9.2.1. I'm having issues synchronize my contacts and contact names in messages. Account of default contact on both devices is set to iCloud and I connected with the same

  • XP request system admin password that I did not

    I have a windows xp system, the problem here is window open and connect it windows password, I didn't put a password, I tried in safe mode, but there is no administrator account and asking for the password, please answer, thank you * original title -

  • Phones IMEI smart blackBerry

    My phone company Bell says I have to contact Blackberry so they can block the IMEI... How can you actually communicate with Blackberry?  I need to write and mail a letter?  Customers may not cause any direct contact with BB?

  • Home page may not change

    Hi, I tried to change my homepage, and no matter what I type in the box he returned always to "all white: what am I doing wrong?"

  • How can I fix the error Windows - (0 x 0000017)

    Whenever I turn on my computer, a message appears that says: Windows error - (0 x 0000017) The application failed to initialize properly (0 x 0000017). Click OK to close the application. Please download / install the application again. I searched on