Trying to shutter AWG out digitizer (CVI)

I work with an arbitrary wave generator NI PXI-5421 and digitizer PXI-5211.

With CVI, I let a waveform with the AWG output 500ms after the scanner is triggered.

Is this possible?

To set up triggers, I used the following two functions:

  • niFgen_ConfigureDigitalEdgeStartTrigger (AWGHandle, "PXI_Trig1", NIFGEN_VAL_RISING_EDGE);
  • niScope_ConfigureTriggerOutput (ScopeHandle, NISCOPE_VAL_START_TRIGGER_EVENT, NISCOPE_VAL_RTSI_1);

However, I was not managed by entering the ARB to produce anything once the scope is triggered.

I'm missing steps crucial or is - something that cannot be done in the way wherein I try?

Thanks for your help.

Hello

I think I see the problem. It seems, it's that you configure your digitizer and fgen correctly if they were going to be run separately, except for one thing. In this section:

Digitizer of config.

....

Set up the output trig for digitizer to trigger AWG
error | = niScope_ExportSignal (ScopeHandle, NISCOPE_VAL_START_TRIGGER, "", NISCOPE_VAL_RTSI_0);

you export the start trigger, which is in fact sent immediately after you call the niScope_InitiateAcquisition() function. All this is done before you set up your AWG, so start trigger is already sent before calling the niScope_InitiateGeneration() to the working group. Also, I suppose that you want to trigger off the trigger of reference that you configure your call to the niScope_ConfigureTriggerEdge() function. I have attached a picture of the help file for this function.

There are two things you need to do to solve this problem.

1. you need to change this line: / / output trig to trigger AWG scanner configuration
error | = niScope_ExportSignal (ScopeHandle, NISCOPE_VAL_START_TRIGGER, "", NISCOPE_VAL_RTSI_0);

to export the reference trigger instead: / / output trig to trigger AWG scanner configuration
error | = niScope_ExportSignal (ScopeHandle, NISCOPE_VAL_REF_TRIGGER, "", NISCOPE_VAL_RTSI_0);

2. in addition, you must move the niScope_InitiateAcquisition() function to be called after the function niFgen_InitiateGeneration():

"....

Activate the AWG output
error | = niFgen_ConfigureOutputEnabled (AWGHandle, '0', VI_TRUE);

Output of arm
error | = niFgen_InitiateGeneration (AWGHandle);

Acquisition of digitizer Begin
error | = niScope_InitiateAcquisition (ScopeHandle); "

According to me, who must take care of it.

Chris W

Tags: NI Products

