Create signals from the software

I am trying exteranlly trigger a camera by using its ready digital signal reading to invoke the next trigger.

The code below triggers a pulse counter, whenever there is a signal of falling on PFI0 edge:

camShutterOutputTask.COChannels.CreatePulseChannelTime ("Dev1/ctr0", "",)
COPulseTimeUnits.Seconds, COPulseIdleState.Low,
0,
0.000001,
(((double) exposure_time) / 1e6);

camShutterOutputTask.Triggers.StartTrigger.ConfigureDigitalEdgeTrigger ("/ PFI0/Dev1", DigitalEdgeStartTriggerEdge.Falling);
camShutterOutputTask.Triggers.StartTrigger.Retriggerable = true;

Right now it works very well by linking PFI0 to a USB-6002 output to test. Every time I press a button to send a signal of USB-6002, I see a shock occurs.

However, when connecting to a physical camera, PFI0 will be connected to the display of the camera. I need a way to manually launch the first impulse on the software side move the following loop. Is it possible to do?

Hi Joehsiao,

How long do you expect to be taken between the time the camera receives the initial impetus until when the camera on the impulse arrives on PFI0? If it's a pretty long time, then you could just reconfigure the task for counter 0 after the initial pulse. For example, you set up initially to generate a pulse based on a one-time event (application startup, event button user, time, etc) and then once it generates this initial impetus, clear this task (or change), so that the meter to exit task is then configured to trigger the signal coming from the PFI 0.

Kind regards

Kyle S.
Technical sales engineer
National Instruments
http://www.NI.com/support

Tags: NI Software

