HSDIO trigger for the transmitted waveform record

I use a card OR-6552 (actually this system eventually will use 7, so I'll try to get my head wrapped around the trigger events).

I use dynamic generation to generate a binary pattern on the pins 0-15.

I'm tracking the trigger from start to RTSI6.

I use a software trigger.

On the side of the reading, I use a dynamic Acquisition.  The start trigger is triggered off the coast of RTSI6.

Everything works exactly as it is supposed to. I get the binary model, BUT

The read function is advanced clock EXACTLY 50 cycles.  So, I get a '0' reading the lines of channel for 50 cycles before the binary sequence appears in my wave of reading.

I suspected that it has anything to do with the outbreak of the reference, so I tried to define the source of command reference for RTSI6 also, with delay sample 0, and I get a timeout.

I'm so close, but I would like to know why I'm getting a pre-roll buffer 50 cycle even if I did not specify...

-Mike

CCITest,

If you are looking to synchronize several 6552 juries, you will want to use TCLK.   NEITHER TCLK is the synchronization scheme products Memory Core (SMC)-based and integrated with National Instruments synchronization.  More information about the details behind this technology can be found in the help HSDIO document (start > programs > National Instruments > NOR-HSDIO > Documentation > NI Digital Waveform Generator-Analyzer Help).  Inside of this help document, a good starting point is the title of programming > references > NOR-TClk synchronization help > preview OR-TClk.

NOR-TClk will allow you to start several cards at the same time.  Leave your post I don't know if you are using a card PCI-6552 or PXI-6552 module, however when you use a version PCI RTSI cable allows up to 5 tips be connected.  Using PXI, you can fill the frame and synchronize your 7 boards.  There are several examples that show how to use NOR-TClk.  These examples can be found under start > programs > National Instruments > NOR-HSDIO > example.  Then choose your preferred language and select synchronization.llb or the sync folder.

Tags: NI Hardware

Similar Questions

  • How can I write the trigger for the global temporary Table

    Hi Grus,
    How can I write the trigger for the global temporary Table.

    I created the TWG with trigger using the script below.


    CREATE A GLOBAL_TEMP GLOBAL TEMPORARY TABLE
    (
    EMP_C_NAME VARCHAR2 (20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;


    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE, UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERRING AGAIN AS NINE OLD AND OLD
    FOR EACH LINE
    BEGIN
    INSERT INTO VALUES EMPNAME (: OLD.) EMP_C_NAME);
    END;
    /


    trigger was created successfully, but her would not insert EMPNAME Table...

    Please guide if mistaken or not? If not wanting to give a correct syntax with example


    Thanks in advance,
    Arun M M
    BEGIN
    INSERT INTO EMPNAME VALUES (:OLD.EMP_C_NAME);
    END;
    
    you are referencing old value in insert stmt.
    
    BEGIN
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    END;
    

    then run your app, it works very well...

    CREATE GLOBAL TEMPORARY TABLE GLOBAL_TEMP
    (
    EMP_C_NAME VARCHAR2(20 BYTE)
    )
    ON COMMIT PRESERVE ROWS;
    
    CREATE OR REPLACE TRIGGER TRI_GLOBAL_TEMP
    BEFORE DELETE OR UPDATE OR INSERT
    ON GLOBAL_TEMP
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    BEGIN
    dbms_output.put_line(:OLD.EMP_C_NAME||'yahoo');
    INSERT INTO EMPNAME VALUES (:new.EMP_C_NAME);
    dbms_output.put_line(:OLD.EMP_C_NAME);
    END;
    /
    
    create table EMPNAME as select * from GLOBAL_TEMP where 1=2
    
    insert into GLOBAL_TEMP values('fgfdgd');
    commit;
    select * from GLOBAL_TEMP;
    select * from EMPNAME;
    
    output:
    1 rows inserted
    commit succeeded.
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    
    EMP_C_NAME
    --------------------
    fgfdgd               
    
    1 rows selected
    

    He got Arun

    Published by: OraclePLSQL on December 28, 2010 18:07

  • Two background colors for the same waveform graph

    Hello guys!

    I have a question for you: I am a new user of labview, so please be nice!

    So here's the deal: I just created a thanks 4 thermocouple temperature registration program.

    In real time, I then have a waveform graph 4 curves as soon as I start my program. And in my program, I had a button that allows me to record the temperature in a file for a period of time at a certain frequency.

    So, what I have is: I got my chart of waveform with a black background for example, and once I pressed the button, the background color will be changed automatically to highlight the part of the graph where the record occurs, then the background will return to the black after finished recording. In this way, on the same graph, I could say that registration took place from here to there by looking at the graph. I have two different background on the same graph.

    I don't know how to change the background of a chart using the property node, but is it possible to do what I want?

    I hope I'm clear. Otherwise, feel free to ask me for more details... I might post my vi if necessary

    See you soon

    Well, I know this is not exactly what you want to do, but you can try the following.

    Change the color of the line on the chart when recording occurs.

    You could therefore have a red line, then press on save, then it turns blue, then back to red.

    And when that is confusing since you have 4 different lines on the chart 1,

    You can change to a red line and a dotted red line, for example.

    Would that be acceptable? If so, I can show you how to do this.

  • trigger for the insert statement

    Hello.
    I have a table, say, with 3 columns: ID, NAME, NAME_LENGTH.
    I am trying to create a trigger that fires when a record is inserted in the table.
    I send values for the ID and NAME columns per INSERT statement. and I need the trigger to write the LENGTH OF THE NAME INSERTED in the 3rd column

    CREATE OR REPLACE TRIGGER schema_name. GENERATE_length
    AFTER INSERT ON table_name
    FOR EACH LINE
    DECLARE
    F NVARCHAR2 (200);
    L NUMBER (5);
    NL NUMBER (5);
    NUMBER OF ID_LENGTH (5): = 5;
    BEGIN
    F: =:New.Name;

    L: = LENGTH (F);

    UPDATE HR_ORG_TREE

    SET name_length = NL;

    END;


    but does not work. error occurres as...

    ORA-04091: table schema_name.table_name is changing, the function of triggering/can not see
    ORA-06512: at the 'schema_name '. GENERATE_length', line 13
    ORA-04088: error during execution of trigger ' schema_name. GENERATE_length'

    Thank you.
    Sara
    CREATE OR REPLACE TRIGGER schema_name.GENERATE_length
        -- is "table_name" real name of your table?
        AFTER INSERT ON table_name
        FOR EACH ROW
    BEGIN
        -- this update will change all rows in HR_ORG_TREE table
        -- specify WHERE for this update
        UPDATE HR_ORG_TREE
           SET name_length = LENGTH(:NEW.name);
    END;
    

    Suppose your table_name is HR_ORG_TREE and you need to calculate the length of the name for just inserted row
    After maybe the code will be useful (not tested)

    CREATE OR REPLACE TRIGGER schema_name.GENERATE_length
        BEFORE INSERT ON HR_ORG_TREE
        FOR EACH ROW
    BEGIN
        :new.name_length := LENGTH(:NEW.name);
    END;
    

    Good luck

  • Loading MS Word Documents for the Conversion DB Records?

    Here's what I'm working with...
    Oracle 10.2.0.3.x (w / cd installed companion)
    Fedora Core 7
    4 processors dual-core.
    16G RAM

    For a long time, our intranet has accepted uploaded word files and convert to PDF and each file associated with a db record that stores the location of the file on the disk, the name of the document, the owner and a few other details. The files are generally well formatted, each containing a line for the title, entry into force, author, owner, etc.

    We have reached a point where the PDF conversion is not work too well. In addition, our research via a google mini system returns obsolete files or which have not yet been published. Basically, we need a better solution.

    What I want to do is...
    1. use oracle text scan/load/import the word files,.
    2. use oracle text to analyze the word files identifying items such as the effective date, owner.
    3 load 2 results in a table that is searchable by oracle. I can use my intranet application to convert data to word or pdf or whatever the user needs.

    I'm here because I have a) do not know if this is possible, exactly b) how to go about the task.

    I would really like tips, pointers or links to useful documentation.
    Thank you.

    If this is the case,
    Step 1 - try to download the documents by using the following code

    http://snandan.blogspot.com/2007/07/how-to-insert-PDFDoc-files-into-table.html

    The above is indicated for the pdf file, but the same can be done for MS word too.

    Step 2 - create indexes of CONTEXT using AUTO_FILTER

    Step 3 - try which precedes for couple of documents and then perform a search using the keywords as TITLE, EFFECTIVE DATE etc.
    See the precision of the results, and then you can go further.

    The other part that I can think of - can be a bit complicated - but certainly much more efficient research and storage method will be.
    Once you save the file into the BLOB column - you can try to spend some time writing a small pl/sql script to read once more and obtain the necessary information like TITLE, EFFECTIVE DATE, etc, and store in the table.

    In fact we have implemented something like this before also

    We had PDFs like that.
    We inserted these pdf files in BLOB
    and had a sql script to extract the values you want and put it in a separate - intermediate table
    and once again - a perl script to set all of these properties and content in an XML document

    Now the advantage pf putting documents was felt when we had multiple queries running against them based on the properties and the content
    We used SURLABASEDESDONNEESDUFABRICANTDUBALLAST - 11g feature

    queries like

    text contains 'Insurance' and date > «»

  • Type of input data for the graph waveform

    Waveform graphs do not change the type of input data according to the wire. When I create a new chart that is set to double data type and does not change what I connect to waveform, so I copy graphics to another VI for appropriate indication. But the graphics don't accept complex data. How can I change the type of input data?

    The graphics in vi you have posted behave properly on my machine.

    Change according to the type of data that connect you to them.

    Maybe something wrong with your installation?

  • ID CC2015 (MacOSX 10.9.5) data merge splitting script - "data are out of reach,"... for the first 99 records?

    Hi all.

    Scripter Hans Haesler has created a script that I'm sure that a lot of people involved in the merger of data would consider a 'must - have' - the ability to individually named indesign files merging data records (create hyperlinks with script, without a large increase in size and treatment of the BP reqs resulting?). It has improved this script by adding the ability to change the name of the files to the results of a particular field in a database (http://www.hilfdirselbst.ch/foren/INDesign_Script_f%FCr_Datenzusammenf%FChrung_P513807.htm l).

    I took his script and does four things to him:

    • CSV splitter now a tab rather than a comma (to use text files delimited by tabs, rather than the files variables separated by a comma);
    • Fixed to be cross-platform CheminDossierCible (wasn't working properly on my mac);
    • fixed a catastrophic bug that could use the assignment information from file names text referenced in the open file dialog box, but the merger of another data base that has been already linked in the file, so added myDoc.dataMergeProperties.selectDataSource(csvFile,) to ensure that myDoc uses the same data file that is called by the File.openDialog;
    • rather than exporting an InDesign file, this operation exports a PDF preset.
    var fileNameColumn = 1;//Insert here the column number in the CSV of the new file name is specified. 
    var csvSeparator = '\t'//Please here the separator of CSV file Enter 
    var destFolderPath = Folder.selectDialog('Destination Folder for PDF files').fsName + '/' ; 
    var csvFile = File.openDialog('select CSV file'); 
    
    //CSV import 
    var fileNames = new Array(); 
    csvFile.open('r'); 
    while (!csvFile.eof) { 
       fileNames.push(csvFile.readln().split(csvSeparator)[fileNameColumn-1]); 
       } 
    csvFile.close(); 
    
    var myDoc = app.activeDocument;//prepared document  
    myDoc.dataMergeProperties.selectDataSource(csvFile,);
    myDoc.dataMergeOptions.removeBlankLines = true;
      
    var maxRange =  myDoc.dataMergeProperties.dataMergePreferences.recordRange.split('-')[1];//Number of records in the CSV  
    //Loop through the records  
    for(var  i = 0; i < maxRange; i++)  
       {  
       with(myDoc.dataMergeProperties.dataMergePreferences)  
          {  
          recordSelection = RecordSelection.ONE_RECORD;  
          recordNumber = i+1;
          }  
       myDoc.dataMergeProperties.exportFile((destFolderPath + fileNames [i+1] + '.pdf'), "[High Quality Print]", );
       } 
    

    The best thing - IT WORKS! Well, it does, but something very strange happens. If the database is 99 records or less, the script will be run end until it finishes processing the last record and then this dialog appears:

    Screen Shot 2015-07-10 at 11.38.29 pm.png

    If the database is 100 records or more, then the script works very well and no warning appears. Despite the files PDF export properly, present a defect is the only thing that keeps me from being happy with the script. It's like having a sports car which turns around when he touches out of ignition, unless its duct more than 100 km and then it not to do so.

    For once, I am convinced that the script is written correctly, but I can't work on why this error occurs. Is this a bug in the template script ID, or I missed something? Or is this a bug on my computer only? Is anyone able to attempt to reproduce the fault on their own machine?

    Thank you very much

    Colin

    Never mind colleagues posters, I solved my problem.

    From what I can tell, the InDesign is keep in memory the table from the script the first time, it has been run. Not even

    fileNames.length = 0;

    at the end of the script's force at first.

    Way the easiest way is to set a backup statement just before the beginning of the script.

    myDoc.save (myFile);

    and then, at the end of the script, force the script to close the merge file without saving the changes, but open it back to the top

    myDoc.close (SaveOptions.no);

    myDoc = app.open (myFile);

    I tried

    myDoc.revert

    but he keeps setting up a dialog box asking "Are you" sure and I don't see anything in

    Adobe InDesign CS6 (8,0) object model JS: Table of contents

    or

    http://www.indesignjs.de/extendscriptAPI/indesign10/

    that a property to force a return to actually return without the dialog box.

    Regardless, the result is the same – the document close, open and returned to its original state. So far, it seems to work... yay!

  • CS5.5 looking for the Group waveform normalize?

    Hi, I know that in Audition 3, on the Edit menu, there was the option of group waveform normalize.  I'm looking for this in CS5.5 and can't seem to find it.

    Is this feature still in CS5.5?

    Thank you

    See page 138 of the help file - it's there.

    Downloadable help file

  • Concatenation of fields for the Group of records

    Dear friends,

    Here's my detail records


    employee not non-contact
    1360 8934
    1360 7172
    1360 [email protected]
    1297-8933
    1297 7056
    1297 8888
    1297 xyzl

    I want to write to the bottom of the query that returns the following result set

    1360 [email protected] 8934,7172,
    1297 8933,7056,8888, xyzl

    Pls help me!

    Manish Manyal

    See: http://www.oracle-base.com/articles/misc/StringAggregationTechniques.php

    An example:

    SQL> -- generating sample data
    SQL> with t as (
      2  select 1360 employee_no, '8934' contact_no from dual union
      3  select 1360, '7172' from dual union
      4  select 1360, '[email protected]' from dual union
      5  select 1297, '8933' from dual union
      6  select 1297, '7056' from dual union
      7  select 1297, '8888' from dual union
      8  select 1297, 'xyzl' from dual
      9  )
     10  --
     11  -- actual query:
     12  --
     13  select employee_no
     14  ,      ltrim(sys_connect_by_path(contact_no, ','), ',') contact_no
     15  from ( select employee_no
     16         ,      contact_no
     17         ,      row_number() over (partition by employee_no order by contact_no) rn
     18         from   t
     19       )
     20  where connect_by_isleaf=1
     21  start with rn=1
     22  connect by rn=prior rn+1
     23         and employee_no = prior employee_no;    
    
    EMPLOYEE_NO CONTACT_NO
    ----------- --------------------------------------------------
           1297 7056,8888,8933,xyzl
           1360 7172,8934,[email protected]
    
  • Trigger for when enter a record

    Hi all

    I want a relaxation to fire every time a user enters a new record in a tabular presentation.
    What is the best relaxation to detect this?

    Thank you
    Bradley

    It depends on what you mean by "enter".

    ONCE - NEW - RECORD - INSTANCE fires whenever the cursor navigates in a new record, regardless whether the folder is a new or existing folder.

    Does that answer your question?

    Many other triggers fire when the user types in a record, and then saves the changes or access to another record. If you need information about these triggers, please let us know.

  • In Bayside part 6 I am trying to create a trigger for the navigation menu link

    I followed the instructions in the tutorial to insert the new h2 named Menu, added to the #menulink element, and in mode code, the code is as in the example of the tutorial.  I don't see #menulink in the list of selectors.  I don't get #menulink by the h2 in the NIV.  Was an int missing the step of the tutorial, or who should I have hurt.

    The code view is less than

    ELSA

    Being very new DW cc, I didn't create the selector.  A confused.  Now go ahead although probably will have questions in the menu style next week.  Thank you.  ELSA

  • AnalogWafeform Timing.StartTime is the same for the different records continues mode!

    We read samples from the Commission NI 6132 DAQmx interface in continuous mode, i.e.

    inputTask.Timing.ConfigureSampleClock (string. Empty, 1000000, SampleClockActiveEdge.Falling, SampleQuantityMode.ContinuousSamples, 1000);

    We read the analog waveform records successfully in call back, and we look at samples - they are correct.
    We need to know the moment when trigger onset occurred for each acquisition.

    The data is read to the variable
    AnalogWaveform awf =...;

    and we do the following

    If (AWF. IsPrecisionTimingInitialized)
    {
    InitialXTimeSeconds = awf. PrecisionTiming.StartTime.WholeSeconds;
    InitialXTimeFraction = awf. PrecisionTiming.StartTime.FractionalSeconds;
    }

    The problem: InitialXTimeSeconds and InitialXTimeFraction are the same for all records and equal at the beginning of the task, i.e. time of the acquisition of the first record. What's wrong?

    Hey, I noticed that you posted this question in another forum here. Continue to work on this in this forum.

  • Trigger for USB-6251analog

    Hello

    Generate a rectangular signal of AO on AO0 (white) while playing a Sin on AO1 (red) signal. I want to record on AIx, while the tension of the rectangular signal is max.

    Currently I physically route AO0 to PFI0 and use it as a trigger for the analog input:

    But the VI fails because AIx does not detect the edge of the PFI0 of the trigger. How to fix the VI to work proberly?

    Thank you

    VI can be found here: http://forums.ni.com/t5/Discussions-au-sujet-de-NI/USB-6251-router-Analog-output-pour-trigger-Analog...

    Hafiz asean.support solution:

    I looked at your code and there was a problem with the installation of the acquisition of the chain to HAVE.

    Acquisition of analog input has been configured incorrectly
    In your code, you set the program to use calendar settings based on a waveform. However, when you build the waveform, I believe you accidentally used the frequency instead of the dt of the waveform to build. Removal of the inverse function ensures that the correct values are passed in. Originally, the AI sampling period was put at about 4000 seconds, which in turn causes the trigger to expire.

    Take note that the production and the acquisition is not exactly at the same time. You can see the following diagram:

    Thank you haha!

  • input analog trigger on the door of the meter to measure the frequency of generation

    Hello

    I want to measure a frequency on the analog input, but it doesn't seem to work.

    I'm trying to work with DAQmx with the use of the ansi c standard.

    The first step, I've done was acquiring information on the analog input. With the use of a simulated device, it shows a sine wave on the entry.

    My next step is to generate a trigger for the meter signal, but this doesn't seem to work.

    I don't see how it is possible to connect the trigger on the entrance to the analog meter.

    For the creation of the analog input and relaxation, I use the following code:

    DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
    DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0","",DAQmx_Val_Cfg_Default,-3.0,3.0,DAQmx_Val_Volts,NULL));
    DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",10000.0,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,1000));

    DAQmxErrChk (DAQmxCfgAnlgEdgeStartTrig (taskHandle, "Dev1/ai0 ', DAQmx_Val_RisingSlope, 0 '"));

    For the creation of the meter, I use the following code:

    DAQmxErrChk (DAQmxCreateCIFreqChan (taskHandle1, "Dev1/ctr1", "", 1 January 2000, DAQmx_Val_Hz, DAQmx_Val_Rising, DAQmx_Val_LowFreq1Ctr, 1, 4, "");)

    I hope someone could give me a hint.

    I also tried the examples that come with DAQmx but well I know this are only examples to counter with the help of the digital inputs.

    Thanks in advance.

    Hello

    You must use the exit event of comparison at the entrance of the meter. Change this property after the configuration string function.

    DAQmxSetChanAttribute (taskHandle1, "", DAQmx_CI_Freq_Term, Dev1/AnalogComparisonEvent);

    Kind regards

    Bottom

  • YES for the WWN and Mac

    When I create pools of wwn and Mac for a service profile template, is there a block of addresses that start with a YES that are specific to UCS?  In this guide: http://www.ciscosystems.sc/en/US/products/ps10281/products_configuration_example09186a0080af7515.shtml, I see a trick in the window of this picture: http://www.cisco.com/image/gif/paws/110297/create-sp-ucsblade-11.gif that specifies the use of the prefix 20:00:00:25:B5:xx:xx:xx will ensure uniquiness in WWN name, but when I'm in the same screen on our UCS, I don't see this trick.  The same goes for MACs, there at - it a block with certain values that I should start with?  The MAC of the guide section shows 02:25:B5:00:00:00 in the configuration window: http://www.cisco.com/image/gif/paws/110297/create-sp-ucsblade-09.gif but it is this unique UCS?

    Thank you.

    For the MACs Cisco recorded the program YES 00: 25:b5 the last three bytes are to you. You can either some arbitrary numbers of makeup or you can put a logic behind it. Here's what I recommend for MACs.

    • Create two clusters of MAC; one for the fabric and the other for fabric B
    • For the last three bytes, use the first for the site/cluster and the other for fabric or B. Example site 1, group 1 and fabric would be this 00:25:b5:11:a0:00 and go up from there. Fabric B would be this 00:25:b5:11:b0:00 and this 00:25:b5:12:a0:00 cluster 2.

    For the WWNNs and the WWPN, you want three pools; one for the node WWN and two for the port WWN (vHBA).

    Same concept here for the WWNNs use something like 20:11:00:25:b5:00:00:00 for the site 1 cluster 1 and 20:12:00:25:B5:00:00:00 for cluster 1 2 site.

    For the WWPN pools do one for fabric and a fabric b like this

    • Fabric of the 1 Group 1 site - 20:00:00:25:b5:11:aa:00
    • Fabric B 1 Group 1 - 20:00:00:25:b5:11:bb:00 of the site

    By creating pools MAC and WWPN for each tissue, you can easily identify what fabric on a MAC or WWN comes when you look at the MAC table on a switch or what zoning, you can easily select WWN. might be useful when troubleshooting as well.

Maybe you are looking for