How to transmit counter input data of different channels simultaneously?

Hello.
I'm using X-series PCIe-6361 DAQ board which have 8 DMA channels and Labview 8.2.1. I upgraded the version of DAQmx as 9.0 which supports the X-series devices and confirmed the board worked normally on my system.
I'm trying to measure the pulse width continuously from 4 different pulse trains with CMOS level. The frequencies of signals are same but the pulse width and phase are varying with respect to time.
http://zone.ni.com/devzone/cda/tut/p/id/9376
From the tutorial page of NI X-series, I saw the following expression "X Series also includes eight DMA channels to stream data directly
between the device and PC memory without CPU interaction or additional
programming effort. These eight channels provide parallel data streams for the analog I/O, digital I/O, and all four counter/timers."
But when I started the Labview programming, I realized that the counter functions of different channel cannot be put into a single task. So I couldn't help but separate the read functions into 4 individual tasks and there are timing differences in data transmission between channels up to 250 micro-sec because of the sequential running.
How can I eliminate the timing difference and realize parallel data streams for the counter?

Check out these links. I hope that they help!
Fieldpoint and RT
Logging Data with a FieldPoint FP-20xx to View in a Web Browser
Transferring Files from a FieldPoint FP-20xx through an FTP Server
Introduction to Using DataSocket Commands to Communicate with FieldPoint Etherne
t Network Modules
Good Luck!
Mike
NI