Similar Questions

  • Creating PDF from the software Macromedia in MS Outlook 365 convert without images.

    Case 0187809571. Creating PDF from the Macromedia in MS Outlook 365 software works, but the images do not convert. DC Adobe has been bought and installed on 6 May and MS Office 365 has been bought and installed on May 6. The two programs are the latest versions.

    Create a PDF from an email that way (above) results in:

    I tried 2 Chat sessions without resolution. If I "print" to PDF, it's ok:

    Help, please. This happens to all emails with images.

    Hi bethm19302338,

    Start Outlook, click the Adobe PDF tab, click conversion settings.

    Once you see the conversion settings window, check if this option is checked "block download of external content. Try to uncheck and restart outlook and conversion, and then try again.

    Kind regards

    Tariq Dar.

  • An error has occurred has not got a response from the software update server (update.local). What should I do to update my laptop?

    An error has occurred has not got a response from the software update server (update.local). What should I do to update my laptop?

    It is one of the many problems that occur on my mac.

    Update of OS X El Capitan 10.11.4?

    1. backup Mac.

    2. install 10.11.4 combo update.

    https://support.Apple.com/kb/DL1869?viewlocale=en_US & local = en_US

  • TouchSmart 610 unable to receive the signal from the configuration box

    I have HP 610 TV tuner equipped touchsmart all-in-one.  TV work very right up until a few days ago, when I couldn't have a signal from the cable box.  Box has changed and cables without result.  Tried a HDMI cable, but can't find the source selection.  Hung a small tv for the area with a perfect image, so that the excluded the cable/box issue.  Very grateful for any suggestions/advice/help.  Thank you!

    Hi again SuZQT,

    It is good to hear from you!

    To enable your system to receive a signal once more, I recommend you to return your system to a previous restore point before the problem occurred. This can be done by following the steps described in this document on using Microsoft System Restore (Windows 7).

    Please re-post with the results of your troubleshooting, and I look forward to your response!

    Concerning

  • When I connect my computer to the Netgear router, they do not seem to recognize the signal from the modem. I have to run each device directly to the modem (one at a time) for internet access.

    I have both a laptop and a desktop computer and use a modem wired high-speed internet.  I bought a router "Netgear" 5 port so that I could have both online at the same time, but when I connect my computer to the router, they do not seem to recognize the signal from the modem. I have to run each device directly to the modem (one at a time) for internet access. It gets very tedious, please help...

    Original title: router does not work...

    Hello

    Welcome to the Microsoft community.

    I see that when you connect multiple computers using the Netgear router, it does not recognize the signal from the modem.

    You must contact the ISP to verify if they can help you with this question.

    In addition you can keep these items handy, it might help you.

    Set up a wireless router

    http://Windows.Microsoft.com/en-in/Windows7/set-up-a-wireless-router

    Install or remove a modem

    http://Windows.Microsoft.com/en-in/Windows7/install-or-remove-a-modem

    Change modem settings

    http://Windows.Microsoft.com/en-in/Windows7/change-modem-settings

    It will be useful.

    If you need help with Windows, let know us and we will be happy to help you.

  • Trying to open a corrupted catalog extracted from the software recovery but shows 0 bytes.

    Trying to open a corrupted catalog extracted from the software recovery but shows 0 bytes.

    Hi pibo1984,

    As the catalog size is 0 bytes, this means that the catalog has no inside information.

    So I suggest you to please try to work with one another your backup catalog.

    Kind regards

    Tanuj

  • problem creating oscustomisationspec from the command line

    Hello

    I have a problem when you create or modify a command line oscustomisationspec

    If I change the administrator password or domain password I have a problem when you use the customisationspec

    error is cannot decrypt the password

    the public key in the specification does not match the public key of vcenter...

    When I create this oscustomisationspec of my xp machine I have no problem

    When I create my Management Server I have the problem

    and when I create it from the vcenter itself I have the question too

    I don't understand why I'm using the right button of my computer and not a server

    If I create the customspec of the client vsphere vcenter or on the management server, it works well

    Another thing

    If I export customization of my computer the plain text for the password value is false

    If I export the customization of the server the value of plaintexst is true

    my machine is xp

    the waiters are win2003 and win2008

    can anyone help?

    Hello, DanielSoares-

    This could be linked to the bug referenced in the thread to the http://communities.vmware.com/thread/297748.  Here, broedi and vitalibaruh done by are the property of plain text for passwords in the spec is set to $false instead of $true when.  They discuss this issue when using New-OSCustomizationSpec to clone an OSCustomizationSpec, but I got the same behavior you describe when you create a new persistent by using New-OSCustomizationSpecOSCustomizationSpec.

    In the thread (the post to http://communities.vmware.com/thread/297748?start=18), vitalibaruh (from the team of PowerCLI) mentions that he's filed a bug for this behavior.

    So for now, the solution seems to be to create the OSCustomzationSpec via the vSphere client and, if you want to work with a copy of the spec (to add/modify credentials, for example), use the API to clone the spec (via the DuplicateCustomizationSpec() method) and then use Set-OSCustomizationSpec to make changes to the clone.  I've posted an excerpt on the use of this method twice in this same thread.

    Is not ideal, but that market.  I hope this helps.

  • My p6000 resumes signal from the wireless router. He has worked for months, has left, any help?

    HP Pavilion p6631p

    Windows 7

    I have a slightly new wireless router and the PC is always connected like this, but in the last days he will not pick up any signal from my router or our hot spots of our my touch 4g cell phone.

    It will not work so hard cable...

    Occasionally, he'll go get a weak signal, but I think there out crapped on me, anyone else having this problem?

    Warranty has expired 3 weeks ago! Pissed! I think they do it on purpose.

    If the antenna wire is not damaged or not connected, I would consider looking at an ASUS, Linksys, D-Link or Netgear PCIe x 1 or wireless USB adapter to replace the original one. Here is a selection of Newegg.

  • Toshiba 42Z3030D TV not receive signals from the remote control

    I can't use any (Toshiba or the distance from Sky TV) remote on my TV.

    Everything works on the TV when I use the buttons on the side of the TV but the TV does not seem to receive all signals from remote control.

    I changed the batteries in the remotes, and it still does not work.

    Can anyone help please?

    Model: Toshiba 42Z3030D TV

    T couldn't be possible that your TV remote is malfunctioning?
    Maybe you need to replace.

  • Average value in a second a series of signals from the DAQ card

    Hello

    I'm trying to average signals in one second of my DAQAssistant.I am using a shift register to add all signals in a second interval and then dive out of the turn register by the number of iterations of my time loop (which I think should be the total number of samples per second-1). But when I studied the value of i from inside while loop by placing an indicator it always returns a value that is equal to my (sampling rate of DAQAssistant) / Samples as follows. This means that the average value I get something wrong, it is the average value seems within the reach of the signal I get.

    I wanted to use an array to store all the signals in a second, but I might have to increase the samples up to read the value in this case it will not be a very efficient way to store 500 data in a table.

    Any reclassification help how to get mean value over a cycle would be greatly appreciated.

    Thank you

    This is because an iteration of the loop returns a type of dynamic data that is under the hood an array of 100 samples.  The loop runs 10 times because you stop the loop after 1 second, only lasts only 1/10 of a second because she the 1000 Hz divided by 100 samples.  That's why I + 1 is equal to 10.

    Now you have 10 bays (buried in the dynamic data type) added.  Divided by 10 gets you the average of these 10 tables.  But this average is always an array (buried in DDT), but when connect you up to the average indicator, is to return only the first sample of average average array which is why your average seems essentially functional.  However, the averages of the other 99 data points (x iterations of the loop 10) are lost.

    You would be better off away from the DDT.  Just work with arrays.  Add the 10 tables to each other.  Now, you'll have an array of elements of a thousand that you can all wire to the average function in the range of statistics.  You won't have to worry about count the iterations of the loop, in summary and dividing.

  • 2.4 ghz disabled, try to connect at 5 ghz, no signal from the router

    Tried switching to 5.0 on the 192.168.1.1 page and no I have no signal from my router on any of my devices. Internet is fine.

    one of your devices do see as the 5 GHz listed when you watch SSID? You must get your devices and see if they are capable. otherwise, you won't see even listed

  • Lost the signal from the network

    My Xperia z5 lost network signal even I have signal in my area, it's because I updated the software? How can I solve this problem?

    @Georgian86

    You can either contact your Local support or your corporate network in this respect.

  • U2414H DisplayPort 1.2 STD Set Up - monitors will not get video Signal from the graphics card during start or restart

    * What specific Dell monitor? 2 two U2414h monitors with MD214 - package of multi-monitor support
    * What specific model of computer, desktop/laptop? Workstation HP xw8400, Intel Quad Core Xeon CPU E 5335 @ 2.00 GHz, 4.00 GB of memory
    * What operating system? Windows 7 Professional 32-bit
    * Which video card? AMD over-pants V3900
    * Which ports are available for the video card? DisplayPort 1.2 STD, Dual-link DVI
    * Which video output from the video card port video on the port monitor do you use? Output Mini DisplayPort Display port in
    * What cable are you using to set the video card to the monitor? Adapter DisplayPort to MiniDispayPort - we came with every Dell monitor
    * You use the Dell supplied cable? Yes - two monitors

    * Press the Menu button of the monitor to open the OSD (On Screen Display). The bottom of the screen should display a resolution. This resolution should match the resolution of the default monitor. The two monitors: 1920 x 1080, 60 Hz

    * Brief description of the problem monitor? Monitors have been implemented following the instructions on page 25 of the Dell online manual to connect the monitor to function DP multi-flow (MST). DisplayPort cable is connected to V3900 output MiniDisplay port DisplayPort graphics card in the 1st U2414H; second DisplayPort cable is connected to the DisplayPort on 1 U2414H monitor output and MiniDisplayPort in the 2nd monitor U2414H. Dell U2414H drivers have been installed from the CD provided and both recognized by Windows. V3900 graphics card Driver is up to date with the EyeInfinity software. Source of input on both monitors the Mini Display Port value. Display settings on both monitors Display Port 1.2 value activate. Resolution of the screen on Windows 7 shows: (a) two separate Dell U2414H (mini Display Port) screens, with each resolution 1920 x 1080, multi (b) displays the value "to extend these displays. The two views work with Setup leading up to and acknowledged by the graphics card.

    Problem 1 - all the time - monitor power buttons are lit, the computer is turned on, then monitors lights don't - they show 'Power save mode' and then turns off. To hit the power button on the computer to shut down Windows. Only way to get these on monitors is unplug cords from the back of each monitor, wait a few minutes, plug in the power cord, start computer and then both monitors will start up and sign of windows to the screen will appear and monitors will work. Normal operations for a full day of work if you do not restart. If you need to restart during the day (like when you get a software update), the same thing happens. Start the computer to restart, but the monitors come back on not and remain dark. There is nothing wrong with the graphics card V3900. He is certified by AMD and DisplayPort.org to work in an environment of STD DisplayPort 1.2. I had previously two 215tws Samsung SyncMasters connected to each output V3900 Grahics card and they work very well in extended mode for years until a SyncMaster 215tw started shaking like crazy. A SyncMaster has been connected to the out display with a dongle and a DVI cable Port. The other SyncMaster was connected to the DVI output on the graphics card. So I decided to buy these two U2414Hs. Technical support Dell after many phone calls and e-mails finally advised me that there is a problem of "compatibility" between my computer and the U2414Hs and recommended that I return the monitors. On the web site of the U2414H AMD has not been certified by AMD to work in a DisplayPort 1.2 STD Set Up. Other former Dell monitors are certified by AMD to work in the Display Port 1.2 Setup. DisplayPort.org lists the U2414H to work with Display Port (it does not say that it will work in a DisplayPort 1.2 Set Up).

    Problem 2 - shift perceptible in the entrance of Microsoft Blue Tooth keyboard and mouse and PS2 Keyboard and mouse. All the drivers are up to date. When you type a phrase, it takes a few moments for the text displayed on the screen using a keyboard. Both the mouse connected and the Bluetooth mouse are unresponsive sporadically for a few moments until they finally react. It happens regularly during the day. The monitors provide excellent clarity when you work. The stand is ideal for office property. Before these monitors are returned if no one knows what causes these two problems and does anyone have a solution? Should I stop using the Display Port 1.2 and hang them using HDMI with active dongles? If I have to return these two U2414Hs, I considered the 2 two U2413s. Someone at - it all opinions on the last U2413s from Dell? I have read some real problems with ghosting that I just haven't the time for more. The remanence correction in the models of U2413 sold in 2014? There are very few monitors on the market with Display Port in and out to the back to support DisplayPort 1.2 STD Transport.

    Thanks for any input.

    I had to remove my VGA HDMI DV card and now the DP (display port) works very well. Don't need to use a HDMI cable. Display Port 1.1 is reported as the problem in order to remove the card solves this problem.

  • Pilot 'currently is not available from the software update server' on Mac OSX 10.8 for Deskjet 3054

    I'm very computer savvy, but cannot get this printer is installed!  I get "driver"currently unavailable from the updateserver software "on Mac OSX 10.8 for Deskjet F3054".  Help, please?

    Hello

    Restart your Mac, then run the update of software and try to add the printer again.

    If it persists, what is the exact printer - Deskjet 3054 or Deskjet 3054 A model?

    http://support.HP.com/us-en/document/c03770424

  • Update removes himself from the software update for Photosmart 3210 (Snow Lepoard)

    Hi-

    So I recently installed the full software for my HP Photosmart 3210 for my mac which is under Snow Leopard. However each time I run the software update / sometimes it automatically prompts for installation:

    Drivers HP Update V2.3 size: 4.8 MB

    I always choose to install it but for some reason it doesn't seem to withdraw from the automatic update. Either I think its not install or not really sure. I checked the version number on the HP Installation Wizard on my computer, I installed a this is version 2.3.15. I don't really know what to do.

    Any ideas?

    Thank you!

    Do you really need it?  Snow Leopard has print and scan drivers built into the OS, so the HP software is not necessary.

    To uninstall completely that it:

    Go to Applications/Hewlett Packard / click Uninstall HP
    Click on continue
    Highlight your device in the left pane
    Hold down the Ctrl and Opt Cmd and click on uninstall
    There will be a pop up that asks if you are sure you want to uninstall all hp software. (At this point, if you continue, all HP printers you have installed will need to be reinstalled)
    Click on continue and let it finish

    Now run a software update.

    Then, remove and reinstall the printer in System Preferences, Print & Fax.

    Scan from preview or Capture of Image apps. Scan from the front panel of the printer does not work yet.

Maybe you are looking for