IMAQdx external/software trigger

I use C# & Vision Acquisition Software 2010.
I setup Vision Acquisition Software 2010 but the IMAQdx examples code just have Grab、Snap and Sequence capture.
Are there any about IMAQdx external/software trigger sample?

Similar Messages

  • Software trigger example for NI 5911

    Where can i find the software trigger example for NI 5911,
    thanks

    Hi dreamhawk,
    There are some examples online that demonstrate software triggering with a High-Speed Digitizer such as the NI 5911. Because you didn't specify which programming language you're using, I'll assume you're using LabVIEW. I suggest you take a look at the example program "Software Triggering with NI-SCOPE and a High-Speed Digitizer" at
    http://sine.ni.com/apps/we/niepd_web_display.displ​ay_epd4?p_guid=B45EACE3E89156A4E034080020E74861&p_​node=175383&p_source=External.
    Regards,
    David Shatila
    Applications Engineer
    National Instruments

  • HSDIO conditionally fetch hardware compare sample errors (script trigger to flag whether or not to wait for software trigger)

    I am moderately new to Labview and definitely new to the HSDIO platform, so my apologies if this is either impossible or silly!
    I am working on a system that consists of multiple PXI-6548 modules that are synchronized using T-CLK and I am using hardware compare.  The issue I have is that I need to be able to capture ALL the failing sample error locations from the hardware compare fetch VI... By ALL I mean potentially many, many more fails than the 4094 sample error depth present on the modules.
    My strategy has been to break up a large waveform into several subsets that are no larger than 4094 samples (to guarantee that I can't overflow the error FIFO) and then fetch the errors for each block.  After the fetch is complete I send a software reference trigger that is subsequently exported to a scriptTrigger that tells the hardware it is OK to proceed (I do this because my fetch routine is in a while loop and Labview says that the "repeated capbility has not yet been defined" if I try to use a software script trigger in a loop).
    This works fine, but it is also conceivable that I could have 0 errors in 4094 samples.  In such a case what I would like to do is to skip the fetching of the hardware compare errors (since there aren't any) and immediately begin the generation of the next block of the waveform.  That is, skip the time where I have to wait for a software trigger.
    I tried to do this by exporting the sample error event to a PFI and looping that PFI back in to generate a script trigger.  What I thought would happen was that the script trigger would get asserted (and stay asserted) if there was ever a sample error in a block, then I could clear the script trigger in my script.  However, in debug I ended up exporting this script trigger back out again and saw that it was only lasting for a few hundred nanoseconds (in a case where there was only 1 injected sample error)... The sample error event shows up as a 1-sample wide pulse.
    So, my question is this:  is there a way to set a flag to indicate that at least one sample error occurred in a given block  that will persist until I clear it in my script?  What I want to do is below...
    generate wfmA subset (0, 4094)
    if scriptTrigger1
      clear scriptTrigger1
      wait until scriptTrigger0
    end 
    clear scriptTrigger0
    generate wfmA subset (4094, 4094)
    I want scriptTrigger1 to be asserted only if there was a sample error in any block of 4094 and it needs to stay asserted until it is cleared in the script.  scriptTrigger0 is the software trigger that will be sent only if a fetch is performed.  Again, the goal being that if there were no sample errors in a block, the waiting for scriptTrigger0 will not occur.
    I am probably going about it all wrong (obviously since it doesn't work), so any help would be much appreciated!

    Please disregard most of my previous post... after some more debug work today I have been able to achieve the desired effect at slower frequencies.  I did straighten out my script too:
    generate wfmA
    if scriptTrigger1
      clear scriptTrigger0
      wait until scriptTrigger0
    end if
    generate wfmA
    scriptTrigger1 = sample error event flag
    scriptTrigger0 = software trigger (finished fetching error backlog in SW)
    However, I am still having a related issue.
    I am exporting the Sample Error Event to a PFI line, looping that back in on another PFI line, and having the incoming version of the Sample Error Event generate a script trigger.  My stimulus has a single injected sample error for debug. For additional debug I am exporting the script trigger to yet another PFI; I have the sample error event PFI and the script trigger PFI hooked up to a scope.
    If I run the sample clock rate less than ~133MHz everything works... I can see the sample error event pulse high for one clock period and the script trigger stays around until it is consumed by my script's if statement.
    Once I go faster than that I am seeing that the script trigger catches the sample error event occasionally.  The faster I go, the less often it is caught.  If I widen out the error to be 2 samples wide then it will work every time even at 200MHz.
    I have tried PFI0-3 and the PXI lines as the output terminal for the sample error event and they all have the same result (this implies the load from the scope isn't the cause).
    I don't know what else to try?  I can't over sample my waveform because I need to run a true 200MHz. I don't see anything that would give me any other control over the sample error event in terms of its pulsewidth or how to export it directly to a script trigger instead of how I'm doing it.
    Any other ideas?

  • Is there any way to connect disabled iPad to network via external software?

    Hello,
    My iPad is disabled because of a Bluetooth mishap (my keyboard in my coat pocket tried to enter my password too many times). So I can't enter my password on the screen. Unfortunately I didn't back up the last few weeks of documents in any way, via either iCloud or syncing. And I just can't erase all the work I've done--it's irreplaceable to me.
    Is there any way to connect the iPad to a WiFi network through external software, maybe using the lightning connector?
    I ask because in iCloud I marked the iPad as Lost (in Find My iPhone), so I may get another chance at entering my password if the iPad can get online to receive the signal. But because it's disabled it won't connect to a network.
    Many thanks for any help!

    Not a big surprise unfortunately...  time to get an iPhone I guess!
    Thanks for the answer Sir!

  • Using External Software Instruments

    How do I assign an external software instrument to a track in Logic?  Thank you. 

    Create a Software Instrument track.. and then left click and hold on the Software Instrument (SI) button.. (The one just above the I/O label in the Track Inspector on the Left hand side of Logic's Layout.)
    You will find all of Logic's Apple SI's there along with any 3rd party SI's you may have installed too, just below Apple's SI's.

  • No cd or dvd player on new macbook pro. how to install external software

    my new macbook pro with retina display has no dvd or cd player. how could i install any external software that comes in a cd like office for mac or any other type of software

    I purchased an external superdrive for this purpose. Apple makes one, and so do others. I suppose you could use a drive in another mac via sharing, if you have the necessary hardware. As for office, you can install that via download - that's what I did.

  • Software Trigger from CC1 on PCIe-1433

    Dear Sir or Madam,
    Now I am getting into trouble about NI Measurement Automation explore with my PCIe-1433. I like to make software trigger from this software into my cameralink camera. However I am not so familiar with this software. Is it possible to make software trigger ? If it is possible, I like to know how to generate it.
    Best regards,

    Hello,
    Check out this forum post. It goes through the steps necessary to set up triggering in MAX.
    -Erik S
    Applications Engineer
    National Instruments

  • DAQmx - Software trigger

    Hi all,
    I would like to knows if it's possible to start a task with a software trigger if an analog start trigger doesn't appear after a timeout (e.g. 2 seconds)?
    Kinds

    In fact you need to change trigger type of the task or to have different trigger types, I do not know how to do it directly
    The workarounds:
    1) Stop task if it gives timeout (= specified time), change trigger type and restart it. Be sure to commit task before first start to increase speed.
    2) It may work to connect internal 20MHz timebase to the trigger terminal (Daqmx routing palette) after the specified time

  • Result recording - Integration with external software

    Hi,
    Inspection is done using the external software & the results are stored in the external database.
    How can we transfer the inspection results in QM Result recording?

    Hi,
    For the upload to the SAP-System, the function module BAPI_INSPOPER_RECORDRESULTS will be used with the following mandatory input parameters:
    -     Inspection lot number
    -     Inspection operation number
    -     Inspection point number
    -     Partial lot number
    -     (SAP-)batch number
    -     Characteristic results (for characteristics with summarized result recording)
    -     Single results (for characteristics with original result recording).
    The transfer between subsystem and QM is done asynchronously. The mapped result data will be send as IDoc to the SAP system, or via direct call of the BAPI_INSPOPER_RECORDRESULTS via RFC.
    If the data is send as IDoc, the BAPI-ALE interface must be setup to process the BAPI_INSPOPER_RECORDRESULTS at receipt of a new IDOC.
    Kindly contact with your ABAP'er for further process.
    Thanks & Regards,
    Srinivas.D

  • 6221 pulse generation using external digital trigger

    Hi there: I am trying to do something very basic, but cannot figure out how to do it. I have an NI 6221 USB I/O device.  I want to program it to generate a digital output 100ms after receiving a digital input. I am trying to create a task to do this using NI Max, but all of the options on the trigger source menu are greyed out. There is no way to specify an external hardware trigger.  Do I have to program this functionality using DAQmx in the code?

    I found the solution to this question in Gen Dig Pulse-Dig Start.vi from the NI example finder. The answer is that you do need to configure the input trigger programmaticaly using the DAQmx functions. See example code for more details.

  • Help: Can you use software trigger on a digital line.

    Hi:
    We have a legacy DAQCARDard 700 which does not support hardware triggering.
    We have a trigger from our instrument that is 5 V+ and we would like to
    trigger when it drops to 0 V. We have several questions.
    1. Do we need to invert the signal in MAX or is that only for V that are
    negative?
    2. Is there a good example in the examples where the state of this digital
    line is used to trigger an analog acquisition? When we tried using the
    digital trigger examples, we had an error saying that the hardware did not
    support that mode.
    3. We have an analog software trigger mode (based on the Analog Software
    Trigger example) working which we would like to modify over to read the
    digital line, but we have done very little wi
    th digital I/O.
    4. The digital trigger has been assigned a virtual channel of dtrg.
    Any help would be much appreciated.
    Thanks in advance,
    Pete

    Thanks Doug,
    If we read the digital line instead of as an analog line would it improve
    the accuracy of the triggering. Everything works now except we have a
    little bit of timing jitter within about 1 data point scanning at 50 kHz.
    However, I've never done any digital i/o with LabView, but may I should work
    through some of the tutorials. If you thought that this might solve the
    jitter problem. Would checking the state of the digital line allow a faster
    response with softtrig, I guess is my question?
    Pete
    "Doug Norman" wrote in message
    news:[email protected]..
    > Hello Pete,
    >
    > You are correct that the DAQCard-700 has no digital (or analog)
    > hardware trigger. The analog trigger example t
    hat is working for you
    > is using conditional retrieval. This is where data is always being
    > acquired and the driver looks at the values to determine when to
    > "trigger" and read the data into LabVIEW. To answer your questions:
    > 1. I don't think you need to invert the signal. This is for when you
    > want a digital low (below 0.8 volts) to show up as a digital high, and
    > a high (above 2.0 volts) to be read as a low.
    > 2. I don't know of a good example. You would basically have to
    > monitor the digital line. When it goes from high to low you would
    > then start your analog acquisition.
    > 3. I think this could be your best bet. If you have enough analog
    > input lines, why not just connect this digital signal as one of your
    > analog inputs. Then use this example to trigger when the 5 volts
    > drops to 0. It won't hurt to acquire your digital signal on an anlog
    > input along with your other data.
    > 4. I don't understand this question.
    >
    > Best Regards,
    >
    > Doug Norman

  • Saving software trigger in project

    I created a project with Signal Express v3.0 where I use software trigger to start and stop acquisition. When I close signal express and then reopen the project the software triggers do not show up in the bar below the menus.
    Is there a way to keep the software triggers in the bar when we close the project and signal express?
    Thanks,
    Ben

    Duplicate post on Signal Express forum here
    Misha

  • Software trigger

    I created a project with Signal Express v3.0 where I use software trigger to start and stop acquisition. When I close signal express and then reopen the project the software triggers do not show up in the bar below the menus.
    Is there a way to keep the software triggers in the bar when we close the project and signal express?
    Thanks,
    Ben

    Hi John, if you look at the attached screenshots view1 shows the top part of the project when I open it. In view3 the software triggers are present. In view2 I display the start condition settings of the project. When I open the project I have to remove software trigger A and then add it back to have both trigger A and trigger B buttons appears at the top as in view3.
    Ben
    Attachments:
    view1.PNG ‏16 KB
    view2.PNG ‏32 KB
    view3.PNG ‏16 KB

  • Software trigger with PCI-5122

    I am going to program a board with PCI-6552 and in meantime in specific times capture the samples of the anolog output of the board by PCI-5122.
    Is there any way to use software trigger and the data pattern of PCI-6552 (e.g. define a software event) to trigger the PCI-5122. If it is possible, how the software event can be defined and connected to the "send software trigger" block?

    Whe using a software trigger with the 5122, you generate the trigger whenver you call the "Send Software Trigger" function. you can program the software events that cause this funtion to be called in any way you want.
    In the simplest case, you could place the "Send Software Trigger" function in a while loop and only execute it when the user presses a button.
    Jack

  • When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ? Thank You

    When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ?
    Also is there any way I can change the contact form email for all of my contact forms at once.
    I have over 100 contact forms and i want to make them reach the same email anyway I can do that without going one by one?

    If you have placed the image in Muse using File > Place and then scaled the image down in Muse while editing, then Muse publishes/exports the scaled down/optimized image in final output. When using as a Fill, the output size depends on the Fitting option you setup in the Fill options.
    As for the contact form email, you would need to specify the email address for each form individually. There is no workflow to edit the same for multiple forms at a time.
    Cheers,
    Vikas

Maybe you are looking for

  • Why does plugin container crash ONLY on city of wonder on facebook

    When trying to load City of Wonder on facebook, I get firefox not responding, then it closes, and checks for a solution. Then it tells me that a plugin container stopped working. Ive tried everything, as it works fine on my daughter computer with an

  • Gaming with Windows XP

    I've just installed Boot Camp and was wondering which PC games I can play with Windows XP installed. If I were to go into an electronics store, what would be the minimum requirements that I should look for to get great performance when playing these

  • "Error: You did not respond" failing to video chat

    I keep getting an error message when I try to video chat that says "*myusername did not respond." The person on the other end gets "hisusername did not respond." Our computers have been able to video chat before, but we only tried it on our home netw

  • How to assign values to instances of a method created via an array

    i have created an array of the PlayerRecord instance called currentPlayers and im trying to use another array of Strings to give names to the players (currentPlayers[instance].name) but it is failing horribly when i try to name them one at a time as

  • Lost admin username and password

    I recently was given this IMAC for free, by the school I work for. Unfortunatly, the person who was at the time the main administrator did not leave his username and password. (He recently quit and moved out of state). Thus I cannot open files, add s