Activate the output of Agilent 33210 without clear parameters

Hi all

I'm controlling a function generator Agilent 33210 A via USB with the IVI drivers installed on the host PC. I am trying to write a utility that compiles an executable file that will set up the generator and turn out. I want to allow for a scenario where the user configures the device once and then activates / deactivates the output repeatedly over time. I initialize the instrument with the call of hp33210a_init, set it up, turn on the output and then use the function hp33210a_close to let go of the handle and in the end things. This method works.

My problem is that the only way I can configure the instrument is crushing the parameters on that. Once it is set up, I want to be able to turn on/off output using the settings that are currently on the instrument. I tried to use the hp33210a_init NOT resetting the instrument when all I want is to toggle the output, but the same thing: the instrument goes back to its default settings of the parameters I put on before--settings that worked. How can I turn on/off the output with my executable utility without the new parameters of enetering, which comes out once the user issued a command at the prompt (my utility works on the command line)?

Thanks for the help everyone!

Dima2882,

The IVI drivers are programmed to load the default settings during the call to init. Here are a few suggestions, in order of the highest recommendation:

  1. Keep the same session open driver. If you leave the active program on the comand prompt, then you can keep the original session open all the time allowing you to toggle without changing any settings.
  2. Explicitly define your configuration options every time that you open the session. If each call to init is always followed by the ConfigureStandardWaveform and ConfigurePulse calls.
  3. The next two will be to enter you the drivers, make changes and their reconstruction. Change the default settings to match those you want. This way when the init calls the default settings, they are settings that you want.
  4. Change the driver so that the init call does not have the call to the default settings.

The first 2 are preferred because you won't have to change drivers and reduce risks in the introduction of more complication. If they will not suited to your application, you must use CVI for open source driver, make the changes, and then rebuild the drivers.

Let me know your opinion.

Kind regards

Tags: NI Hardware

