frequency sweep performance in the profile of stimulus Editor

Hi all

I am trying to understand what is the best way to do this.

I have an output signal. I want to start with a 5V signal, so I want to do it in a sine wave of amplitude of 0.05v starting at 1 Hz and gradually increase the Frequency, squirt up to 500 Hz. I know there is a sinusoidal wave function in the profile of stimulus Editor, but he seems to want to keep the fixed frequency.

Thank you.

There are a few options:

1. your own sinewave sequence that will sweep the frequency while he plays. The integrated sine wave function is just a sequence that you can view and copy edit however you want. Double click in the palette to view the sequence.

2 use multitasking and the sequence of the sinusoid built-in. The sequence of SineWave takes in a setting for the frequency, but it takes the value by reference. This means that if the value mapped to the frequency parameter changes so that the sine wave sequence runs, the frequency of the sine wave will update, too. This allows you to use a multi - load to run two parallel tasks: to call SineWave and one for the ramp of the frequency variable.

Attached, is an example to help you make sense of it. Maybe it's not the exact logic you want, but should help you get some ideas going. I hope this helps!

Tags: NI Products

Similar Questions

  • the substitution of variable in the profile of stimulus Editor

    Hi all

    I want suggestions on how to do it.

    So I put the system definition for one of the signals as model Output1--> channel 1--> PXI FPGA AO1 user

    Generally, the model output has controls the FPGA. However, I would like to substitute the output signal to another value to test a few flaws. I tried to substitute in the profile of stimulus Editor, but it would not work (for obvious reasons). I wonder what I can do to substitute the value of another signal that remove the mapping of model output 1 for channel 1 user whenever I want to test this fault.

    Thank you.

    Great question!

    If you use the new editor of profile of Stimulus in 2011 VeriStand, you can perform insertion for lack of software of a sequence in real time using a set of special functions, fault, and clearfault. Fault function allows you to activate a software problem a specific parameter is mapped to a string of system definition (condition it is faultable) to a specified value. This replaces any source can have this channel mappings. To clear the fault of software, call clearfault on the service.

    You can call these functions directly from the Expression. Here is some help on these and other features, you can call in a detailed sequence.

    For example, imagine that you have the following sequence and ao0 parameter is mapped to the string of PXI FPGA AO0 system definition. This sequence when run would fault the AO0 PXI FPGA channel to the value - 10.0, wait 5 seconds, and then clear the fault on AO0. If the fault is active, all mappings are substituted, and any attempt to set the channel failing of the workspace will also fail. When the problem is resolved, any source mappings will affect again.

    IMPORTANT NOTE: There is a bug in VeriStand 2011 which prevents a sequence of faults in real-time completely a channel if no other channel is currently failing in the system. The solution is to open the software tool Fault Manager of the workspace and the fault of some channels dummy, as a channel not used user, before running your sequence.

    • MySequence.nivsseq

      • Parameters

        • AO0

      • Code

        • Setup

        • Main

          • Expression: fault (ao0,-10,0)

          • Expression: Wait (5.0)

          • Expression: clearfault (ao0)

        • Cleaning

  • Ramping blamed the parameter in the profile of Stimulus Editor.

    Hello

    I am trying to familiarize themselves with the new Stimulus profile editor and encounter a problem I don't know how to solve.

    I have a model-driven setting. In one of my unit tests that I want to make a mistake on this parameter and the fault should scale the value exactly as the ramp function.

    I can do this within the profile of Stimulus editor himself or how can I do?

    / Johan

    You can do this with a custom real-time sequence. The easiest way would be to make a copy of the sequence of integrated ramp and modify it slightly to a fault of the parameter output instead of a simple assignment. You can open this sequence simply by double clicking it in the palette in sequences. If you open the sequence in real time of the ramp in the standard library, you will see the line where he attributes the current value of the ramp to the output parameter:

    RampOut = (I * Increment) + InitialValue

    All you have to do to change this from a standard to a fault assignment as assignment follows:

    fault (RampOut, (I * Increment) + InitialValue)

    Note there is a bug in the VM of real-time sequence that could not completely error a channel of the system unless another channel is currently failing. The easy solution is to create a dummy user and fault channels it in Manager fault channel of dialogue for the duration of your test.

  • Is it possible to review the profiles of Stimulus for NIVS2009 offline?

    I have a system inherited from NIVS2009 I need to become familiar with before the conversion to the NIVS2010. I need to see a complete list of Stimulus profiles. It is very inconvenient in the pulse generator in the workspace. If I could cut and paste into a txt file would be sufficient, but it does not seem to allow. Is it possible to export or view files .et1 for review?

    Thanks in advance for any input.

    Yes, Mr President, it is.

    In the getting started window menu bar has an entry that offers transfer.

    The name is a little misleading because we say: Mutat Workspace and the definition of system files. Go ahead and run it and you will see a drop down menu with many more options.

    Thank you

    Tom

  • Update of Stimulus Legacy profiles to new editor-in-Chief

    Hello world

    I am currently working on the update of a testbed of Veristand 2011 to 2015 SP1. On the bench that we have a lot of Stimulus profile files that were created with the profile of Stimulus editor inherited.

    Is it possible to update the profile of current stimulus editor files and keep their use?

    By looking at the files, I know they are XML, but for some reason, they are completely different formats. It should be possible, however, the translation from one format to the other quite easily. I'm not saying that's what I'll do, just that it is possible.

    See you soon,.

    Pete

    There is not a conversion utility. Here are a few points to note:

    1. the stimulus inherited profile editor is always delivered with 2015 SP1. You can continue to run the same tests in the new version without converting them. New projects by default will not have this tool in the Workspace menu, but you can add it.

    2. If one of your tests is to read CSV files, the same format works in the new Stimulus profile editor.

    Please let us know if there is a particular reason that you want to convert the files to the new format if the notes above don't help you. Who could help us understand a good path for you!

  • Profile of Stimulus call API Veristand leads do not have test

    I wan´t to call a stimulus program profile file. I discovered that there are no VI to do this in the API of the LabVIEW VeriStand (for the profile editor of stimulus inherited such a VI exists). But in the example finder is a VI that uses the API .NET VeriStand Edifier present (http://forums.ni.com/t5/NI-VeriStand/Start-Stimulus-Profile-from-LabVIEW/m-p/1789162). Furthermore, someone created a custom control for the workspace that uses this .NET invoke (http://www.ni.com/example/31335/en/). Two examples of work in general, but I have a problem that I m not able to fix:

    If I use a step of "update model parameters of a file" in the profile of stimulus to change the parameters of a model of the step will fail with the error: ' error:-307650. '. Details: object reference not set to an instance of an object. "This only happens if I use the API of VeriStand .NET managed to call the profile of stimulus. If I start the stimulus of the profile editor profile stimulus this doesn´t error occurs and the update of the model parameter works properly.

    If I delete the step of "update model parameters of a file" the whole stimulus profile goes very well.

    Anyone an idea how to solve this problem or how to call a stimulus with the API VeriStand profile file programmatically? Thanks for your suggestions in advance and have a nice day.

    H.

    I can reproduce what you see. You can very quickly get around this by making a call to the method of StimulusProfile CheckForErrors before his execution. This method is called by the Publisher of profile of Stimulus until it starts to run, and he must have some side effects which causes the update settings not work properly.

  • Profile of Stimulus running of the door of entry/host

    I would like to know if this is possible:

    Run a VeriStand project on one computer (the ' bridge') and run profiles of stimulus from another computer on the same subnet. I try to do that and specify IP address of gateway of the stimulus profile editor but get the error 307998:

    Compiler error...

    TopLevelSequenceFileDoesnotExist...

    But the sequence files are there. And I know it's to communicate with the gateway, because if I gave a bogus gateway address, I'd get different errors. Are there other details of configurations I need to know to run stmulus profiles to another computer?

    Thank you.

    You can run away from patterns of stimulus on another machine as the host of the gateway, but it requires some work to set it up properly. The problem is that when the stimulus profile specifies to run a real-time sequence, it specifies the file path is the path of the file on the gateway machine, and not on the local computer. So this is the problem, you probably see that the sequence exists on your local computer to the specified location, but not on the gateway machine.

    For example, if your profile of stimulus runs a sequence in real time to "c:\temp\mySequence.nivsseq", then this sequence should be in c:\temp on the gateway machine.

    You can do by storing sequences on a shared network location, which is the same for the gateway machine and the local machine. For example, if you have a file called myFiles server, you can then copy the sequences it and specify the path '\\allFiles\mySequences\mySequence.nivsseq '. It should work, because the path is the same of the local machine and the front door.

    Alternatively, you can map drive paths in Windows of hand and on the other to create the same virtual on the local drive letter and the host of the gateway.

  • Firefox does not start, the Profile Manager is not available

    Firefox worked, then update it does not start. I tried all the fixes; However, the Profile Manager is not accessible or even present in the execution file. I unintalled and reinstalled several times, but I still can't get it to work. There is no Windows or Norton firewall block so I do not understand. What can I do? I want to use Firefox because it's the best browser; but now I'm forced to use Oscar. It's not terrible, but I prefer the features I've had with Firefox

    I had upgraded to the latest version; but the thought of demotion to the version which worked perfectly. In the end, I had to defrag, do a registry clean and optimization of performance of PC, but for the upgrade launched. So, I'm happy to say that I reply to this post with my Firefox browser. Thank you very much for your help. If all goes well, I won't have problems.
    DoubleD52

  • The operation cannot be performed because the "Firefox" element is in use.

    Whenever I try to download the latest version of Firefox on my mac, I get the following error:

    "The operation cannot be performed because the"Firefox"element is in use."

    I close Firefox and still get this error. I tried this guy 100 times and may not know how to solve this problem. Help!

    I have Mac OS X 10.6.8 v.

    Download the full Firefox installation program and save the file to the desktop
    https://www.Mozilla.org/en-us/Firefox/all.html

    If he has problems with the update or with the permissions then best is to download the full version and trash the version currently installed to do a fresh install of the new version.

    Download a new copy of the Firefox application and save the file to disk on the desktop image

    Your personal data are stored in the Firefox profile folder, so you will not lose your bookmarks and other data to personal when you uninstall and (re) install Firefox.

  • Cannot change the profile on the Skype Portal information

    I don't know where to put this. I put this here because I'm a desktop user, but I use the Skype portal to change my details because there are more options out there than on the program itself. I used to be able to do so without any problems, but now...

    Why did none of these buttons perform an action when I click on them? I had reinstalled Windows and that you don't have Java if it means something.

    Don't get me wrong, I can always change my details within the program, but the portal has been my favorite way to edit the details of the profile and I'd like to find a way to make it work again if possible.

    The issue has been resolved. Apparently fixed the page itself.

    Problem is solved, you can lock it.

  • The Profile Manager does not work

    We are running v5.0.15 on OS X 10.10.5 Server.app and he worked month last (before the Christmas holiday).  When we returned to school, the Profile Manager has been closed.  We tried to start it but it just runs for 60 seconds and then stops again.  We rebooted the machine several times and rolled up logging (as shown here) but I can not find the problem.  Someone in another thread, said that there was a problem with timeouts somewhere and that Apple would update.app to deal with it, but I don't know what is the reliability of this information is.  :/

    Help!  We cannot manage our devices iOS (all 300 of them) without the Profile Manager.  NOTE: we use VPP to install applications, if that makes a difference.

    Thank you!

    Richard

    I was able to get things running again by removing and reinstalling Server.app.

    1. Server.app drag to the trash
    2. Empty the trash
    3. Restart the machine.
    4. Open the Apple App Store
    5. The "Purchased" tab and click on OS X Server

    That seemed to raise the Profile Manager and re-run.  I still have a few problems with her performance but at least it works now.

  • Nor-5406 & nor-5112 frequency sweep

    Hello

    I have a frequency generator (5406) that I use to generate a frequency sweep (1 ms by frequency).

    When I read the signal with a digitizer (5112) it seems that the duration at each frequency is bad.

    I've attached a photo (I hope) to identify the problem.

    The sinus begins here, at a frequency of 20 kHz to 1710 (coordinates, left panel).

    Because I taste 3 MHz and that each stage of the frequency is 1 ms, I expect to see the next step to 4710.

    That is not the case (right panel)

    Any help appreciated

    Also attached to this message is a copy of a part of the block diagram.

    Thank you

    Hello

    The explanation of what you see, is that even if you ar affecting your sample NOR-5112 3 ms/s, you are actually sampling at 3.03MS / s.

    If you are referring to the specs of the device , you will notice that this Council has a maximum rate of 100MS/s of sampling and can sample at a rate decimated 100MS/s/n where n is an integer between 1 and 100e6.  If the sampling frequency is not feasible by the digitizer, the pilot will force the value of the next achievable sampling frequency that is higher than what you asked.  In this case n = 33 and your actual sampling rate is 3.03MS / s.

    If by your calculation for 1ms, you will get 3000 samples at the rate of sampling or 3 ms/s.  This would pass to 3030 samples at a rate of 3.03MS / s.  I think that this corresponds to what you see on the image.  To be certain of the current rate of your Board is sampling, try to use VI "niScope sampling rate" to query the actual sampling frequency of your digitizer.

    -Jennifer O.

  • Issue of Python API and profile of Stimulus

    Hello

    I am using IronPython with Visual Studio 2010 to create automated tests of a PXI system I have. Most of my knowledge API (and Python) so far has been coming to this thread of Iron Python . Although very useful. I am not able to get the parts of profile of Stimulus work. I have command over the line, forcing the acquisition of basic data output voltage, but I was hoping that use the far more high-level control provide by VeriStand.

    My methodology so far has been 1) create a profile of Stimulus in the Editor (something simple like a shifted sine wave) 2) I do not specify a specific channel in the profile (because I want to use the same waveform on several channels, in order) 3) record 4) Point the Python script to the sinewave.nivstest of the file Run 5). Is there something wrong with this process?

    The problem is that 'running' is really doing nothing. I'll have to study this more within my reach, but the result is something (it begins almost at work!) but for something that should be hard about 20 seconds, it ends immediately after the first 'blip '.

    I use Iron Python 2.7, VS 2010 Shell. If it's important for some reason, I use a custom material OR and card FPGA DAQ. And I would say force SetChannelValue (X) works for all outputs.

    Thank you very much!

    It's probably because you're playing a stimulus that has no mapping. The same thing happens if you specify a mapping in the profile?

    Unfortunately, there is no API in NI VeriStand in 2010 to change the mapping. So that's all that you specify when you create with the GUI. However, the nivstest file is actually just XML so that you can use any XML parsing and API for editing to change the mapping. If you don't want to use an API for XML editing, you can try to use the technique in the VI posted on this thread to change the mapping.

  • Could not load the profile on Compag Presario CQ57, w/windows 7, problem.

    Please help me I have a Compag Presario CQ57 with windows7, "they say that the profile could not be loaded," then the question is how to get in my computer, open it to work on this problem or resolve or how do I over ride side comments so that I can get that side I forgot the password I have set up on this side. Can someone tell me how to get into the other side of the user that I forgot the password of connection for this side of comments that I put in place.

    Thanks for the comments,

    Compaq Presario user/owner.

    Hello

    You can try the following.

    Shut down the laptop.  Tap away at f8 that you start the laptop to enter the Windows Recovery Console.  Use the arrow keys to select Safe mode and press ENTER.  If windows will load in this mode, on the Start Menu, click principally made programs, click Accessories, click System Tools and run the system restore.  Pick a point to restore at least 24 hours before the opening of the session the question and then perform the restore.  When you are finished, Windows will restart as normal in order to check if you can now connect correctly.

    Another option if the above does not help is as follows.

    Shut down the laptop.  Tap away at f8 that you start the laptop to enter the Windows Recovery Console.  Use the arrow keys to select "Start using last good known Configuration" and press ENTER.

    Another option you can try is to run through the steps in the guide on the following link.

    http://www.SevenForums.com/tutorials/186131-user-profile-service-failed-logon-user-profile-cannot-Lo...

    Kind regards

    DP - K

  • Profile of Stimulus of departure of LabVIEW

    Hello

    I created 4 profiles of stimulation with the editor, and now I want to be able to start them with LabVIEW.

    Unfortunately most of the screws on the palette works with sequences instead of profiles. My profiles are configured with the parameter assignments and logging as well as sequence of calls. Is it possible to run profiles together instead of sequences?

    There are indeed. It is not a set of screws to use, but you can call directly the NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll assembly to access the functions and reminders for running a profile of stimulus.

    First of all, I would like to start by looking at the following example VI to help to start:

    \examples\NI VeriStand\API\Execution API\Sequences\Stimulus control profile Tool\Stimulus profile control Tool.vi

    It may be a little more complicated that you need, but it should have all relevant parts.

Maybe you are looking for