How to use an external clock to acquire analog data?

I need to acquire dta using an external clock which has a variable frequency (in a small range). I am using a PCMCIA 6062 board. Does it accept external clok?

The 6062 can acquire data based on an external clock. If you are programming in LabVIEW, take a look at the shipping example called Cont Acq&Graph ExtScanClk.vi. If you are using C or VB, there are examples in the NI-DAQ/Examples folder.
Regards,
Brent Runnels
Applications Engineer
National Instruments

Similar Messages

  • How to use Add Query Criteria for the MySQL data Base in Netbeans ?

    How to use Add Query Criteria for the MySQL data Base in Netbeans Visual web pack.
    When the Query Criteria is add like
    SELECT ALL counselors.counselors_id, counselors.first_name, counselors.telephone,counselors.email
    FROM counselors WHERE counselors.counselors_id = ?
    when i run this Query in the Query Window
    i get a error message Box saying
    Query Processing Error Parameter metadata not available for the given statement
    if i run the Query with out Query Criteria its working fine.

    *I am glad I am not the only one who have this problem. Part of issue has been described as above, there are something more in my case.
    Whenever I try to call ****_tabRowSet.setObject(1, userDropList.getSeleted()); I got error message as shown below:*
    The Java codes are:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    Object s = this.dropDown1.getSelected();
    try {
    this.User_tabDataProvider1.setCursorRow(this.User_tabDataProvider1.findFirst("User_Tab.User_ID", s));
    this.getSessionBean1().getTrip_tabRowSet1().setObject(1, s);
    this.Trip_tabDataProvider1.refresh();
    } catch (Exception e) {
    this.log("Error: ", e);
    this.error("Error: Cannot select user"+e.getMessage());
    SQL statement for Trip_tabRowSet:
    SELECT ALL Trip_Tab.Trip_Date,
    Trip_Tab.User_ID,
    Trip_Tab.Destination
    FROM Trip_Tab
    WHERE Trip_Tab.User_ID = ?
    Error messages are shown below:
    phase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@5abf3f) threw exception: com.sun.rave.web.ui.appbase.ApplicationException: java.sql.SQLException: No value specified for parameter 1 java.sql.SQLException: No value specified for parameter 1
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.cleanup(ViewHandlerImpl.java:559)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:435)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:274)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    tandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    java.sql.SQLException: No value specified for parameter 1
    at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1674)
    at com.mysql.jdbc.PreparedStatement.fillSendPacket(PreparedStatement.java:1622)
    at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1332)
    at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:979)
    at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1439)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1274)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:335)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:306)
    at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowCount(CachedRowSetDataProvider.java:639)
    at com.sun.webui.jsf.component.TableRowGroup.getRowKeys(TableRowGroup.java:1236)
    at com.sun.webui.jsf.component.TableRowGroup.getFilteredRowKeys(TableRowGroup.java:820)
    at com.sun.webui.jsf.component.TableRowGroup.getRowCount(TableRowGroup.java:1179)
    at com.sun.webui.jsf.component.Table.getRowCount(Table.java:831)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.renderTitle(TableRenderer.java:420)
    at com.sun.webui.jsf.renderkit.html.TableRenderer.encodeBegin(TableRenderer.java:143)
    at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
    at com.sun.webui.jsf.component.Table.encodeBegin(Table.java:1280)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
    at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:285)
    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
    at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
    at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:240)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:368)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:276)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    Also when I tried to update my MYSQL connector / J driver to version 5.1.5 from 5.0.5 (NB 5.5.1) and 5.0.7 (NB 6.1), I could not get it work (looooong time to search some JDBC classes and with no response in the end) on both of my Netbean 5.5.1(on PC) and Netbean 6.1(on laptop) IDEs.
    Could anybody look into this issue.
    Many thanks
    Edited by: linqing on Nov 22, 2007 4:48 AM

  • How to use the customer types in customer master data

    how to use the customer types in customer master data?
    menu path is Extras -> account group info -> customer types

    hi,
    This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
    default sp ,consumer.
    See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
    I hope this clarifies your quiery.Reward points if so.
    Thanking you,
    Best regards,
    R.Srinivasan

  • How to use for all entires clause while fetching data from archived tables

    How to use for all entires clause while fetching data from archived tables using the FM
    /PBS/SELECT_INTO_TABLE' .
    I need to fetch data from an Archived table for all the entries in an internal table.
    Kindly provide some inputs for the same.
    thanks n Regards
    Ramesh

    Hi Ramesh,
    I have a query regarding accessing archived data through PBS.
    I have archived SAP FI data ( Object FI_DOCUMNT) using SAP standard process through TCODE : SARA.
    Now please tell me can I acees this archived data through the PBS add on FM : '/PBS/SELECT_INTO_TABLE'.
    Do I need to do something else to access data archived through SAP standard process ot not ? If yes, then please tell me as I am not able to get the data using the above FM.
    The call to the above FM is as follows :
    CALL FUNCTION '/PBS/SELECT_INTO_TABLE'
      EXPORTING
        archiv           = 'CFI'
        OPTION           = ''
        tabname          = 'BKPF'
        SCHL1_NAME       = 'BELNR'
        SCHL1_VON        =  belnr-low
        SCHL1_BIS        =  belnr-low
        SCHL2_NAME       = 'GJAHR'
        SCHL2_VON        =  GJAHR-LOW
        SCHL2_BIS        =  GJAHR-LOW
        SCHL3_NAME       =  'BUKRS'
        SCHL3_VON        =  bukrs-low
        SCHL3_BIS        =  bukrs-low
      SCHL4_NAME       =
      SCHL4_VON        =
      SCHL4_BIS        =
        CLR_ITAB         = 'X'
      MAX_ZAHL         =
      tables
        i_tabelle        =  t_bkpf
      SCHL1_IN         =
      SCHL2_IN         =
      SCHL3_IN         =
      SCHL4_IN         =
    EXCEPTIONS
       EOF              = 1
       OTHERS           = 2
       OTHERS           = 3
    It gives me the following error :
    Index for table not supported ! BKPF BELNR.
    Please help ASAP.
    Thnaks and Regards
    Gurpreet Singh

  • How to use an external trigger on an electrometer (KEITHLEY 6517A)

    I'm really new using LABVIEW, so please, be patient with me...
    I'm using a KEITHLEY electrometer to acquire data from a dosimeter. We are going to do some measurements on a pulsed source and before the pulse there's a trigger signal. I don't know the size of the trigger, I'll just know that when I start my measurements (in another lab) So I would like to implement a case were the user can decide the value of the external trigger, so this information goes to the eqipment before starting the measurement.
    What I would like to know is... Someone can give me a hint on how to do that? I'm using GPIB and LABVIEW 7.1.  and I already took all the 6517A libraries for labview.
    Thank you all

    The external trigger on a 6517 is a TTL signal. Any pulse higher than 3.4V will trigger it. You cannot program the threshold level.
    You can set the delay programmatically with TRIG: DEL <n> command.
    ref: page 2-81 and following of User Manual
    Message Edited by normandinf on 10-21-2008 03:55 PM

  • Using an external Clock with NI 6585

    I have an interface board connected to a TI ADS6444 Evaluation board (QUAD serializer ADC), in turn plugged into my NI 6585/PXI-7954R, see the Project Screen shot. I can acquire data using internal clock but now I want to switch to an external clock. First I want to get the external clock working then do the unserializing. I am quite new to LabVIEW FPGA.
    I get a variety of errors such as " The Read method for IO Module\DDCA_Data_Rd_Rise is used in a clock domain that does not support it. The supported clock domain is "IO Module Clock 0". To change the frequency of the supported clock domain, launch the properties dialog for the CLIP item in the LabVIEW project and choose the "Clock Selections" page." I have tried to configure the clock to fixed and variable frequencies, see clock properties screen shot.
    Thanks in advance.
    LeMur Technology Services, LLC
    President
    [email protected]
    Toll Free: 877-761-2916
    Cell: 609-577-2628
    Fax: 215-862-9816
    Attachments:
    Project screen shot.jpg ‏164 KB
    clock properties screen shot.jpg ‏77 KB

    Update
    Opened a service request. for this problem.  Talked it over with NI engineer and thought the problem was because I disn't have the latest and greatest software versions e.g. RIO and LabVIEW.  Compiled a blank VI using the DDC connector and comilied successfully.  No matter what I do if I do a FPGA I/O Node call to DDCA_Data_RD_RISE (or fall) I get the error: "The Read method for IO Module\DDCA_Data_Rd_Fall is used in a clock domain that does not support it. The supported clock domain is "IO Module Clock 0".  To change the frequency of the supported clock domain, launch the properties dialog for the CLIP item in the LabVIEW project and choose the "Clock Selections" page." 
    For grins I wired the FPGA I/O node Expected I/O module ID to the FIFO input and read a number (7488[HEX]). 
    Begining to suspect the NI 6585 CLIP has a bug?
    LeMur Technology Services, LLC
    President
    [email protected]
    Toll Free: 877-761-2916
    Cell: 609-577-2628
    Fax: 215-862-9816

  • How to use bapi /external service directly in application service

    Hi
    I have to use BAPI_ALM--RDER_MAINTAIN in my caf application
    i have imported it as external service.As there are problems mapping its input fields to entity service , it has to be consumed directly vai application service.
    But i ahve never done so before.Can someone give me an example as to how t do it.
    If someone can give example of how to code in the application service to call  the bapi , it would be great . as i have some time constraint.
    Thanks ,
    Points assured for help.

    Hi Vivek,
    As you asked for an example to call a bapi directly from Application Service you can follow this link.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/57fff3b10b3672e10000000a114a6b/frameset.htm">Using Generated External Proxy in Application Service</a>
    Thanks and Regards
    Avijit

  • How to use an external drive with 2 Macs?

    Using an external drive for LR 5.4 files and can download and view without any issues on my MacBook.  However, when the same drive is attached to my iMac I cannot download or view any files on the external drive that were added after March of this year.  Any ideas on how to go about resolving this issue?

    The following screenshot might be helpful. It shows where in Lr preferences you can configure which catalog Lr uses as the default. If you need to direct it to an external drive then use the 'Other' option to point to this drive then next time Lr launches set it back 'Load most recent catalog'

  • How to use an external hard drive on a MacBook Air?

    Hi there.
    Recently I bought a portable USB external hard drive for my MacBook Air due to my full startup disk. I also bought multiple disks for the hard drive. I inserted the disk, hooked up the USB, and did everything properly. When I first hooked it up, I lost all internet files that I had saved. All images, videos and downloads (such as Minecraft and other gaming downloads) from the internet were gone and unable to find.
    Now, I don't want to make the wrong move and lose all of my internet files again, so I am asking how to transfer files SAFELY to the USB without any files being deleted. I tranfered files before, but they were just short cuts to the original file, so I am also asking how to fix that as well. My Dad was a computer technician, although he didn't work for Apple, so he doesn't know how to use the USB.
    I've tried everything to find my internet files, but nothing. If there is a way to get them back, I'd be glad if you shared that with me. My dock files aren't working due to this insanely full startup disk, so I'd appreciate it if you could tell me ASAP how to use the USB, how to SAFELY transfer files without them turning into shortcuts, and how to get my internet files back.
    Thank you very much.
    P.s My OS X version is 10.8.3 (Not with Mountain Lion)

    You cannot format a drive so that files will be automatically put on that drive when you run out of room on another drive. Transferring the files must be done specifically by you. You will need to learn how to manage free space on the SSD because 64 GBs is a bit small for much more than OS X.
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.

  • Is it possible to read digital data using an external clock (PCI-6259 M)?

    I’m using a NI PCI-6259 M Series card and trying to write my program in VC++6.0 using the functions in the DAQmx driver.
    Question1: Not all functions listed in the NI-DAQmx C Reference Help seems to be supported by my NI-card, where can I find information about which of the functions that are supported?
    Question2: I want to read data from a device that clock out data on the falling edge of a clock signal. The clock signal and the data signal are routed to two DIO terminals on the NI-card. The question is if it is possible to read data using the clock as a sample clock? See two code examples below that doesn’t work. In both cases 10 samples are read at once, even if the external clock is not present.
    Example 1
    // Create tasks
    Status = DAQmxCreateTask("", &m_ReadTrimTask);
    // Set up read task
    status = DAQmxCreateDIChan(m_ReadTrimTask, "Dev1/port2/line0", "", DAQmx_Val_ChanPerLine);
    status = DAQmxCfgChangeDetectionTiming(m_ReadTrimTask,"Dev1/port2/line6","Dev1/port2/line6",DAQmx_Val_FiniteSamps, 10);
    // Read data
    int32 sampsPerChanRead, numBytesPerSamp;
    status = DAQmxReadDigitalLines(m_ReadTrimTask, 10, 10.0, DAQmx_Val_GroupByChannel, result, 10, &sampsPerChanRead, &numBytesPerSamp ,NULL);
    Example 2
    // Create tasks
    Status = DAQmxCreateTask("", &m_ReadTrimTask);
    // Set up read task
    status = DAQmxCreateDIChan(m_ReadTrimTask, "Dev1/port2/line0", "", DAQmx_Val_ChanPerLine);
    status = DAQmxSetSampTimingType(m_ReadTrimTask, DAQmx_Val_SampClk);
    status = DAQmxSetSampClkRate(m_ReadTrimTask, 1000.0);
    status = DAQmxSetSampClkActiveEdge(m_ReadTrimTask, DAQmx_Val_Falling);
    status = DAQmxSetSampClkSrc(m_ReadTrimTask, " Dev1/port2/line6");
    // Read data
    int32 sampsPerChanRead, numBytesPerSamp;
    status = DAQmxReadDigitalLines(m_ReadTrimTask, 10, 10.0, DAQmx_Val_GroupByChannel, result, 10, &sampsPerChanRead, &numBytesPerSamp ,NULL);

    Hello Magnus,
    Thank you for contacting National Instruments.
    "Question1: Not all functions listed in the NI-DAQmx C Reference Help seems to be supported by my NI-card, where can I find information about which of the functions that are supported?"
    The best place to look for this information would be the M Series Help Manual. There you can find the features of your PCI-6259 and what operations it supports.
    "Question2: I want to read data from a device that clock out data on the falling edge of a clock signal. The clock signal and the data signal are routed to two DIO terminals on the NI-card. The question is if it is possible to read data using the clock as a sample clock? See two code examples below that doesn’t work. In both cases 10 samples are read at once, even if the external clock is not present."
    Look at the "ContReadDigChan-ExtClk_Fn.c" example project which ships with the NI-DAQ driver. This is located at: C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C\Digital\Read Values\Cont Read Dig Chan-Ext Clk.
    You will have to make some minor modifications to convert this to a finite acquisition, but that is simply a matter of changing the "sampleMode" parameter of the DAQmxCfgSampClkTiming() function. You will also have to route your clock signal to a PFI line and specify which line in your code.
    I hope this helps.
    Sean C.
    Applications Engineering
    National Instruments

  • How to use an external start button for 6024E w/ sc-2345, I would like it to function like a start button in LabView but I don't know how to connect the external button to the sc-2345's connector block

    I am confused as to how to connect my external start botton. I would like it to function like a start button on a front panel of a VI. I would like to use the +5V on pin 14 but I really don't know where to go from here. Any guidence for a novice would be most appreciated.

    phod,
    This is the LabVIEW Real-Time forum, so I suggest that in the future that you post this type of question to the Multifunction DAQ forum.
    For the simplest solution you will have to connect your button to a digital line of your board, consult the sc-2345 user manual for a diagram of where these lines are exposed. You will have to connect your start button in series with a line that is high, such as your 5V pin or another digital line. Then connect this to a digital line that will be your start trigger.
    Your program can poll the digital line that is connected to your button in a while loop and when it goes high, it lets the rest of the program execute. For the programming, I suggest you take a look at the shipping examples that come with LabVIEW. If yo
    u have LabVIEW 7.0 go to Help>>Find Examples. Open Hardware Input Output>>Traditional DAQ>>Digital Input and Output>>E Series for some examples of digital I/O programming with E-series boards.
    Hope that gets you started.
    Gerardo

  • How to use my external processor effects?

    I have a lexicon processor and I want to know how to use it with logic.
    Thanks
    g5 ma' os   Mac OS X (10.4.4)  

    I hope this info can help you.
    The main Problem is that Logic don't have an delay compensation plugin like in nuendo or cubase "external FX"
    Here is the info to compensate the delay coused by the D/A and A/D converters:
    6.30 How do I set-up record / playback / monitoring delay?
    Subject: Record delay vs send/return using external effect units
    You'd think that with modern multichannel audio interfaces and a modern, professional audio sequencer like Logic, this would be a piece of cake, right? It turns out that there are a number of potential traps, all to do with Logic's highly inadequate record delay compensation. What follows is a run through of the general setup procedure, using my RME Multiface.
    Basic Record/Playback delay Setup
    Set up a 4/4 audio click track (trim the sample starts so they are right on the beats). Use real audio, not a software instrument. Rerecord the main outs to a new track via a hardware loopback cable (i.e. cable your audiocard's outputs into its inputs). Measure the clicks with reference to bars/beats in the Sample Editor - the clicks should be (but may not be) recorded right on the beat.
    If the audio driver has a record delay parameter in samples, use that to adjust. If not - use the ASIO Buffer delay "IN" for coarse adjustment (multiples of buffer). Leave the ASIO Buffer delay "OUT" at zero. Use the main driver playback delay for final fine adjustment (samples). Do NOT use the Arrange window's delay parameter - it's in ticks and thus tempo-dependent!
    So if you are playing in time with a prerecorded track, your playing is recorded in the correct position to preserve your exact timing on playback.
    The use of the playback delay to compensate is not ideal, as it will mess with the playback timing vs displayed position of any audio - this has an adverse effect on fine editing, and MIDI-to-audio sync - but Logic unfortunately does not provide a sample-accurate record delay adjustment, and has not done so since version 3.5...
    Effect Return/Record Setup
    You definitely want to avoid monitoring external FX returns through Logic if at all possible, since that would add 2x the audio buffer worth of latency to the return, which will adversely mess with the sound of any time-based effects (i.e. just about everything). So, monitor your external FX returns at source, or through direct hardware monitoring - in my case that's through RME TotalMix routed to the main outs for (near) zero latency.
    You probably want to be able to record the external FX outputs into Logic (to free up the FX for other uses) and have it play back exactly as it was monitored, right?
    Using your 4/4 audio click track, panned left, send to an external delay (approx 1/2 beat, single repeat). Pan the delay return R at source and monitor as above. Rerecord the main outs to new track via a hardware loopback cable. Measure the number of samples from a click to its delay in the Sample Editor
    Now record the delay return signal to a new track. Playback just the audio click panned left & the recorded delay panned right. Rerecord the main outs to new track via hardware loopback cable. Measure the number of samples from click to delay in Sample Edit.
    Both measurements must be the same for accurate recording of FX returns, but it's likely they won't be, probably because the playback delay has been messed with. Compensate by inserting a sample delay on the FX return Input Objects in Logic. Since you're not monitoring the FX returns through Logic anyway, the input delay will be recorded but not monitored (in 5.2+, but if you use an earlier version you're hosed since effects are not recorded).
    Record the delay return again, play it back with the click, rerecord the outputs and measure again. Adjust the input sample delay until the recorded-&-played-back delay position is identical to the monitored delay.
    Live Input Monitoring/Recording
    For accurate timing, monitor any live inputs at source or through direct hardware monitoring (TotalMix), the same as for FX returns. When recorded, playback timing will be accurate. Sends from live inputs to external FX can also be applied in at source or in TotalMix. No problem.
    Live Input Monitoring Through Logic
    Here's where the problem starts. If you also plan to monitor some live inputs through Logic - to add Logic FX, or to control & automate the live inputs, or to add live inputs to a bounce, etc - then you'll be monitoring the live inputs with a latency of 2x the audio buffer size (or more if applied processing induces further delays). Therefore when you record a live input, on playback it will be early by that amount, since the record/playback delay is set up to compensate for zero-latency monitoring. What you heard live is not what you get on playback.
    There's no set-&-forget way around this, since Logic won't let you apply a sample delay to an input without the delay also being applied to the input's monitor output from Logic. So using the same input delay trick you applied to recording the FX returns won't work - you'll wind up monitoring with even more delay, which will need yet more input compensation, and so on. You can't use the record/playback delay to compensate, because that would screw up the recording of source-monitored material.
    You could conceivably monitor everything through Logic at all times, and use a single record/playback delay to compensate for all of it (with the editing & MIDI-to-audio sync shortcomings discussed, but on a larger scale as considerably more compensation is required), but that will screw with the sound of any time-based external FX as noted above.
    So assuming you stick with source-monitoring the external FX returns, there are 2 options for correct playback timing of any recorded tracks that were monitored through Logic while recording:
    1 - Output all such tracks to a bus, and place a Sample delay on that bus to compensate. This will correct the playback you hear, but it won't correct the bad positioning of the audio.
    2 - Physically move the recorded audio later to compensate. Uh-oh - Logic's Arrange window is not sample-accurate. And it's not possible to move a newly recorded audio region later in the Sample Editor without adding samples to the start of the file, which is a tedious process if you've just recorded a number of tracks. You'll just have to get it as close as you can in the Arrange - bear in mind that ticks are tempo dependent, so you have to calculate the number of ticks based on the current song tempo (let's not even begin to discuss Audio vs tempo changes in Logic), or use the smallest SMPTE nudge available. No fun at all.
    If anyone has any other suggestions, I'm all ears...
    So what about OS-X?
    In Logic under OS X, the CoreAudio driver setup panel doesn't have any record/playback delay setup. If you're optimistic, you might interpret that as an indication that it's all done automatically by CoreAudio and the driver. But given Emagic's history in this area, what's the bet it's currently a big fat inaccurate mess? Rumblings from the Mobile i/o list seem to indicate this...
    G5 dual 2,5   Mac OS X (10.4.4)  

  • How to use 20 MHz clock of the 6602 Timing card on other boards?

    Hello,
    I have a 1042 PXI with 6602 timing card and several other boards including 6534 Digital I/O board and 5122 Digitizer.
    I want these boards (6534 and 5122) to use the 20 MHz clock of the 6602 board as their Sample Clock.
    But when I set "/TimingIO/20MHzTimebase" as the source of the Sample Clock for the 6534 board I get the following error sometimes (sometimes everything works fine) :
    """Error -200621 occurred at DAQmx Wait Until Done.vi:2
    Onboard device memory underflow. Because of system and/or bus-bandwidth limitations, the driver could not write data to the device fast enough to keep up with the device output rate. Reduce your sample rate, or reduce the number of programs your computer is executing concurrently. """
    When I use "OnboardClock" as the source of the Sample Clock for 6534 I never get this message. I tell 6534 to use 6602's 20 MHZ clock by connecting
    "/TimingIO/20MHzTimebase" terminal to the appropriate input of the
    "Sample Clock vi" in the 6534's task. Output rate of the 6534 that I use is (much) less than 1 MHz.
    Could somebody explain the source/reason of the error message above? It seems like 6534 can not use 6602's 20 MHz clock though it has 20 MHz oscillator itself...
    Is there a way to use 20 MHz clock of the 6602 for 6534?
    Thanks in advance!

    Hi Ampm,
    The two answers are related to each of the answers:
    1) In this knowledgebase we can see that actually the 6602 cannot
    export his clock into PXI_Star. Since your digitizer cannot received but from
    this line, we need to find a different solution (see below).
    2) PXI_Star is actually a signal and should be named something
    like this “/Slot5/PXI_Star”. Make sure you PXI chassis is configured in MAX.
    There are two possible approaches:
    1)     
    I would suggest to PLL all
    clocks to the PXI 10 MHz clock. This takes full advantage of the hardware you
    have.
    2)     
    Export the 6602 20 MHz clock
    on a front panel PFI line and externally connect it to the CLK IN of the 5122.
    Good luck,
    Gerardo O.
    RF Systems Engineering
    National Instruments

  • How to use the external encoder

    Can someone please tell me how to open the external encoder so i can copy and paste links into it to use my web cam?
    Thanks

    Find a forum for whatever product this involves and post your question there.
    Here is a link to a page that has links to all Adobe forums...
    Forum links page:
    https://forums.adobe.com/welcome

  • How to use an external XSLT engine for Oracle BPEL Process Manager

    Hi,
    is there a way to use an external XSLT engine instead of the build in provided in Oracle BPEL Process Manager?
    The reason is to perform some XSL Transformations that use an OWL Query language.
    Thanks!

    Yes. you can write your own xpath function which can connect to external xslt engine and pass-in your document:
    <copy>
    <from expression="my:myxslt-processor(bpws:getVariableData('var1','part'))"/>
    <to variable="v2" part="payload/>
    </copy>
    The following Thread discusses about how to create an extension xpath function:
    http://forums.oracle.com/forums/thread.jspa?forumID=212&threadID=305548

Maybe you are looking for