generate the TTL signal for synchronization from another device with Labview

Hi all

I use NEITHER-6071E and try to generate and send a TTL signal so I can synchronize another device with my Labview code. My code (code attached) generates a sine wave, and I want to send a singal TTL out at an angle of phase on the sine wave. Currently, the code sends a sinusoidal signal and a square using similar wave output on BNC Plug. I thought I could just use a square wave, and send it out as analog output for the other device, but apprantly that he works with a TTL signal.

Could you please take a look at my code and advice me how to generate a TTL signal while being able to send it to some phase shift?

Thank you davance

Pooya

There is almost everything using examples > find examples... menu

but here is one which simply sends a single impulse:

Note that I expect the line have been pre-defined in MAX (it's always a good idea to check that your DIO line behaves as expected by trying it in MAX).

Tags: NI Software

Similar Questions

  • Generate the Java Classes for WebService provided by DPS. WebServices module...

    Hi all

    I need generate the Java Classes for the loginUser.wsdl file provided by DPS. Modules of WebServices... ? I tried with AXIS2 and Apache CXF2... He lift the security exception... ?

    Exception:

    C:\axis2-1.6.2\bin > wsdl2java.bat - uri C:/loginUser.wsdl
    AXIS2_HOME using: C:\axis2-1.6.2
    With the help of JAVA_HOME: C:\Java\jdk1.6.0_18
    Saving document to "C:/loginUser.wsdl".
    log4j: WARN no appenders could be found for logger (org.apache.axis2.i18n.ProjectResourceBundle).
    log4j: WARN Please initialize log4j correctly system.
    Exception in thread "main" org.apache.axis2.wsdl.codegen.CodeGenerationException: the WSDL parsing error
    to org.apache.axis2.wsdl.codegen.CodeGenerationEngine. < init > (CodeGenerationEngine.java:178)
    at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
    at org.apache.axis2.wsdl.WSDL2Java.main (WSDL2Java.java:24)
    Caused by: javax.wsdl.WSDLException: WSDLException (to/definitions/import [1]): faultCode = OTHER_ERROR: unable to
    solve a document imported into 'atg.security.wsdl' from 'file:/C:/loginUser.wsdl': java.io.FileNotFoundEx
    reception: this file was not found: file:/C:/atg.security.wsdl
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseImport (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.parseDefinitions (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL (unknown Source)
    at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL (unknown Source)
    at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.readInTheWSDLFile(CodeGenerationEngine.java:320)
    to org.apache.axis2.wsdl.codegen.CodeGenerationEngine. < init > (CodeGenerationEngine.java:133)
    ... 2 more
    Caused by: java.io.FileNotFoundException: this file was not found: file:/C:/atg.security.wsdl
    at com.ibm.wsdl.util.StringUtils.getContentAsInputStream (unknown Source)
    ... 11 more

    Do not use Axis2 that is not compatible with the ATG SOAP webservices. You should use Axis 1.4. Please review these documents according to your version of ATG:

    http://docs.Oracle.com/CD/E26180_01/platform.94/ATGIntFrameGuide/HTML/s0603beforeyoubegin01.html

    http://docs.Oracle.com/CD/E24152_01/platform.10-1/ATGWSFrameGuide/HTML/s0703beforeyoubeginusingajavaclient01.html

  • Can I disable the F1 key for help from Adobe? I want to use the F1 key to open a script that I wrote. I don't want the F1 key to open the Adobe help.

    Can I disable the F1 key for help from Adobe? I want to use the F1 key to open a script that I wrote. I don't want the F1 key to open the Adobe help.

    Edition > keyboard shortcuts

  • How to remove an application from a device with the Profile Manager?

    I use iOS devices 9.1 in collaboration with Apple Configurator 2.1 and 5.0.15 Profile Manager. Configurator locks iPads and the Profile Manager is used for the distribution of applications. We are assigning apps in device that is a great feature. However, when I delete an application from a device with the Profile Manager, the application does not remove himself. The Profile Manager back the license and I can redistribute app for iPad one another even if the application is still installed and usable on the iPad first.

    Is this a bug? It seems that it should remove the app. If I delete the management profile in distance from the unit, it removes apps.

    Click on the gear box and then delete Apps and select the application you want to remove.

    Initially, I did what you did probably has been to select the name of the application, then press the 'less', who pulled out of the app in the list, but it has not removed the iPad, he just removed their license.  Through the gearbox and to remove it it removes of the iPad.

    You may have already thought of it, but I found this post unanswered after two months, and once I found the answer, I thought I'd put it here.

  • When I try to scan with my CanoScan N640P ex scanner I receive a message indicating the Port to the printer that is used by another device. How can I work around this problem?

    When I try to scan with my CanoScan N640P ex scanner I receive a message indicating the Port to the printer that is used by another device.  How can I work around this problem?

    Hi ejp70,

    1. did you of recent changes on the computer?

    2. to when was the last time the scanner was working fine?

    3. you have any other printer\scanner connected to the computer?

    If you have any other printer\scanner connected to the computer, disconnect them and check if it works.

    I suggest that you uninstall and reinstall the scanner to the computer, also make sure that you install the latest drivers for scanner on Canon website.

  • Can I use the same printer to print from a pc with windows 10 and a pc with windows 7

    * O.t. - printer using windows 7 and 10

    Can I use the same printer to print from a pc with windows 10 and a pc with windows 7?

    Yes, assuming that there is the compatible drivers for both versions of the OS.

  • Impossible to compile the Python bindings for dbxml - 2.5.13 with python 2.4

    Hello world
    I am trying to build the Python bindings for dbxml - 2.5.13 with python 2.4.
    Everything else has compiled just fine, but I get the following error for this:

    construction running
    running build_py
    running build_ext
    "_dbxml" extension of construction
    GCC - pthread - fno-strict-aliasing - DNDEBUG - g-O3-wall - Wstrict-prototypes - fpic - i/usr/local/xmldb/include--i/usr/local/xmldb/include-I/usr/local/py2.4.4/include/python2.4 - c dbxml_python_wrap.cpp-o build/temp.linux-i686-2.4/dbxml_python_wrap.o
    cc1plus: WARNING: command line option ' - Wstrict - prototypes "are valid for Ada/C/ObjC but not for C++
    dbxml_python_wrap.cpp: "Sub makeXmlException(const DbXml::XmlException&)" function:
    dbxml_python_wrap.cpp:3393: warning: deprecated the conversion of the string constant in "tank."
    dbxml_python_wrap.cpp:3403: error: invalid conversion from ' const char * ' to ' tank. "
    dbxml_python_wrap.cpp:3403: error: initialization argument 2 of ' pyobjet * PyObject_GetAttrString(PyObject*, char*)»
    dbxml_python_wrap.cpp:3412: warning: deprecated the conversion of the string constant in "tank."
    dbxml_python_wrap.cpp:3415: warning: deprecated the conversion of the string constant in "tank."
    dbxml_python_wrap.cpp:3417: warning: deprecated the conversion of the string constant in "tank."
    error: command 'gcc' failed with exit status 1

    I saw a similar post for an older version, but the solution does not seem to adapt to this particular case. Any suggestions on getting it to compile?

    Thank you
    Good looking

    Published by: beauSD on September 28, 2009 15:43

    Good looking

    You should just be able to cast ename to (char *) ename in the offending call. I would like to know if it works. Some conditional code could probably be added to manage older Python releases if really necessary.

    Kind regards
    George

  • Restoration of RMAN of the CARS to single Instance on another node with dif NAME DB

    Hi all

    We intend to make RMAN RESTORE on the test server, taking the RMAN backup to disk of the production server.

    Production server configuration:
    ---------------------------------------------

    NAME: genprod
    CARS: 2 node RAC.
    OPERATING SYSTEM: IBM AIX 6.1
    DATABASE VERSION: 10.2.0.4


    Test server configuration:
    ---------------------------------------

    NAME: miguat
    CARS: 2 node RAC.
    OPERATING SYSTEM: IBM AIX 6.1
    DATABASE VERSION: 11.2.0.3

    How do RESTORE RMAN of the CARS to single Instance on another node with NAME DB different...

    My production database name was "GENPROD"... my test server database has been 'MIGUAT '.

    When I do the restoration, I get the following error:


    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03002: failure of the restore command at 06/08/2012 13:22:11
    RMAN-06026: some targets not found - abandonment of restoration
    RMAN-06023: no backup or copy of the file 4 found to restore
    RMAN-06023: no backup or copy of datafile 3 found to restore
    RMAN-06023: no backup or copy of datafile 2 found to restore
    RMAN-06023: no backup or copy of datafile 1 found to restore


    Please help me with this...


    Kind regards
    VAMSi...

    Hello

    You can take a look at http://taliphakanozturken.wordpress.com/2012/07/20/how-to-restore-10g-rman-backup-to-11g/

    You will need to change the name of db only after the database was opened after the upgrade and other steps.

    Anand

  • Error element in the Navigation after Ajax call from another page

    Hi guys!

    For testing purposes, I have created a table, for own 'child' load cells - table in them another page via ajax. Demonstrated here.

    Now navigation tabs produces an error
    Item ID (1973468818203630708) is not an item defined on the current page.
    The Ajax routine is performed by the dynamic action. When I disable that navigation bar works as usual.

    Anyone an idea what causes the error and how can I solve this problem?

    Thank you and Bravo,
    Tobi

    tpetri wrote:
    Hi guys!

    For testing purposes, I have created a table, for own 'child' load cells - table in them another page via ajax. Demonstrated here.

    Now navigation tabs produces an error

    Item ID (1973468818203630708) is not an item defined on the current page.
    

    The Ajax routine is performed by the dynamic action. When I disable that navigation bar works as usual.

    Anyone an idea what causes the error and how can I solve this problem?

    The content from the other page includes a hidden element entry with the given ID. You must eliminate the generation of this element in the page source, or extract a narrower selection so that this element is not included.

    Exactly how this content is generated on the source page? How is he pulled out? How it is injected into the target page?

  • When you try to import the bookmarks, the ability to import data from another browser is not active in the import and backup from the tap in the history. So, how to import bookmarks on my file?

    I followed the instructions of Firefox to import bookmarks/favorites to Internet Explorer. It does not work because the import data from another browser is not active in the import tab and backup in the history. The instructions read to use this tab, but does not work because it cannot be selected.

    Make sure that you are not Firefox running in permanent private browsing mode.

    To view the history settings and cookies, choose: Tools > Options > privacy, choose the setting Firefox will: use the custom settings for the story of

    • Uncheck the box: [] "always use the navigation mode private.
  • Best way to generate the software clock for USB-6501 of Measurement Studio for c# VS2008

    Hi all

    I wonder if there is a better way to generate a clock software for USB-6501 of Measurement Studio for VS2008 in C Sharp?

    I have developed a clock using C Sharp "Thread.Sleep (msecPauseTime)"; and statements to switch digital output high and low. There are a few things I noticed in creating a software clock in this way:

    1. The smallest delay by the Thread.Sleep command time is 1 millisecond (which means higher clock period is 2 msec-500 Hz, not holding not ball account no. 2 below).
    2. Sometimes the delay I see on an oscilloscope is considerably longer than the delay that I specified in the sleep command.

    In my application, I create signals (a clock, a latch enable and data series) to control what an attenuator step through the USB-6501 RF connected to a USB 2.0 on my computer. This particular step RF attenuator can accept clocks with frequencies up to 10 MHz, so I would like to generate a software clock (without having to connect to an external clock to a line of input on the USB-6501) which is closest to this maximum frequency, and I think that the USB2.0 line could handle clock speeds over 500 Hz. Also, I would like to know why the delays that I see on the scope are sometimes longer than the time specified by the Thread.Sleep command. Is it caused by the suspension of the execution of my program processor for something else, as I suspect? Of course, this isn't a big deal, because it does not affect the time as my serial data and pieces change compared to my clock. However, I would like to know why it does this.

    I appreciate your help.

    Thank you

    Jonathan Becker

    Doctoral research engineer

    Carnegie Mellon Silicon Valley

    Jonathan,

    Since the USB-6501 DIO is software programmed, you are at the mercy of the planning of the operating system and won't be able to work reliably with an external clock in the software.

    You can try to set the priority of your thread 'generation of clock' to improve performance, however, because Windows is not a deterministic operating system, there are still no guarantees.  Operating systems are not required to honor the priority of threads.  You can find examples and information on the definition of the priorities of the threads in c# here:

    http://msdn.Microsoft.com/en-us/library/system.Threading.thread.priority.aspx

    Kind regards

  • generate a digital signal for 6722 or 6221

    Hello

    Thanks first for the help I'm already on this forum.

    Now, I have the following problem:

    I like to generate a digital signal: high for 300µs, low 300 µs, 300µs high, low 300µs, top for about 2 ms.

    I'm looking for a solution how to generate this numerical sequence. At the same time, I will read the information via an analog input (if all goes well, I now have a solution for this problem).

    I tried to find examples, but I failed. For the moment, I was not able to produce any numeric sequence that worked.

    My hardware is 6722 or 6221 - which should be OK with respect to the calendar.

    Thank you


  • Generate the pulse signal signle on the digital output line

    Hello

    I am now writing a program using c# and DAQmx.

    I have a NI PCI-6514card and I want to send a signal for half a second to a single line of output.

    I know how to write online by using the DigitalSingleChannelWriter object, but I want this signal, disappear after a period of time.

    Thanks in advance for your support.

    J.. Gasser

    One thing is certain:

    C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET2.0\Counter\Generate Pulse\GenDigPulse\cs

    It is on Vista.

    On XP, I believe that the path is:

    C:\Documents and Settings\All Users\National Instruments\...

  • How to validate the license if installed XP from another drive?

    Hi all...

    * original title - how could validate my old driver's license if I cause istalled the BONES of another license (CD), I don't have the original to my PC (laptop IBM) CD? *

    Have you used "Your" product key during installation of operating system from another CD?

    Also is the an OEM XP CD or a CD at retail with the product key?

    Here are some utilities, which will display your product keys:

    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.)

    Also: http://www.magicaljellybean.com/keyfinder.shtml
    and: http://www.nirsoft.net/utils/product_cd_key_viewer.html

    Note: Also check the side of your PC case or at the bottom of the laptop for the
    Key OEM code. If there is a sticker with the code, it will probably not
    corresponds to what is displayed by the utilities mentioned above as OEM such as
    Dell use an internal key code when they build your PC.

    The key on the sticker code should be used with your Windows CD
    (who came if everything goes well with your PC) If you need to reinstall Windows.

    JS
    http://www.PAGESTART.com

    Never be afraid to ask. This forum has some of the best people in the world to help.

  • Settings for synchronization from CC to CC 2014 Indesign

    I can't get my settings to sync CC above here ID 2014?  I click the sync settings button and sync the settings and I am connected but nothing happens.  Anyone know how I could get this works for me please.

    Try to change > migrate settings from the previous Version.

    You are mixing with the synchronization settings migration. This blog explains:

    Migration vs. sync in InDesign CC 2014 settings

Maybe you are looking for

  • Hijacked conduit Firefox search; Topic: Config disabled

    A new version of driving has hijacked my FireFox browser, among other things. Everytime I open a new tab, he returned to leads rather than my default to Google search engine. Any mistake of typing in a url sent me to bing via ducts. I used to be able

  • Criteria of today smart folder search screenshot for El Capitan?  Tutorial?

    Hi friends, I am new on El Capitan of Snow Leopard.  I tried two tutorials very detailed with screenshots online to recreate the beloved search today.  Without success.  Someone at - it a screenshot they can share a smart folder search criteria that

  • Strange timing errors, python process taking CPU

    I have 5 Server freshly moved on top of Yosemite. I migrated Server 3 to 4 and now 5.  My sites all done.  My e-mail service is very good. I've never used the calendar service, and used to spam my system with Dingo errors log in Server 4.   I thought

  • IPhone s 6 more does not connect to MacBook Pro

    I have a MacBook Pro (retina, 15 inches, mi 2014) 2014, 2.5 GHz Intel Core i7 processor! 6 gb 1600 MHz DDR3, Intel Pro Iris 1536 MB OS X EL Capitan. I checked the LMP bluetooth under system reports and the LMP version 0x6.  I'm trying to pair a 6s iP

  • J3680 can print clouds

    The J3680 can be configured to print from the cloud? I am convinced wirh the printer and don't want to bother to replace it. I just want to eliminate a step when printing my smart phone.