How to synchronize the analog input and the output of two different USB data acquisition boards

Hi all

I have two tips very different USB NI USB 6008 case, which I use to acquire the data (analog input) and a USB of NI 9263 is a output analog only site I use to route a signal (in this case a square pulse). The reason why I use the outputs analog 6008 is because I need to deliver negative tension and need the full +/-10 v range.

Looking at similar positions, I'm pretty sure that I can't use an external trigger or a common clock, I also tried to use the timed synchronization of the structures but no cigar.

I'm including a quick vi I whipped showing how the jitters because of the lack of synchronization signal. The OD of the 9263 connects to AI in the 6008 in this example.

I talked to a specialist in the phone and tols me that's not possible.

Tags: NI Software

Similar Questions

  • How to track the message to two different queue using jms proxy service

    Hi all
    In my project, I need to listen to a jms queue, then forward the messages to the queue of two different.
    Now, I already have a proxy for listening to the queue and then pass it to another queue using business service, it works.
    But how to forward messages to two different queues in the same workflow process using a proxy and bs?

    or in any other way?

    Really thanks in advance.

    Kind regards

    Kahlil

    You can use actions to publish in the pipeline to achieve this.

  • Can I synchronize the counters on two different computers in the C API?

    I installed the M-series cards (6254) in several computers. I would like to synchronize the counters for each card.  The best way that I came with to do this was to have the counter on each counter entries read a common external clock signal running at 10 KHz I have would then feed a second signal to each card and trigger the task that runs each counter starts when the second line goes high.

    Following the examples provided with the C API, it was easy to get each card KHz signal and then to match the beginning of the counter that I tried to read

    DAQmxCfgDigEdgeStartTrig (taskHandle, inputLineStr, DAQmx_Val_Rising);

    However, this did not work and gave me the following error:

    DAQmx error: the specified property is not supported by the device or is not applicable to the task.
    Property: DAQmx_StartTrig_Type

    Task name: task

    State code:-200452
    End of the program, press the Enter key to exit

    I know it's very simple sync the cards within a computer using the RTSI interface, but it is not possible that my cards have to reside in different computers.

    It is even possible to synchronize the counters on computers, and if yes how can I do it with the C API?

    ------------------

    Here's what I've written so far:



    #define DAQmxErrChk (functionCall) if (DAQmxFailed (error = (functionCall))) goto error; on the other

    int main (void)
    {
    int error = 0;
    TaskHandle taskHandle = 0;
    uInt32 data = 0;
    tank errBuff [2048] = {'\0'};

    DAQmxErrChk (DAQmxCreateTask ("task", & taskHandle));
    DAQmxErrChk (DAQmxCreateCICountEdgesChan(taskHandle,"/Dev1/ctr0","",DAQmx_Val_Rising,0,DAQmx_Val_CountUp));
    DAQmxErrChk (DAQmxConnectTerms ("/ 10MhzRefClock/Dev1", "/ PFI8/Dev1", DAQmx_Val_DoNotInvertPolarity));
    DAQmxErrChk (DAQmxCfgDigEdgeStartTrig(taskHandle,"/Dev1/PFI14",DAQmx_Val_Rising));

    DAQmxErrChk (DAQmxStartTask (taskHandle));

    printf ("without interruption of the poll. Press Ctrl + C to interrupt\n");
    While {} (1)
    DAQmxErrChk (DAQmxReadCounterScalarU32(taskHandle,10.0,&data,));
    printf ("\rCount: %u", data);
    fflush (stdout);
    }
    Error:
    puts("");
    If (DAQmxFailed (error))
    DAQmxGetExtendedErrorInfo (errBuff, 2048);
    If (taskHandle! = 0) {}
    /*********************************************/
    Stop DAQmx code
    /*********************************************/
    DAQmxStopTask (taskHandle);
    DAQmxClearTask (taskHandle);
    }
    If (DAQmxFailed (error))
    printf ("error DAQmx: %s\n",errBuff); ")
    printf ("end of the program, press the Enter key to quit\n");
    GetChar ();
    return 0;
    }

    Hi neurostu,

    Arms start triggers are disabled by default, so they do not have a default PFI line.

    You will need to set some properties DAQmx to configure a trigger for start of arms. Try adding between DAQmxCreateCICountEdgesChan() and DAQmxStartTask():

    DAQmxSetArmStartTrigType (taskHandle, DAQmx_Val_DigEdge);

    DAQmxSetDigEdgeArmStartTrigSrc (taskHandle, "/ Dev1/PFI14" ');

    DAQmxSetDigEdgeArmStartTrigEdge (taskHandle, DAQmx_Val_Rising);

    You have the file "help NOR-DAQmx C reference"? It should contain descriptions of the trigger > more > arm Start properties.

    Brad

  • How to migrate the relationship between two different epm versions.11.1.1.4 - 11.1.2.3

    Hello, we intend to make an hors-place upgrade to our 11.1.1.4 to 11.1.2.3 environment. The only thing stopping us is the question of how to migrate 11.1.2.3 11.1.1.4 reports. We have already considered the following options

    (1) LCM, LCM is taken in charge only between the same versions are at - it another way.

    (2) I know there is an option to export reports in the workspace, but the disadvantage that is that each report must be exported at the same time (atlease how it is in 11.1.1.4). And we have far too many reports to make them one at a time.

    (3) I have also considered the possibility of replicating data in the repository Directory (HYPERION_HOME\products\Foundation\workspace\data\RM1_Servername) of 11.1.1.4 to be used as the repository directory in the new version, assuming that reports and data analysis means the reports too. However after doing this I have connected to the new environment and could not see any of the reports.

    What other options are there to migrate the reports. Help, please.

    Teddd wrote:

    JohnGoodwin wrote:
    No need to delete tables as databases configured on the vesion as well, if you go to the bottom of the road upgrade data replication then select "Upgrade existing to the current version of 11.1.1.4 databases" when not to configure the database.

    Thanks for the reply of John, I looked at this option. But if I select this option if it does not affect the current 11.1.1.4 environment? Because it is an output level on the spot and we will be maintaining the old environment until we get the new environment to match the old. Thanks again.

    Clone the existing 11.1.1.4 databases, point to the clone.

    Documentation that should be studied - + "You can reuse the data and the existing database, or replicate the database and data to a new machine." +

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • How to reach the output of two or more queries?

    Suppose a query:
    select count (id) COL1 from table_1 gives:
    COL1
    59
    and another request:
    select count (id) COL2 from table_2 gives:
    COL2
    23
    .
    HOW can I get this output:
    Col1 COl2
    59 23
    edited by: "bootstrap" October 14, 2011 14:08

    Get each count in the subquery:

    SELECT
        (
            SELECT
                COUNT(*)
            FROM
                job
        ) AS cnt_job,
        (
            SELECT
                COUNT(*)
            FROM
                department
        ) AS cnt_department
    FROM
        dual;
    
    CNT_JOB                CNT_DEPARTMENT
    ---------------------- ----------------------
    51                     4                      
    
  • How to synchronize the start of IT and relaxation the Scan list (DAQmx Switch)

    Hello

    I want to measure samples of N to the AI0 of Council NI PXI 4461. The measurement starts on a rising edge of a digital triggering provided to the PFI0 of the same Board. The measure is configured with samples of N/2 pretrigged. So far, everything is under control...

    Using an NI PXI 2567 Board, the signal applied at the entrance the 4461 (AI0) switches between a V2 and V1 signal. I would like to synchronize the switch between the two signals with the trigger signal applied to the input of the PFI0 Governing Council 4461. In order to obtain samples of N/2 of V1 and V2 samples N/2. Synchronization of 1 to 5 ms would suffice!

    My question is how to synchronize the start of acquisition of AI pretrigged of 4461 with the switch control given by the Council of 2567?

    Thank you in advance for your help...

    PS: the configuration of the system is:

    -LabView 8.5

    -Chassis PXI-1044

    PXI-4461 on slot 2

    Module 4-slot PXI-2567

    Hi Frederic,.

    I came back to this recently and used the following examples to run the desired synchronization.

    PXI-4461: Acq & graph tension-Int Clk - dig Start & Ref .vi

    Samples per channel = 1000

    Rate (Hz) = 10000.00

    Start the trigger Source = / [name of the instrument DAQmx] / PXI_Trig0

    Onboard start = fall

    Reference Source Trigger = DAQmx Device Name] / PXI_Trig0

    Reference edge = fall

    Trigger samples = Variable (100, 500, 900)

    PXI-2567: Switch Scaning-SW Trigger.vi

    Advance the output terminal full = / [name of the instrument DAQmx] / PXI_Trig0

    Scan list = / [name of the instrument DAQmx] / ch0-> com0.

    Scan list = / [name of the instrument DAQmx] / ch1-> com1;

    Hardware configuration:

    The PXI-2567 module controls an external relay that switches between the voltage of 5 V on ch0 and ch1 0 V.

    The PXI-4461 connects to the COM of the external relay and therefore reads 5V when ch0 is connected; 0 v when ch1 is connected.

    Procedure: The above examples are used in the following procedure.

    1. run the PXI-4461 VI.  A start trigger (falling edge) is necessary to start collecting samples before firing.

    2. launch the module, PXI - 2567 VI.  When ch0 is initially (and immediately) on com0, a trigger is sent to PXI_Trig0.  The PXI-4461 will begin to acquire samples before firing.

    3. - click on the "Connect to the next" button on the front of the PXI - 2567 VI module.  This sends a trigger to entry software for the PXI-2567 module and the transitions of the scan for ch1-> com1 list.  Once the PXI-2567 module remains (debounced), advanced complete relaxation is sent on PXI_Trig0 for the PXI-4461.  The PXI-4461 will begin to acquire samples after outbreak.

    Note: Instead of the trigger of the software entry, an external input trigger can be used (e.g. PXI_Trig1).

    Results:

    > Before instant release of samples = 100

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 500

    Delay is caused by the time of actuation of external relay.

    > Before instant release of samples = 900

    Delay is caused by the time of actuation of external relay.

    I hope that the attached screws and the explanation above helps you and/or other customers who have this problem.

    Best regards

    Chad Erickson

    Switch Product Support Engineer

    NOR - USA

  • Toggle the analog inputs and tasks of output on the same card in LabView

    Hello

    I'm relatively new to LabView and am trying to find the best way to switch between reading and writing tasks on my PCI-6024E. It seems this would be a common thing to do, but I found no good documentation or any relatable example program. Basically, I would like to be able to monitor certain analog inputs and then write that some outputs if an entry is in accordance with certain specific conditions (say > 4 Volts voltage). It is my understanding that you can only signal (input and output) types associated within a single task in DAQmx. I also understand that you cannot have multiple tasks running at the same time on the same material/map, otherwise you get a: 50103 error 'The specified resource is reserved. Calendar is not really all that matters to me, but quite synchronous and effective would be nice.

    I have attached a sample program that shows more or less what I'm trying to do. I want to follow several analog input lines (AI0 AI1, AI2 and AI3 and) effectively at the same time. If certain conditions are met, AI3 > 4 Volts, then write 5 Volts for analog AO0 and AO1 outings. I also want to maintain output at 5 Volts up to AI3 falls below 4 Volts. Is there a better way to pass the task to read and write than what I've done here? In a sense, all I really do is toggle of a state machine if the required conditions are met and if start/stop tasks of reading/writing necessary.

    One last question, is there a way to display the four channels in the waveform graph using the 1 d NChan 1Samp mode so I can have a time chart and indicators?

    P.S. I'm under LabView 2011 on Windows 7. Your ideas and suggestions are appreciated.

    Thank you

    KJ

    I also understand that you cannot have multiple tasks running at the same time on the same material/map, otherwise you get a: 50103 error 'The specified resource is reserved.

    This is incorrect.  You can't have two tasks of the same type running on a single card.  You can have an analog input and analog output task running simultaneously on the same hardware.

    You are right that each task can have only one type of task (entry or exit).  Discover DAQmx examples in the example Finder to get examples of synchronized input and output.

    PRO TIP: In the Finder of the example, go to the drop-down list in the lower left corner.  Pull down and select Add Hardware.  In the pop-up window, add your PCI-6024E to the right pane.  Click OK in this window.  Then in the main window of Finder example select your hardware from the drop-down list and check the filter results by the hardware.  The example Finder then only you will show examples that are out-of-the-box compatible with your hardware.  I am sure you can find something to fit your needs here.

  • HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA?

    I'M TRYING TO WORK WITH CHARACTER ANIMATION. I CHOSE THE MONSTER. I SEE MYSELF ON HER CANERA, I PUT RESET POSE AND THE MONSTER DO NOT MOVE WITH MY MOVEMENTS. HOW TO SYNCHRONIZE THE MONSTER AND THE CAMERA? Thank you

    Hi Luz... You have the track selected in the timeline panel puppet? You need to target the puppet that is controlled by the webcam/microphone/keyboard/mouse by selecting its track. That it arms for registration.

  • analog input and output synchronization

    Hello everyone, I seem to have a problem of synchronization of the analog input and output on my M-series USB-6211. My request is quite simple. I want to the production and to acquire a sinusoid at the same time. Theoretically, I should have the same 4000 data points through the input and output channels. The reality, however, captured on an oscilloscope, shows that the analog output is off more than 4000 data points. The entry (acquisition) shows 4000 samples. Please see below an excerpt from the creation of task, timing and execution. I'm afraid that the analog input and output are not attached correctly. Do you see something suspicious? Thank you very much! The task was created: DAQmxCreateTask("",&inTaskHandle); DAQmxCreateTask("",&outTaskHandle); Analog output channel Configuration, with 20Ksamples/s: DAQmxCreateAOVoltageChan (outTaskHandle, physChanOut, ' ',-10, 10, DAQmx_Val_Volts, NULL); DAQmxCfgSampClkTiming (outTaskHandle, "OnboardClock", 20000, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 4000); Configuration of the analog input strings: DAQmxCreateAIVoltageChan (inTaskHandle, physChanIn, "", DAQmx_Val_RSE,-10, 10, DAQmx_Val_Volts, ""); DAQmxCfgSampClkTiming (inTaskHandle, "OnboardClock", 20000, DAQmx_Val_Rising, DAQmx_Val_ContSamps, 4000); Set up the trigger: sprintf ("/%s/ai/StartTrigger", local_port, deviceName); DAQmxCfgDigEdgeStartTrig (outTaskHandle, local_port, DAQmx_Val_Rising); Output: DAQmxWriteAnalogF64 (outTaskHandle, (numberOfSamples * oversample), 1, 40, DAQmx_Val_GroupByChannel, input, & sampsPerChanWritten, NULL); Acquire: DAQmxReadAnalogF64 (inTaskHandle, 4000, 40, DAQmx_Val_GroupByChannel, readArray, 8000, & sampsPerChanRead, NULL); The tasks stop: DAQmxStopTask (outTaskHandle); DAQmxStopTask (inTaskHandle);

    Hello

    Change the finished continuous sampling method seems to solve the problem:

    DAQmxCfgSampClkTiming (inTaskHandle, "OnboardClock", 20000, DAQmx_Val_Rising, DAQmx_Val_FiniteSamps, 4000);

    Also, I wanted to say earlier to write 4000 samples:

    Output:

    DAQmxWriteAnalogF64 (outTaskHandle, 4000,1, 40, DAQmx_Val_GroupByChannel, input, & sampsPerChanWritten, NULL);

    Thank you

  • How to synchronize the start of the acquisition of two cards of different daq hardware

    Hello

    I'm running a continuous acquisition with a PCI-6133 (@2,5. MECH / s per channel, 8 channels) and a PCI-6259 (@250 ksps / sec per channel, channel 3). Both performed in the same loop. The raw data from the data acquisition boards are written in a separate file PDM. Because the sampling frequency of the 6133 is 10 times higher than 6259, each loop, the number of values read from the 6133 is 10 times higher than 6259. If I look in the tdms file, I see the two acquisitions does not begin at the same time.

    timestamp of the acquisition

    PCI-6259: 02.06.2016 13:09:14, 866

    PCI-6133: 02.06.2016 13:09:14, 941

    Also, the number of samples of the 6133 is not 10 times higher.

    number of samples

    PCI-6259: 4949658

    PCI-6133: 49309378

    questions

    -How can I synchronize the beginning of acquisition? Are there some tutorials?

    -What could be the reason why the erroneous report of samples (should be 10 between the daq cards)?

    Thank you very much.

    Michael

    Hello Michael,

    the beginning of the acquisition can't at the same time as you do not use a common trigger. If you adjust for the different start time, the difference in the number of samples is only about 300 samples (0, 075 s difference at the beginning of the acquisition, which amounts to 187500 samples).

    This difference of 300 samples occurs because the schedules of the 2 cards are not synchronized.

    If you want to synchronize the starting and the acquisition between 2 cards, you need to connect with a cable RTSI. In this way, you can route the 1 device to another sample clock. The delivery of the sample through the RTSI cable clock is done automatically by the DAQmx driver.

    You can get more information in this section of documentation: http://www.ni.com/product-documentation/4322/en/#toc9

  • How to synchronize the start time in the waveform graph

    Hi all

    I just find a solution in the forum to select the data you want in a grap of waveform with cursors, however, I don't know how to synchronize the time of beginning of waveform for the second graph. How can I extract start time of the waveform with the index data?

    Something like that?  It is a bit gross, but is what I think you're asking, should be able to use it as a starting point.

    The Max - Min is to make sure that the cursor is always valid.

  • Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different with different

    Hello. Editor of newbie here. If I split a video file into two clips in Premiere Pro and you want then save each one as a different file while exporting to the encoder, how to make sure that they are registered in the form of two different files with different after encoding names?

    Located in and out on a section and that export brands.

    .. .Rinse and repeat for the other section.

    Name each section and where it is exported to separately... and as you wish

  • How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    How to install the output in bridge CC module using an apple OSX 10.9.5 and a miss apple OSX 10.11 this point completely in CC bridge!

    Hi abev41080082

    Greetings.

    Concerning

    Rohit

  • Analog input and output using 5640r

    Hello world

    I'm Christine, I'm implementing OFDM on fpga using 5640r.

    The code that I have, which is good in the simulation using labview and also using 'nor 5640r treatment only' but I want to implement in "analog input and exit vi" so that I can send and receive on the same card 5640r

    After so much attention in this regard, I am still unable to find the issue, then the soultion to this question. something that I am able to understand that maybe there would be some questions (ADC and DAC) clocks the clock setting

    I have attatched that vi. Please take a look at

    Concerning

    Aqib

    College of aeronautical engineering

    Risalpur

    Sorry

  • How to make the output of the task are an entry in another task

    How to connect the output of a task for I can use it as input for another task?  See this screen below: the task "Invoke the Script" run a PowerShell Script.  The task 'Send E-mail' send an email.  The two tasks work separately.  How can I get the results of my powerShell script that I can use them as content of the task 'Send Email'?

    workflow.jpg

    On the script invoke task you set the attributes of output containing the results of powershell.

    to do this, select the output tab and use an object name that was put in place in powershell results as in the data

    You may need to format, this results in a recognized VMware object I guess in your case it is a string type.

    and then select the e-mail task, select the task from email, click on the small eye looking for icon "view details".

    Select the Visual link

    Select the attributes you setup from the output of the previous task and hang it in the input parameters of the task to email.

    fact

Maybe you are looking for

  • Skype said that I am already connected

    I am not able to connect. Credentials, I entered are correct and I already disconnected, but the window said I can't connect because I already.

  • Execution of updates to SBS2008

    I used the SBS console/network/computers link tab or remove (name of the computer) to remove the system known as the lfitenotebook of my network based SBS2008! SBS, tab console/security/update / updates with errors: indicates that an update failed to

  • HP pavilion dv6 3030sy: disable the system of Hp pavilion dv6

    Please help system disable the key: 52297985

  • Starta ~ 1.EXE file missing

    I'm trying to install a program and it says that the file is missing "starta ~ 1.exe. Where can I get a replacement file? Thank you

  • Portion of IOS SSL VPN PKI

    I'm trying to configure an SSL VPN on a 2811. I believe I have the part SSL VPN, but I can't tell because I get stuck on the certificate server, ca trustpoint configuration and the identity of trustpoint. Does anyone know of a guide that walks you th