Similar Questions

  • Agilent mxg N5183 gives-113, & quot; Header not defined & quot; When I try to activate the output, using the RF

    I connect to a generator of signals MXG (N5183) via the lan, Labview 2009 with the labview driver. I get the above error when trying to activate the output. Is this a bug in the driver? Everything else works fine.

    double post

  • I want to activate the outputs audio multiples to be active, so I don't have to wear my helmet all the time, or need to disconnect anything to the speakers.

    Pretty simple question really. I want to activate the outputs audio multiples to be active, so I don't have to wear my helmet all the time, or need to disconnect anything to the speakers. I checked the 'sound' thing in the Control Panel, but the enable option is not letting actually work. So if I want friends to hear my video games or something else, I turn on my speakers and they can hear it now.

    Thank you.
    Windows 7, 64 bit.

    Audio original tittle: multiple

    Windows does not support this. This is handled by the device drivers or hardware - if they don't support the outputs multiple, you can try the search for an alternative solution.

  • How can I activate the output sound

    The speakers I plugged in the job just fine so I know it's not that. It is a parameter which must be applied and I'm not sure exactly what steps to follow to activate the audio output

    Hello

    To turn on sound follow the steps below:

    a. right click on the speaker in the system tray icon and select read.

    b. Select speakers and choose Properties.

    c. under use of the device, select use this device (enabled).

    d. click on apply to save the changes.

    Hope this helps,

  • Activate the Keyboarding for guest VM without clicking the window innto

    Hello

    I've set up an Ubuntu guest on a Windows 7 host machine, and I'm very happy with it. However, I have a problem:

    When I switch to VMWare Workstation by using the keyboard (Alt - Tab), I can not immediately entered anything in the comments via the keyboard. I always first click in the window.

    To make it more clear: what I do when I use a different program on the Windows host:

    1 alt - Tab for VMWare Workstation

    2. click in the window workstation

    3. use the keyboard to interact with comments

    What I want to do:

    1 alt - Tab for VMWare Workstation

    2 use the keyboard to interact with comments

    How can I make that happen? I would also welcome to use the keyboard, for example, press ENTER to be bale to use comments.

    Ahh, I think that I figured it by myself:

    There is a menu entry "Keyboard Grab", that is mapped to Ctrl-G.

    So I have to do the following:

    1 alt - Tab for VMWare Workstation

    2. press on Ctrl-G

    3. use the keyboard to interact with comments

  • Change the amplitude of the Agilent function generator output while the output is on

    Hello

    I am writing a program to scan the amplitude of a sine wave of a function (Agilent 33210 a) generator output. I have two sets of pilot example: Agilent 33xxx and HP33120a (the first one uses VISA, IVI 2 uses).

    Using the example of driver code, I changed to generate a sine wave to 1Vpp, wait 1 sec, and then modify the amplitude of 0, 5V. I have attached the images in my field that show what happens when I do that. The two examples cut first exit before Relighting with a different amplitude. 33xxx driver takes 140ms for change, and has a strange burst between the two signal. HP3120a driver takes 30ms and cleaner air.

    Agilent 33xxx example using:

    \

    HP33120a example using:

    I would like to have the change is instantaneous. When you use the generator manually, I can turn the button and change the output in real-time without delays.

    Thanks for the suggestion of Mateus, but I am trying to automate this process of my best. Change the VISA pilot is the direction I want to go.

    Thank you crossrulz... I wrote a new issue VI of the Standard waveform VI set up so that it simply writes the new amplitude control and none of the other things. Worked like a charm! Now the waveform changes amplitude without turning off the exit. I also checked to see if re-defining the shape of sine wave (even if the original is also sinusoidal) was the cause of the delay as you suggested, and you were right. Thanks for the help!

  • Satellite P100: How to activate the AHCI mode?

    As all you know, some laptops P100 series are equipped with a controller Intel 82801GBM SATA natively supports the AHCI and with a Fujitsu HDD which takes in charge the NCQ.

    However, the disc is forced in compatibility mode, and therefore the NCQ is disabled, resulting in a loss of performance (which is certainly necessary that laptop hard drives are generally slower than those of office).

    Unfortunately, there is no option in the BIOS which activates the AHCI mode and no tool like HWUtility that can twist that (although it wouldn't work). As far as I know, newer laptops support AHCI mode and there is also an option in the BIOS to enable it.

    Is it possible to activate the AHCI mode in our laptops beloved and make the most of our hard drives?

    Hello

    Do you think that the AHCI is disabled?
    You can run the Intel Chipset ID utility to determine if the ICH7DH SATA controller is already running in AHCI or not.

    However, I studied a little more on other forums that are a little more specific and find this:
    Activate the AHCI on Intel chipsets, without having to reinstall Windows 2000/XP
    http://www.Neowin.NET/forum/index.php?showtopic=457699
    and
    http://www-307.IBM.com/PC/support/site.WSS/document.do?lndocid=MIGR-62909

    But you know, everything you make are at your own risk!

  • PXI-4110 deactivation and activation of the output

    I'm programmming power CC PXI-4110. I want to activate and deactivate the outputs. I use niDCPower_Disable() to disable the outputs. and the use of niDCPower_Initiate() to activate the outputs. Problem is after I have activate the outputs with niDCPower_Disable() and with niDCPower_Initiate() that I lose all my settings as the output voltage. What I so niDCPower_ConfigureVoltageLevel() and niDCPower_ConfigureCurrentLimit() call before calling niDCPower_Initiate() then outputs are put to the required voltage.

    I want to do is turn on and off just like pushing a button on a Panel.

    For example, I call niDCPower_Disable() to open the relay switch.

    It seems to me like there is a function niDCPower_Enable() which would close this switching relay and not reset all my voltage and current limit settings.

    Any help on the best way to proceed would be appreciated.

    Figured it out using:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    to turn off and then I start with

    status = niDCPower_Initiate (vi_4110_0);

    In this way, my diet is ready to go, but my relay is open.

    When I'm ready to close the relay I follow these steps:
    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_TRUE);

    Then later I want to open the relay call again I have only this:

    status = niDCPower_ConfigureOutputEnabled (vi_4110_0, channel0Name, VI_FALSE);

    Problem solved.

  • How to truncate the output of the field in the column "LONG".

    Hi all

    I have been asked to retrieve all records from a table with a column that has been initially formatted with the format "LONG".

    How can I truncate the output of this area without having to show the Junk characters?

    Very appreciated

    JR

    Wrong forum!

    This forum is ONLY for questions/problems on Sql Developer and your question has NOTHING to do with this product.

    Please mark the thread ANSWERED and repost it in the SQL/PL/SQL forum.

    SQL and PL/SQL

    When you repost you must SHOW an example of what you are wanting to do. You should also explain what you mean by 'LONG Format' - I have never heard such a thing.

  • Shadows on shapes: unexpected results on the output of HTML5

    Shadows are known for questions of course with out HTML5?

    It seems that putting a drop shadow on a SmartShape with stroke and fill of 100% opacity, two shadows are producing; one for the filling and one for the race, in which the shadow of race comes actually on form rather than below (or somehow shines through. Can't if there is no line. Can't get on other objects; e.g. boxes to highlight.

    Is it possible to change this behavior for HTML5 correspond to the Flash?

    Edit Mode:

    Edit Mode.PNG

    Flash power:

    Flash.PNG

    Output of HTML5:

    HTML5.PNG

    Checked and it is a bug. You can submit a bug report to http://www.adobe.com/products/wishform.html

    The only way I can see around him, would be to remove the feature, duplicate the object is directly above the old object, then set the fill to 0%, adding the race again and remove the shadow. It is not ideal, but if you need to use the drop shadow with an object that has a stroke, it's the only way I can see the output file as HTML5 without appearing inside the shape.

  • By using the analytical function to sort without showing this column in the result.

    Hello

    We use the Oracle 11.2

    How to use Oracle Analytics to sort the output of a query without showing this column in the result?

    Here's my query:

    Select distinct nvl(SRC_CHR_NM,'0') | » #'|| NVL(EXPL_SRC,'0') | » #'|| NVL(DIM_NM,'0') | » #'|| NVL(DIM_CHR_NM,'0') | » #'|| NVL(DIM_CHR_ABR,'0') | » #'||

    Decode (InStr (NVL(SRC_COL_NM,'0'), 'trim ('),'1 ', Replace (NVL(SRC_COL_NM,'0'),'trim (',' trim(PRM_DTL.'), '0',' PRM_DTL.)))) » || NVL(SRC_COL_NM,'0')) AS ALLOFIT,

    DIM_NM

    from EXPL_CONFIG where SBJ_AREA_CD = 'PRMDTL. '

    I want to use analytical to sort by DIM_NM but I do not want to show. I want to just just the ALLOFIT column to show in the output.

    Something like "row_number() over (order by DIM_NM desc).

    Thank you!

    Hello

    If you SELECT SEPARATE, then you can only ORDER OF things in the SELECT clause. (Do you really need to do SELECT DISTINCT?  Often, it's just an inefficient way to remove the lines that do not need to be there at all).

    Move making the SELECT DISTINCT in a subquery and make the ORDER BY (and nothing else) in the main query.

    I hope that answers your question.

    If this isn't the case, please post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.

    Explain, using specific examples, how you get these results from these data.

    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002#9362002

  • How to clear the output buffer, possibly resize and burn again, before you begin the task of output

    I use PyDAQmx with a USB-6363, but I think the question is generic to DAQmx.

    I have an output buffer that I want to be able to (re) write to without starting the task output.

    More specifically, I have a graphical interface and a few sliders, the user can move.  Whenever the slider changes, a new set of values is loaded into the buffer output through DAQmxWriteAnalogF64.  After you set the value, the user can click on a button and start the task output.

    In some cases the change in cursor does not require a change in buffer size, only a change in the data.  In this case, I get the compalint following DAQmx as they tried writing:

    The generation is not yet started, and not enough space is available in the buffer.

    Set a larger buffer, or start the generation before writing data more than content in the buffer.
    Property: DAQmx_Write_RelativeTo
    Value: DAQmx_Val_CurrWritePos
    Property: DAQmx_Write_Offset
    Corresponding value: 0
    Property: DAQmx_Buf_Output_BufSize
    Corresponding value: 92

    In other cases the change in cursor requires both change in the size of the buffer and data modification.  In this case, I get the following, but only after that do a few times each time increase the size of the writing.

    DAQmx writing failed because a previous writing DAQmx configured automatically the size of output buffer. The size of the buffer is equal the number of samples written by channel, so no additional data can be written before the original task.

    Start the generation of before the second writing DAQmx or set true in all instances of writing DAQmx Auto Start. To gradually write to the buffer before starting the task, call DAQmx Configure an output buffer before the first writing DAQmx.
    Task name: _unnamedTask<0>

    State code:-200547
    function DAQmxWriteAnalogF64

    I tried to configure the output via DAQmxCfgOutputBuffer buffer (in some cases, by setting it to zero or a samples, then save again, in an attempt to clear it) but that doesn't seem to do the trick.

    Of course, I can work around the problem by loading data only when the user clicks the end button, but not what I'm asking here.

    Is it possible to "remake" the writing of output before you begin the task?

    Thank you

    Michael

    Today I have no material practical to validate, but try unreserving task before writing the new buffer:

    DAQmxTaskControl (taskHandle, DAQmx_Val_Task_Unreserve);

    With a simulated device, he made the error go away in case the buffer is the same size.  You will need to validate if the data are in fact correct, but I think it should be (unreserving I would say reset the write pointer so the old buffer are replaced with the new data).

    I always get errors when you try to change the size of buffer if (on my 6351 simulated).  I posted some similar mistakes about the reconfiguration of the tasks here, I guess it is possible that this issue has also been set at 9.8 (I always use 9.7.5 on this computer).  If the behavior is still present in the new driver, and also appears on real hardware (not just simulated), then it seems that this is a bug of DAQmx someone at OR should be considered.

    I wrote a simple LabVIEW VI that captures the error in order to help people to NOT reproduce it:

    The best solution at the moment would be likely to re-create the task if you need to change the size of the buffer (or avoid writing data until you are sure what will be the size of buffer).

    Best regards

  • CS4: Clearly the source, but the motion blur of the output gives the export

    Hello!

    When exporting my videos imported into CS4, quick movement appears blurry, even if the source is much clearer.

    Demo 1: Source, output
    Demo 2: Source, output

    I was hoping someone could explain to me why the output is much more blurred and if possible, how to fix it.

    Sequence options:
    I tried a bunch of sequence different presets such as AVCHD/AVC-Intra/HDV/XDCAM/P2, or custom options (parameter FPS to 29.97, 30, 59.94, 60 fields/up/down, change the display format), but the output is blurry, no matter what I try. Made with upper/lower case fields does not; so the progressive setting is probably correct.

    I have also created a project without a sequence, imported the clip and it has exported directly; the output was still unclear.

    Export options:
    I used recommended an export preset for export on Vimeo (see paragraph CS4), which uses the H.264.

    Information about the source clips:
    They are filmed with my GoPro Hero HD cam to 720 p 60.
    MediaInfo output: video, audio
    Output of GSpot
    Interpretation of the creation of a clip

    My system:
    Windows 7. 4 GB of Ram, but 32 bits, up to 2.8 GB of RAM is used.
    Intel Core i3 550, 3.20 GHz
    Video card: Nvidia Geforce 8800GTS 320 MB of RAM
    1 monitor

    I hope that this information is sufficient, please let me know if there is anything I should add.
    Even if it is not possible to fix it, I hope someone can explain to me why the output is so different from the source!

    Thank you!

  • I offered him my iPad to my father, and it was forgotten not only apple ID, but also by e-mail. the ipad needed to activate the icloud since its ios 9.3 update. You can help me to unlock the ipad without the iCloud. I have evidence to prove that it's mine

    I offered him my iPad to my father, and it was forgotten not only apple ID, but also by e-mail. the ipad needed to activate the icloud since its ios 9.3 update. You can help me to unlock the ipad without the iCloud. I have evidence to prove that it's mine

    You need to take it to an Apple Store with a dated receipt to prove that you are the original owner/purchaser. It's possible Apple may be able to release the lock. We can not help you with it.

  • How can I configure a new TimeCapsule for an existing network without having to activate the internal networks?

    I tried to go in advance and choose "Add TimeCapsule to the existing network", but it keeps defaulting to 'add a new network '.

    without having to activate the internal networks?

    "Add TimeCapsule to the existing network.

    You cannot add a TC in an existing network, if there is.

    You must configure the TC for the network.

    It keeps default back to "add a new network.

    So, it's OK... The TC is part of an existing network or makes a new.

    You must connect to the TC network... either wireless or ethernet.

    However, you can manually configure the TC simply plug ethernet for example.

    See, cable using Time Capsule for Mac for backup only.

    The same can be done for the wireless... but a TC is really the bad device for backups if you don't have a network... It's cheaper, faster and more reliable by using a USB key.

Maybe you are looking for

  • Email recovery problems

    Hello My friend and I bought a laptop Toshiba TecraA9 flea market and we both have the same problem. When you want to receive our email on your pc - from our supplier - very often we get a message that there is no link! We also use poppeeper to retri

  • stop: (0x000000ED) BSOD

    Hello, first of all I would like to start by saying that the type of computer I have is very old... it's a Compaq laptop with windows Vista or XP, I don't remember. Anyway, when I start the computer, it loads as usual, with the exception of the fact

  • driver_power_sate_failure, Windows Vista Service Pack 2

    Hello. my computer crashes after I connect to a USB modem after you install Windows Vista Service Pack 2 on June 4, 2009.  Under Windows Vista SP1, my laptop works fine when I use USB modem (Huawei model E160 - Globe visibility) and I can connect to

  • Cannot download Windows updates: error code 80070005

    Impossible to download the windows error code 80070005 updates always prevents update. Any help would be great Thank you

  • Problems of LClock

    My computer has a LClock icon in Control Panel. I dragged to the recyclebin, without result. Now shift caps lock is enabled in everything what I'm typing and clicking on an icon on dektop results in many others being selected.