Similar Questions

  • I am trying to open, fill out, and print a PDF from a reliable source. I updated Adobe Reader DC but continue to get an error message indicating that I have to "Upgrade". I used Google Chrome and Internet Explorer.

    I am trying to open, fill out, and print a PDF from a reliable source. I updated Adobe Reader DC but continue to get an error message indicating that I have to "Upgrade". I used Google Chrome and Internet Explorer.

    Error Message SmartForm.png

    I have it!

    PDF on Mozilla Firefox and Google Chrome XFA forms

    Changed the setting in Firefox and it works. Thank God.

  • I can not eject my cd in the cd rom drive. It seems to be stuck and I tried everything to get out. help please

    Ideas:

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    On most readers it is a small hole, normally just below the status bar, if you can find it is to use, straighten out a paperclip and push gently into the hole and the player must free

    Hope that helps

  • problem with if/else with liquid trying to fill out a form in advance

    I'm trying to automatically fill out parameters with a custom using liquid - field you see something wrong with the statement ' if/else '? AutoFill works OK if it is not empty but is unable to do the part "else" (replace with "New South Wales" If empty) - thanks in advance!

    Billing booking status < label for = "CAT_Custom_20031893_187341" > < / label >

    < select name = "CAT_Custom_20031893_187341" id = "CAT_Custom_20031893_187341" class = 'required cat_dropdown' >

    "< option value =" ">--please select--< / option >".

    {% If CAT_Custom_20031893_187341! = "" %}}

    < option value = '{module_customerfield, 187341, 20031893}' selected = "selected" > {module_customerfield, 187341, 20031893} < / option >

    < option value = "New South Wales" > New South Wales < / option >

    {%-%}

    < option value = "{module_customerfield, 187341, 20031893}" > {module_customerfield, 187341, 20031893} < /op ing >

    < option value = "New South Wales" selected = "selected" > New South Wales < / option >

    {endif %}

    < option value = "Queensland" > Queensland < / option >

    < option value = "South Australia" > South Australia < / option >

    < option value = "Tasmania" > Tasmania < / option >

    < option value = "Victoria" > Victoria < / option >

    < option value = "Western Australia" > Western Australia < / option >

    < / select >

    < script type = "text/javascript" >

    document.getElementById('CAT_Custom_20031893_187341').value = "{module_customerfield, 187341, 20031893};

    < /script >

    Not all variables 'empty' corresponding to the empty string.

    Try something like {% if CAT_Custom_20031893_187341 and CAT_Custom_20031893_187341 != "" -%} .

  • is there a vi for inputs/outputs using AWG (PXI-5421) and DIG (PXI-5122)?

    Hi, I'm looking for a vi that applies to an input through the AWG (PXI-5421) signal and measures the output through the SEARCH (PXI-5122). In particular, I'm trying to apply an entry by a multiplexer, then close this channel of the multiplexer through which the entry came and then measure the output using the SEARCH signal.

    Any help will be greatly appreciated.

    Thank you.

    Hello Deepjunior,

    I understand that you wanted to find an application that will be output on an AWG device and acquire a table digitizer at the same time. While there are many methods to achieve this, the easiest starting point would be to just take a simple example of niFgen and a simple example of niScope and run them together or combine them. According to exactly what your application requires, you may need to implement additional features, but it is a good starting point.

    In particular, you can find an example of this from the example of area developer program: OR-TCLK synchronize AWG and digitizer high speed. Basically, this example combines niFgen and niScope examples and using the API OR-TCLK to synchronize devices. I recommend watching the program and trying to start from there. Hope this helps,

  • Spam problem out (hijack)? I see the HTML page to carry out inspections.

    My outgoing mail is blocked for "behavior spamlike. Trying to figure this out, I see that spam online various ladies could help if I can't enter sample in HTML format e-mails in their auditor. I have failed to find out how to see the underlying HTML for an outgoing email. Can it be done? I have been around the help system until I'm dizzy >

    If all of your outgoing mail is blocked for the spamlike behavior then you may need to contact your service provider.

    You can have triggered the spam server detector and now everything is blocked, regardless of if she looked like spam or not... This could be a temporary block, but you won't know until you find out by talking to your ISP to find out what happened.

    Therefore, there is no point in trying to look at HTML as that e-mail can be good but still blocked. You can save an email in drafts, then select the message to read. Click on 'Other options' and select 'View Source '.

  • How can I get my iWatch out of demo Mode?

    I tried everything to get out of demo mode. using the screen and button brings up the menu. But when I try to turn off the move he does not. Can anyone help? I have a decoration expensive wrist now.

    Hello

    Contact Apple technical support or make a Genius Bar reservation for assistance:

    https://www.Apple.com/support/watch/contact/

  • What should I do to make my music release, I tried to restart my phone but it is frozen on the peak of Apple's music. There is no sign in or buttons to click and I can not get to any of my music

    Ive tried everything to unfreeze it, but it won't unfreeze. It is stuck on the peak of Apple's music and I can't go to my music at all. I tried signing in and out and even turn off my phone, but it does not work.

    Try double pressing the 'home' button and drag the application to the top music. Then hold down the sleep/wake and the "home" button until the Apple logo appears. -AJ

  • Error selection LabWindows CVI Card Configuration

    I am trying to enter the Lab Windows CVI 2012 of TestStand 2012.  When I try to configure LabWindows CVI adapter to

    c:\Users\Public\Public Documents\National Instruments\TestStand 2012\Adapter Support\CVI\tscvirun.prj the window changes the path to

    c:\Users\Public\Documents\National Instruments\TestStand 2012\Adapter Support\CVI\tscvirun.prj and displays the message that it cannot find the file.  I use Windows 7 if that makes a difference.

    Hi herbertwatson,

    I have attached my tscviprj.ini. I have two TestStand 2010 and 2012 TestStand, installed on my machine but the ini is only in the 2010 directory. It is possible, he just needs to be an ini for TestStand work with all facilities CVI. Try to place it in the same directory as your tscvirun.prj for 2012.

    If this does not work, it may be useful CVI, TestStand and then reinstall.

    Kind regards

  • cluster complex labwindows cvi

    Hello

    I'm trying to convert a LabVIEW LabWindows/CVI dll code to meet certain requirements of the processor. I'm passing a group of parameters and variables in the DLL, some of the elements which are arrays. My question is twofold:

    1. How to refer to values in the table that is passed as part of my structure?
    2. In what order are multidimensional arrays from LabVIEW to a DLL (column or row-major order)?

    To specify the number 1, if I have a type definition which reads as follows:

    typedef struct {

        int32 dimSizes[2];

        float64 Numeric[1];

     } TD2;

    typedef TD2 **TD2Hdl;

     

    typedef struct {

        int16 index1;

        int16 index2;

        TD2Hdl array;

    } TD1;

    And my function prototype reads:

    int myfcn (*TD1 input);

    How do I référenceriez the (index1, index2) two-dimensional array element array ? None of the following seem to work:

    input->array->Numeric[index1][index2];

    input->array->Numeric[index1 + index2*dim1];

    input->array[1][index1][index2];

    input->array[1][index1 + index2*dim1];

    etc.

    Where dim1 is the length of index1 . To specify the number 2, if I have a two table to a dimension that has two rows and two columns:

    [1, 2]

    [3, 4]

    It happened in the order line field in the list (1, 2, 3, 4), or in the order of the field column in the list (1, 3, 2, 4) to the DLL? This should be of the order of the values stored in input->array->Numeric If I'm not mistaken.

    Thank you very much

    Nathan

    In addition, as mentioned in our correspondence, LabVIEW passes arrays in the order line field and you can dereference the (i, j) element of the array by using the call:

    (*(Input->array))->elt[ j + i*numCols ];

    Where Input is your TD1 object passed as a pointer to your function, so the function prototype might look like:

    int myFcn ( *TD1 Input );

    Thanks for the help Daniel!

  • Stuck in safe mode... have tried pressing f8 with no luck

    Someone in my family let others win access to pc remote... it was a scam... got scared and hung up on them without and just off the pc. now it is stuck in safe mode. Tried the usual things out... .pressing f8. Nothing works... any ideas... Caddy!

    Hi Janice,.

    It would be great if you could answer these questions to help you further.

    1. What do you mean by "Stuck in safe mode", you are referring to start the computer in safe mode only?

    2. what happens when you start in normal mode?

    If you are unable to boot into normal mode and start the computer in SafeMode automatically then I suggest you to try the following steps.

    a. Click Start and then click Run.

    b. type msconfig and click OK. The System Configuration Utility dialog box appears.

    c. click on the Startup tab.

    d. check if boot safe mode option is enabled.

    Please come back with more information on the issue so that we can help you better.

  • I tried to print a document I had just finished typing, and an announcement came to me to install ONENOTE before I could type, what I do

    I was typing a document and tried to print it out, but an ad for ONENOTE came on my screen and said that I had to install before I could print my document. How do we install a NOTE, if that's what I have to do?

    Hi Cindi,

    Thanks for choosing Windows and thank you for providing an opportunity to help you.

    According to the description, you are having problems with a pop-up message related to a single Note.

    1. What is the type of the document that you were writing?

    2. What is the exact pop-up message that seemed related to the installation of a single Note?

    Answer to us if you are experiencing problems with pop-up message or any other problem of Windows, and we would be happy to help you.

    Good day!

  • message of 4580 incompatible cartridge Deskjet on two cartridges now bought. ready to throw out

    message of 4580 incompatible cartridge Deskjet on two cartridges now bought.  ready to throw him out.  I tried all the remedys.  Cartridge bought from Tesco and HP.  Can't see tesco giving me another now I have opened

    Hooray, went to my local store rechargeable, which suggests that the old one has been yet accepted by my machine, fill out one for... costs me half the price and yes it works now. Will take defective return to tesco for a refund. But my boy I lost hours of my life trying to sort this out and gasoline in the return of the goods.

  • Photoshop has disappeared from full Abdobe CC. trying to sell me photoshop when I already pay!

    I have a lot of creative cloud. Photoshop CC 2015 has disappeared from my system. I tried to download again, but Adobe gave me a trial version. When the trial missed he wanted me to pay... but I already pay for FULL CC. tried to uninstall, check out CC, connection, check the updates, download Photoshop... but once it says trial has expired! Help. Why Adobe cannot provide the product, for that I am already paying?

    Please visit: https://helpx.adobe.com/manage-account-membership/cc-reverts-to-trial.html

    I hope this helps.

    Concerning

    Megha Rawat

  • Video framerate massively out of sync on the final rendering only

    Hi all

    I used a screen reader program (Cam Studio) to save myself showing something on the screen in full HD and record my voice with a microphone. Due to the program settings that have been apparently set the final file was a 20 fps framerate but was otherwise fine played and downloaded on YouTube with success. However there was a long interval at first until I started talking so I thought I'd use After Effects to crop the video and add a few titles in singles. I created a model to the standard 25 fps 720 p and imported images. Everything seemed fine, he was appearing on the timeline and preview at the same rate as the original. I made him as H264, but the final file was a total mess with the audio that plays normally but the video play faster, perhaps double the speed. I checked the images 'Interpret' > hand ' settings and it was defined on the original framerate 20 fps and also checked the details on VLC which also reported 20 fps. I recreated the comp and tried repeatedly to rule out tweaks, I would put but everything seems to be set up correctly.

    Anyone got any ideas?

    Thank you very much

    KW

    Finally it worked.

    I went on the whole record that incorrectly displayed as a sequence of images long - he was a little less 11 000 executives and the run time was 9.09. Simple math reveals that this means that the actual framerate was 5.62 fps not the 20 fps that was reported by all of the programs it runs. Defining "Interpret images" to the correct value then made the images make it perfectly in a model of 25 frames per second.

    The process with the image sequence was necessary because I did not have a good figure for the actual framerate and only knew he was playing MUCH faster (about four times) the speed, he should have. It seems that the framerate on the file flag was incorrectly, but the file always presents in preview in AE and plays correctly on YouTube and VLC which is kinda weird. My method is a very clumsy to find the solution, but an option if you have similar problems. Of course, the quality of the images is not important, because the real goal is simply to learn the total number of frame, so you can generate a sequence of images with resolutions tiny to save disk space and time. As it was, it took a few minutes to make almost 11 000 images in quarter HD resolution.

    Hope it will be useful to you.

    Edit: the framerate in real-time was also visible in the images in the preview screen, making the frame of the output method is not necessary, once you know this figure.