Similar Messages

  • How to route incoming file data to different ftp servers?

    Hi all,........its urgent.
        Our client requirement is
    1.they are sending csv file , then the file is to be splitted according to company code and should be routed to particular FTP server.
        But in our case we are using same message type and data type ..hence we are not using Mapping objects..then how to route this incoming data to different FTP servers

    Hi Nandan,
    Use X-Path in your receiver determination.
    What is X-Path
    http://www.w3.org/TR/xpath20/
    /people/shabarish.vijayakumar/blog/2006/06/07/customise-your-xpath-expressions-in-receiver-determination
    /people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers
    /people/prasadbabu.nemalikanti3/blog/2006/09/20/receiver-determination-based-on-the-payload-of-input-dataextended-xpathcontext-object
    /people/prakash.darji/blog/2006/09/22/using-xpath-statements-within-sap-netweaver-2004s-bex-web-application-designer--part-1
    Regards,
    Sarvesh
    ****Reward points, if found helpfull.

  • How to display the header data on different position in alv report

    hi all,
    how to display the header data on different position in alv report.
    for example ,
    customer                                                   name
      xxxx                                                         xxxx
                     vendor        name     street 
                      xxxx         xxxx      xxxxx
    pls   help me .

    hi
    as per my understanding you need to trnasfer header internal table data  to pdf..
    please check the following links for internal table to pdf..
    Convertion of Internal table data to PDF
    This link is related to ur issue
    Re: how to insert the calling of the FM: OTF to PDF
    Thanks

  • How to use Count with Date Parameters

    Hello,
    I am having issues using the Count() function in conjunction with date parameters.
    This is a Siebel report and in my report I have 2 date parameters(From Date, To Date). In a nutshell I am basically trying to count Opportunities that has a start date within the given date period. However I don't see a reasonable way to put my date parameters within the Count() function. The reason being is that I need to have a huge chunk of code to convert the dates into a common format that can be compared, and it won't even fit within the code block in my rtf template. I am not even sure how to put multiple conditional statements inside a Count() function since all the examples I have seen are very simple.
    Anyone have a suggestion on how to use Count() with date parameters?
    Thanks.

    Any chance you can get the date formats in the correct format from siebel?
    I don't know Siebel - so I can't help you with that. If you get the correct format it is just
    <?count(row[(FromDate>=date) and  (date<=ToDate))?>
    Otherwise the approach would probably need to use string function to get year/monthd/day from the date
    and store it into a varialbe and compare later the same way
    <?variable@incontext:from; ....?>
    <?variable@incontext:to; ...?>
    <?count(row[($from>=date) and  (date<=$to))?>
    Potentially you can use the date functions such as xdofx:to_date to do the conversion
    [http://download.oracle.com/docs/cd/E12844_01/doc/bip.1013/e12187/T421739T481158.htm]
    But I am not sure if they are available in your siebel implementation.
    Hope that helps

  • How to store jsp session data of different user in util.hashmap

    how to store jsp session data of different user in java.util.hashmap
    and access the data of all user on the server side
    The same example is given in professional jsp but its not working.
    I can use getIds() of httpsessioncontext but it's depricated

    Hi
    I'm trying to make an example.
    With the following codes you can get the date from the session.
    request.getSession().getAttribute("sessionname")
    To store it in a hashmap you could do it like this ->
    Hashmap hm = new Hashmap();
    hm.put(Object key, request.getSession().getAttribute("sessionname"));
    I hope you understand it if not just write it!
    Cyrill

  • Input range for different channels

    Hi,
    In one of my experiments, the data I acquire in different channels have different magnitudes (in Volts). Therefore, I am trying to set a different input range to these various channels. Here's a picture (input_range.png) of a part of my VI where I am trying to assign input ranges to the analog input channels.
    Channels ai0-7 have the range +/-200mV and channels ai8-15 have +/-500V. I do not have the equipment with me at the moment, so I can't test this. But I am wondering whether this is how you would normally set different input ranges for different channels or whether there's a better way to do this.
    Cheers.
    Attachments:
    input_range.PNG ‏15 KB

    Thanks for the quick reply Mike.
    I found the following post which showed me how to do it
    http://forums.ni.com/ni/board/message?board.id=170&message.id=318492&query.id=74076#M318492
    However, I am having difficulties in actually acheiving this. Firstly, I don't know how to set up the arrays as he's done there. Secondly, I could not get the auto-indexing to work. I've attached a pic of my attempt. When I try to enable auto-indexing on the right-hand side of the for-loop it breaks the wires and I can't even enable auto-indexing on the left hand side.
    Will it be possible to attach a VI for this part so I can see what functions you've used.
    Cheers.
    Attachments:
    input_range2.png ‏8 KB

  • Can I set different input range in different channel in cFP AI100

    Dear Sir:
    I have one question about the input range of cFP AI 100. Can I set different input range for different channel in one cFP? Also, can I set different input type (voltage or current) for different channel in one cFP? If yes, how? Thanks.
    Best Regards.
    Fred

    Hi Fred,
    The answer to both questions is yes. In MAX, in the Channel Configuration Tab of your cFP-AI-100, you can specify your range to be one of a number of settings for current or voltage. To configure separate channels, simply select the channel and then select the range. See the attached screenshot for more details.
    Regards,
    Sean C.
    Attachments:
    FP Channel Configuration.bmp ‏2305 KB

  • How to display rows of data into different columns?

    I'm new to SQL and currently this is what I'm trying to do: 
    Display multiple rows of data into different columns within the same row
    I have a table like this:
        CREATE TABLE TRIPLEG(
            T#              NUMBER(10)      NOT NULL,
            LEG#            NUMBER(2)       NOT NULL,
            DEPARTURE       VARCHAR(30)     NOT NULL,
            DESTINATION     VARCHAR(30)     NOT NULL,
            CONSTRAINT TRIPLEG_PKEY PRIMARY KEY (T#, LEG#),
            CONSTRAINT TRIPLEG_UNIQUE UNIQUE(T#, DEPARTURE, DESTINATION),
            CONSTRAINT TRIPLEG_FKEY1 FOREIGN KEY (T#) REFERENCES TRIP(T#) );
        INSERT INTO TRIPLEG VALUES( 1, 1, 'Sydney', 'Melbourne');
        INSERT INTO TRIPLEG VALUES( 1, 2, 'Melbourne', 'Adelaide');
    The result should be something like this:
    > T#  | ORIGIN  | DESTINATION1  |  DESTINATION2 
    > 1   | SYDNEY  | MELBORUNE     | ADELAIDE
    The query should include the `COUNT(T#) < 3` since I only need to display the records less than 3. How can I achieve the results that I want using relational views???
    Thanks!!!

    T#
    LEG#
    DEPARTURE
    DESTINATION
    1
    1
    Sydney
    Melbourne
    1
    2
    Melbourne
    Adelaide
    1
    3
    Adelaide
    India
    1
    4
    India
    Dubai
    2
    1
    India
    UAE
    2
    2
    UAE
    Germany
    2
    3
    Germany
    USA
    On 11gr2, you may use this :
      SELECT t#,
             REGEXP_REPLACE (
                LISTAGG (departure || '->' || destination, ' ')
                   WITHIN GROUP (ORDER BY t#, leg#),
                '([^ ]+) \1+',
                '\1')
        FROM tripleg
        where leg#<=3
    GROUP BY t#;
    Output:
    1 Sydney->Melbourne->Adelaide->India
    2 India->UAE->Germany->USA
    Cheers,
    Manik.

  • Save counter input data against time

    Hello, i would like to know about recording using a write to measurement file.
    When i record a data like analog input, at the save file with display the analog data against time.
    But when i tried to applied for the encoder, which is using counter input, in the .txt file dont display
    the result as analog input. So can someone give me a guide on what to setting on write to measument
    file to measure the revolution per minute rotation against time, thanks
    Solved!
    Go to Solution.
    Attachments:
    encoder recording.vi ‏180 KB

    There is no setting for the Write Measurement File. Your problem is that you are passing a scalar to the function and that scalar has no timestamp information. When you use an analog acquisition, the data type is either a waveform or dynamic data type. Below is one way to add the timestamp information. You also should have a delay or msec wait in your loop. This can be used for the dt information.
    Message Edited by Dennis Knutson on 09-24-2007 09:51 AM
    Attachments:
    Save Scalar with Timestamp.PNG ‏6 KB

  • How to  convert the input  Dates  into ReminderInfo in AssignTask Activity!!

    Hi
    We are reading reminder  time and  Date from   the user   thru the form. We  want to  bind this input date and time with ReminderInfo data type to  set
    Reminders in Assign Task Activity.
    Please  find the ppt for more info.
    Please help  us in this regard.
    Thanks
    Praveen

    Nith,
    I know this thread is old, but how do you identify the Assign Task instance you want to adjust?
    I see processData/asdf..... in your screen shot - is this a global reference to assign task objects or to a specific instance?
    I have a process that has multiple assign task calls in it, and only want to set reminders on one of them.
    Thanks for your help - as always.
    Mark

  • How to get the input data on the arbitrary draw event ?

    Hi all,
    I'm trying to draw a histogram on a arbitrary parameter (just like the "Levels" effect). The draw part is well, but I have a problem with the input layer data (param[0]).
    All I have to do now is read the input data on the arbitrary draw event. But there's not the input pointer on the draw event. So I called the PF_CHECKOUT_PARAM() function to get the input data, and it works!
    When I test in AE, I created a layer A, and added some color correction effects to the layer A before added my effect to the layer A. The problem is the input layer my effect read is not the result of previous effects I applied before.
    Has anyway to read the latest input data in the arbitrary events ?
    Thanks.

    Hi shachar, nice to meet you!
    In another way, I created a sequence data like this:
    typedef struct {
        bool didRender;
        <some histogram data>;
    } Histogram;
    typedef struct {
        Histogram*  histograms;
    } my_sequence_data, *my_sequence_dataP, **my_sequence_dataH;
    my_sequence_data.histograms is an array with in_data->total_time / in_data->time_step items initialized during the sequence setup.
    During the render call, I cached  the calculated histogram at this current_time to the sequence->histograms[in_data->current_time / in_data->time_step], set the didRender = true.
    In this way, I have another problem with the AE cached image. I disabled a random previous effect on the effect panel, then the AE re-rendered my effect, the histogram changed (good). I enabled the effect again, and nothing change (bad )
    I try to force the AE re-rendering after the custom UI changed ( I tried with the event_extraP->evt_out_flags = PF_EO_HANDLED_EVENT; and params[HISTOGRAM_UI]->uu.change_flags |= PF_ChangeFlag_CHANGED_VALUE; on the click, drag events...) but it seem not works!
    Am I on the right way ?
    Thank you so much!

  • What is the best way to assign time stamps to counter input data?

    Compact DAQ
    NI 9411
      Hi Everyone,
      I am creating a chart recorder for collecting various engine data.  I need to plot engine speed, crank angle, and various analog data on an XY graph.  I am using a counter and a mag pickup to continuously measure the frequency of the flywheel teeth.  From this data I create an array of timestamps based on accumulated periods for each frequency measurement.  My problem is, how do I determine the absolute timestamp for the first frequency of the buffered data?  I need to sync the frequency data with the analog data so I can plot it all vs time on an XY graph.  The flywheel has 201 teeth and the engine runs at 600 RPM.
      I am using a second mag pickup and counter to measure a single index pulse on the flywheel.  This will be used to determine the crank angle.  I also need to create a timestamp for each index pulse.  What is the best way to do this?
      Is it possible to treat the two mag pickups as an encoder and not use the B phase (direction) pulse? 
      I am fairly new to LabView and any help would be greatly appreciated.
      Thanks in advance,
      Kris

    Hi Kris,
    With analog and digital input tasks in DAQmx, it is possible to acquire data of the type 'waveform'.This includes timestamp information for the acquired data. This example is a good one to reference to understand how this is done: http://decibel.ni.com/content/docs/DOC-3749 . 
    With counter tasks in DAQmx, however, your best bet would be to use the 'Get Date/Time in Seconds' VI to obtain the absolute time. You can set this up so that the absolute time value is obtained right before the DAQmx read function is called, as shown below:
    Are you trying to use the 9411 to read from the mag pickup? What type of data does it output?
    For information on programming with NI-DAQmx, please refer to the following webpage: http://zone.ni.com/devzone/cda/tut/p/id/5438 . It is a very useful resource to get started on DAQmx applications! I hope this helps. 
    Vivek Nath
    National Instruments
    Applications Engineer
    Machine Vision

  • Hi everybody how to save the inputed data in one simple list output .

    here am wrting the description of the requirement ...
    am displaying one report output in that output i have all my fields open so that user can directly chage the dats what ever needed or he needs.
    then after changing when he will press the save button the changed data should be saved to one of the database tables ..
    so can anybody please help me out how to do this requirement
    this is a simple report with all fields in the output screen in input mode

    hiiii
    if you want to save the data that user have updated then use following statement on SAVE button.
    UPDATE ztable1
    SET    C1 = 2   
    WHERE  C2 IN ( SELECT C3
                   FROM   T2
                   WHERE  C4 = 0)
    reward if useful
    thx
    twinkal

  • How to populate my input data into java bean through

    Hi,
    I have one doubt in swing how many ways we can populate the input properties(data fron gui screen) into my javabean object(Simple POJO)
    Thanks,
    Tuku

    Hi,
    I have one doubt in swing how many ways we can populate the input properties(data fron gui screen) into my javabean object(Simple POJO)
    Thanks,
    Tuku

  • How to update (add new data in different tab) existing table from Excel

    i've an existing table, for instance User Profile table, it consists of few tab in the table which contains different data... recently i've added new tab to the existing table and i would like to upload a particular data for this new tab... is there any way to upload (insert new data for the tab on existing data) this particular data into the existing table from Excel file?
    could it be done by using lsmw?
    Edited by: Yeong Kang Liew on Apr 5, 2010 4:35 AM

    Check HELP on MODIFY & UPDATE statements.

Maybe you are looking for

  • Ipod Shuffle not recognized by computer and iTunes and does not charge

    I connected my iPod to my computer but for some reason, it is not recognized at all by the computer nor iTunes. It doesn't charge either. I have tried all the USB ports and since I have Windows Vista, I cannot use the Restore Utility thingy. I purcha

  • Finder cannot complete the operation because some data in.....

    Hello everyone. I burned about 10 TDK DVDr's about a month ago. I didn't get any errors while burning them and put them directly into cd cases to prevent them from getting scratches or marks. I just took them out to copy the files back to my Macbook.

  • Backing up an external storage hard drive with time machine

    I have a setup with an external hard drive on which I store photos etc. I also back up my desktop with time machine to a separate external. I want to back up my photo drive to this external through time machine and a tech at the apple store showed me

  • How to share an external hard drive on my mac with my ipad

    with some apps like aceplayer or filebrowser, I can get files from my mac but not from my external hard drive witch is usb plugged to my mac. Is os x server the answer? would it allow access to my extern drive? thank you for your help alex

  • Adobe reader not responding

    i downloaded adobe reader but it is not opening any PDF files, also, whenever i double-click on the i-con,it does not even open. Can you tell me whats the problem ?