I am unable to sweep the built in signal generator in the DSO-X 2024A Oscilloscope. Is this possible? I also want to set up a feedback loop to vary the signal amplitude based on the rms read from channel 1.
Thanks.
I am unable to sweep the built in signal generator in the DSO-X 2024A Oscilloscope. Is this possible? I also want to set up a feedback loop to vary the signal amplitude based on the rms read from channel 1.
Thanks.
Sam003, do you mean you aren't able to use Test Flow with the signal generator in your scope ? ( i.e. none of the orange boxes show up )? We currently don't have Test Flow support for the embedded signal generator/Wave Generators although the next release due in a few months will have that support. Can you tell me what you are trying to do ? In our 3.5 release we've added support for command expert which will may allow you to accomplish this task.
Thanks
Hi Sid, Yes that's correct. Im trying to sweep through a range of frequency's while maintaining a constant acceleration. Taking accelerometer readings using channel 1 and using the RMS to vary the sweeping amplitude the embedded signal generator is producing.
Sam003, I think I have something to help you work around us not having Test Flow WaveGen support. This will only work with version 3.5 of BenchVue. What you can do is add a command expert block ( Available under the advanced menu shown below ). This will allow you to add a SCPI command for your scope and allow you to change the frequency by using Test Flow variables and incrementing them. Here is what I did to create the sequence below that increments a variable called WaveGenFrequency from 1000 to 10000, measures CH1 frequency on the scope ,increments WaveGenFrequency by 1000 and waits for 2 seconds.
You can follow the same thing to change amplitude as well. If you haven't used Command Expert before there might be a slight learning curve but it really isn't too bad.
Step 1. Create a variable called WaveGenFrequency
Step 2 : Drag the variable into the sequence builder and initialize it to 1000
Step 3 : Drop in a Count Loop from the Loop menu
Step 4 : Drop in an Output block under the Variables Menu, assign the WaveGenFrequency command and set the block to Hz. You do this in order to see your variable in the results table
Step 5 : Drop in a Command Expert block from the advanced menu. Select the square icon on the top right corner to launch command expert.
Step 6 : Select "New Instrument" and "Connect to a real instrument" from Command Expert ( this will be in a separate window from BenchVue ). Go through the prompts to find your instrument and download the command set.
Step 7 : Make the instrument Active by dragging it into the "Active Instruments" Panel in command expert.
Step 8 : Navigate the SCPI tree to WGen ->FREQuency.
Step 9 : In the Command window, click on variables and assign WGEN<w> and frequency a variable. Assign values to each although these will be replaced by Test Flow variables later on. Click "Add Step & Execute" to ensure that it worked and channel <w> was set to frequency on your scope. Once confirmed click "Export to Add-on" to get back to Test Flow.
Step 10 : Complete the sequence as per the image below.
Sam003, I think I have something to help you work around us not having Test Flow WaveGen support. This will only work with version 3.5 of BenchVue. What you can do is add a command expert block ( Available under the advanced menu shown below ). This will allow you to add a SCPI command for your scope and allow you to change the frequency by using Test Flow variables and incrementing them. Here is what I did to create the sequence below that increments a variable called WaveGenFrequency from 1000 to 10000, measures CH1 frequency on the scope ,increments WaveGenFrequency by 1000 and waits for 2 seconds.
You can follow the same thing to change amplitude as well. If you haven't used Command Expert before there might be a slight learning curve but it really isn't too bad.
Step 1. Create a variable called WaveGenFrequency
Step 2 : Drag the variable into the sequence builder and initialize it to 1000
Step 3 : Drop in a Count Loop from the Loop menu
Step 4 : Drop in an Output block under the Variables Menu, assign the WaveGenFrequency command and set the block to Hz. You do this in order to see your variable in the results table
Step 5 : Drop in a Command Expert block from the advanced menu. Select the square icon on the top right corner to launch command expert.
Step 6 : Select "New Instrument" and "Connect to a real instrument" from Command Expert ( this will be in a separate window from BenchVue ). Go through the prompts to find your instrument and download the command set.
Step 7 : Make the instrument Active by dragging it into the "Active Instruments" Panel in command expert.
Step 8 : Navigate the SCPI tree to WGen ->FREQuency.
Step 9 : In the Command window, click on variables and assign WGEN<w> and frequency a variable. Assign values to each although these will be replaced by Test Flow variables later on. Click "Add Step & Execute" to ensure that it worked and channel <w> was set to frequency on your scope. Once confirmed click "Export to Add-on" to get back to Test Flow.
Step 10 : Complete the sequence as per the image below.