Maybe you are looking for

  • I want to disable firefox

    I share a macbook pro with my wife.She works with a COMPUTER technician who has implemented his system to automatically open the mail electronic and other functions that she uses every day.In some ways, we ended up on Firefox and its very confusing.W

  • How can I import cookies story bookmars etc. of my Opera browser to the latest version of Mozilla Firefox?

    I used Opera - got dull with it, now I want to use Mozilla Firefox, but I can not import anything from my old browser. While I was installing the new browser he asked me if I want to import bookmarks, history, passwords etc. of all other browsers and

  • Need drivers of Windows XP Home for Satellite L40 - 13G

    I need audio drivers for windows XP for satellite L40 - 13G? I try to download it from the site intel and Analog Devices Web site, but it does not work. P.S. sorry - but my English is not very well ;-)

  • Configure the search box on My DataFinder with vbscript

    Hello I use the following vbscript script to load data into data tiara Portal: Define dataFinder = Navigator.ConnectDataFinder ("My DataFinder")Set queryForm = Navigator.CreateQuery (eAdvancedQuery)queryForm.ReturnType = eSearchFileCall queryForm.Con

  • sound does not work. (no audio device)

    Hello, just the other day, I connected to my laptop and went to play a movie. I noticed that the sound was not working. I made is not on mute and not turned down all downstairs. I was looking on my control panel I clicked on the "speaker" icon and it