DAQ Assistant acquires the data into segments

I'm writing a code that reads and records the voltage, temperature and pressure on a cdaq-9174 using or 9221 and cards or 9173.  The problem is that when the daq assistant is set to N samples outputs the data blocks in the graphics.  I wish it were a continuous stream so I can see what is actually happening.  I tried to change continuously, but it gets an error or is has data about 16000 points in 10 seconds, which is a lot more that I prefer.  The code I am using is borrowed from another person and then the installation exactly it works on this computer, but not mine.  Does anyone have any suggestions on how to solve this problem.  I enclose the code as well as the sub live he uses.

Thanks for all the help.  I didn't know at first that the NI 9237 card has a minimum sampling rate of ~ 1600 Hz.  I am now able to taste to 2000 Hz then use decimating continues to write in my file at 200 Hz.

Tags: NI Hardware

Similar Questions

  • New Daq with the Daq Assistant in the filtering code

    Hei,

    I have a NI USB-6225 DaqMx I used a couple of years. When I started with LabVIEW, I found the Daq Assistant to the best way to measure the voltage with my Daq etc. My company has purchased another DaqMx NI USB-6225 and now I have a big problem: the Daq Assistant in my old Vi does not work with the new data acquisition. I understand why there is this problem, but I do not know how to solve. I found this code on the forum who finds that Daq is connected:

    The problem is that Daq Assistant do not have an entry for it, and it gives me an error if I try to run the code with a different device than the original, I used when I created the code.

    Is there a way to solve this, so I don't have to convert all the Assistants Daq normal code?

    Hello again,

    two options:

    (1) as the old software is related to 'Dev1' you must rename your new device to this alias and skip/rename the old device (and lack).

    (2) rewrite your old software does not become is not dependent on the name of the alias for the data acquisition card...

    It's your choice!

  • How do switch you between multiple channels to indicate which channel to acquire the data from?

    I'm trying to builld a VI where I can have an option to enable or DISABLE multiple channels depending on the modules plugged into the chassis and then acquires the data of the channels which are turned on and where other acquisition parameters do not change. Is there any specific/switch where can I do this? Please answer as soon as possible. Its quite urgent. Thank you

    You use DAQmx?  To change the assignment of the data acquisition channels, you must close the currently open session and then create a new session with the new channel definition.  So the order of execution:

    Create task or virtual channel - read - clear task of triggering and synchronization of the configuration - set new channel list and to create a task - read - clear task, etc...

  • ADF progress indicator to insert the data into the file table.

    I have a requirement where the progress bar should indicate the percentage of completion to insert the data into the tables of database files in a given folder path. I found an article that explains how to get the progress indicator when downloading a file in
    http://www.gebs.ro/blog/Oracle/Oracle-ADF-progress-indicator-in-Fusion-Middleware-11g/. I believe that I must first get the total number of files in the folder and then begin to compare with the number of files that are inserted into the table similar to what is done by downloading (getting the file size and download size), but I don't know how to do this. Can anyone help?

    May be that this example allows you to

    * 042.     Dynamically change the color of progress bar based on its current value *.

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html

  • Loading the data into Essbase is slow

    Loading the data into Essbase is slow.
    Loading speed of 10 seconds on a record.

    It is used standard KM.

    How it is possible to optimize the loading of data into Essbase?

    Thank you

    --
    Gelo

    Just for you say the patch was released

    ORACLE DATA INTEGRATOR 10.1.3.5.2_02 UNIQUE PATCH

    Patch ID - 8785893

    8589752: IKM SQL data Essbase - loading bulk instead of rank by rank treatment mode when an error occurs during the loading

    See you soon

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

  • DAQ Assistant no recorded data during the case structure is false

    I try to turn it on turn off heater using intermittent relay module (some time and some free time). The program attached that do very well. Except that I also want to record the temperature of the radiator using materials DAQ Assistant and it records all the data when the case structure is false. I mean, when the relay is off. I tried to use the vi for the acquisition of data in the structure of the case. However, aparently it is not possible to call the module analog input even twice in the same program. All solutions? Thanks in advance.


  • Second DAQ assistant in the power control system does not

    Hi all

    I need your help on this issue. I'm currently programming a VI for one command power supply for pool boiling experiments. The organizational structure of the VI program is attached.

    I use two assistants DAQ for steady-state acquisition and temperature unstable state data respectively. The first assistant DAQ (samples to read 5, 5 Hz rate) for the acquisition of works unstable state data well (see the attached image file first DAQ Assistant for acquisition of temperature unstable state). The second assistant DAQ (samples to read 12 k, 200 rate) for stationary data acquisition does not work (please see attachment image Second Assistant DAQ of steady-state temperature acquisition), showing only a series of data files size of 1 KB with no data on the inside. And indicators for steady-state data also revealed nothing.

    After a similar Q & A search in the forum, I tried to distribute different channels for 1 and DAQ assistant 2. However, the situation was almost the same.

    The material I used are chassis SCXI 1000 and SCXI 1303 Council to acquire thermal couple temperature data. Food was AMREL SPS200-50-K025. LabVIEW software is the 2014 version.

    I had just started to learn LabVIEW for only a month, and I know that the VI is a little messy. Hope you guys can also give me some advice on how to improve this VI.

    Have you looked at the error on the second daq assistant? You will see that a reserved resource error because you cannot use two different assistants. You do not mention the real DAQ hardware but there a clock unique convert. You can use only one assistant with a unique sampling frequency.

  • Connection diagram missing in DAQ Assistant generate the signalling block

    This is my first post so please excuse the quality of my description.

    When I double click on the block of data acquisition - Assistant, there is no tab connection diagram I can access to see how things are wired to the top. I have a NI USB-6211 connected by USB and it is used to control many different sensors and a power supply. Currently, he works for everything and is hard wired correctly, but only blocks DAQ Assistant has a connection diagram available, the other are not. One who has a connection diagram is used to measure a voltage. Others who do not are used to generate a signal. I would really like to be able to see patterns of connection for each block.

    -Any help would be appreciated

    -Thank you

    You can always do like those who never use the DAQ Assistant and read the manual. Right click on the device in MAX and selecting "stitching of the device" works too.

  • DAQ Assist and the graphic representation

    A very simple problem...

    Very new to LabView, and I fight with wiring to the top of my Daq Assistant, in order for a chart data of a load cell. I have plugged my scale to the acquisition of data and you want to measure strength readings over a period of time / when I press stop. When I run my program it graphic only a finite number of readings and then clears the graph to copy the new readings on top. I put my chart outside the while loop so that it would be graphic a reading at the same time as they were read, but it does not work. If my son is not what is wrong, I feel that my time parameters for the Daq Assistant is not appropriate (and I do not know how to set those either.) I don't understand the description/effects rates and samples to read.

    Thanks for your help.

    AFLR wrote:

    A very simple problem...

    Very new to LabView, and I fight with wiring to the top of my Daq Assistant, in order for a chart data of a load cell. I have plugged my scale to the acquisition of data and you want to measure strength readings over a period of time / when I press stop. When I run my program it graphic only a finite number of readings and then clears the graph to copy the new readings on top. I put my chart outside the while loop so that it would be graphic a reading at the same time as they were read, but it does not work. If my son is not what is wrong, I feel that my time parameters for the Daq Assistant is not appropriate (and I do not know how to set those either.) I don't understand the description/effects rates and samples to read.

    Thanks for your help.

    Hi, AFLR,.

    I think the settings are fine, you have defined DAQ to read 100 samples at a rate of 100samples per second, you will get 100 samples per second.

    Now to maintain the previous data in the graph (which is not the nature of the chart), you will need to keep by writing additional code.

    If you already know:

    1. SHIFT registers and

    2. waveform components

    You can easily implement this requirement, find the attached VI for your reference.

  • Loading the data into the order of series of Timestamp

    I need to load data into the target table in the order of series of timestamp. How to do it.

    ex:

    2015-12-10 02:14:15

    2015-12-10 03:14:15

    2015-12-10 04:14:15

    After you follow the how to use the Direct-Path INSERT ordered by your "timestamp column" series described here above, you can sort the lines in ODI (order of) this way:

  • Reading file and dump the data into the database using BPEL process

    I have to read the CSV file and insert data into the database... To do this, I created some asynchronous bpel process. Adapter filed added and associated with the receive activity... Adapter DB has added and associated with the Invoke activity. Receive two total activity are available in the process when trying to Test em, receive only the first activity is complete and awaits the second receive activity. Please suggest how to proceed with...

    Thanks, Maury.

    Hi Maury,

    There is no need in step 2 that u mentioned above. I donot find useless a webservice?

    The process will be launched by the CSV file, then using the processing activity, you can put it in the DB.

    There should be no way where you can manually test it by giving an entry. All you can do to test is to put the file in the folder you mentioned when configuring the file adapter.

    You just need to have the composite as below:

    ReadCSVFile---> BPEL--> DB adapter

    And in your BPEL process:

    Recieve--> Transformation activity--> call activity

    Try to work on some samples listed on the oracle site and go through the below URL:

    The playback of the file adapter feature using

    Thank you

    Deepak.

  • Need help to extract the data into a string of separate brackets

    Hello

    I have a scenario where I have to extract data into a string that is enclosed in [].

    Here's what I want to do...

    entry:

    [name_first] [name_mi] [name_last]

    required output: this must return all data that are placed between square brackets.
    name_first
    name_mi
    name_last

    I tried the "REGEXP_SUBSTR' but my version of the database is 9i, and it is available only from 10 g.

    Thanks in advance.

    Hello

    You can use SUBSTR and INSTR
    This should work in Oracle 9:

    WITH     cntr     AS
    (
         SELECT     LEVEL     AS n
         FROM     dual
         CONNECT BY     LEVEL <= 3
    )
    ,     got_pos          AS
    (
         SELECT     x.txt
         ,     c.n
         ,     INSTR (x.txt, '[', 1, c.n)     AS l_pos
         ,     INSTR (x.txt, ']', 1, c.n)     AS r_pos
         FROM           table_x  x
         CROSS JOIN    cntr     c
    )
    SELECT        txt
    ,        n
    ,        SUBSTR ( txt
                   , l_pos + 1
                , r_pos - (l_pos + 1)
                   )     AS sub_txt
    FROM        got_pos
    ORDER BY   txt
    ,             n
    ;
    

    Sorry, I don't have an Oracle 9 database now; I had to test this in Oracle 10.

    jimmy437 wrote:
    ... I tried the "REGEXP_SUBSTR' but my version of the database is 9i, and it is available only from 10 g.

    It's true. Regular expressions are very useful, but they are not available in Oracle 9 (or earlier).
    Oracle 9 has a package supplied by Oracle, OWA_PATTERN, which provides regular expression features:
    http://docs.Oracle.com/CD/B12037_01/AppDev.101/b10802/w_patt.htm
    I know it's the Oracle 10, documentation, but there are in Oracle 9, too.

    Oracle 9 is very old. You should consider the upgrade.

  • Loading the data into Essbase (add the crash)

    Hello

    We are loading data from oracle to target Essbase cube table. How to manage ODI loading data to add to rather than replace the last value?

    Ex: We have the data source with the mapping of M:1, so we court statement case [case when the Group has, B, C and D] is there a setting in ODI who allows to add (add) instead of overwrite data?

    Currently, the value of data in C is loaded into D instead of A + B + C in D.


    Thank you.

    You can put the CASE WHEN, in the mapping target and continue to use a rule to load a load rule has nothing to do with what you are doing in target mappings.

    See you soon

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

  • Loading the data into the planning

    I'm a little confused how loading data in the planning of the work of the application. I have created the new application of planning with the Application Wizard, created the database, etc.. Then, after documentation (the administrator Planning Guide), I loaded the metadata using contour loading utility (OutlineLoad). Now I want to load the data. Following a few steps from ducumentation I add DIRECT_DATA_LOAD = False parameter (there is no front) and the DATA_LOAD_FILE_PATH parameter points to a directory on the server (I tried creating the empty file and DATA_LOAD_FILE_PATH the value piont this file). After saving configuration and restart the schedule I used Adminsitation to load data to choose the size of data loading, Driver-Dimension, I recorded it and then... no new files in the DATA_LOAD_FILE_PATH catalog has been created. What I am doing wrong?

    EPM 11.1.1.1.0 on Windows 2003 Server EE

    Hello

    Let me give you an example of loading data from the sample application planning.

    Dimensions
    Account, currency, entity, period, scenario, Version, year, Segments

    Loading data Dimension = account

    Driver dimension = scenario

    Selected member real =

    The format of the csv file is

    Account, Point of view, data load Cube real name
    330000, "USD, Jan, E05 NoSegment, work, AFA 08 ', Consol, 1000

    I hope that gives you an idea?

    See you soon

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

  • How to put all the data into one phone to another?

    Okay, so I have an iphone 5 c and I want to spend it with old iphone my mother 5 s. I want to move all the data from the 5 c to 5 s. but I don't know how to do it? I'm sure that you connect the 5 c with itunes on a computer to do. Help?

    You can do it. First of all, make sure that the 5s are deleted properly: what to do before you sell or give away your iPhone, iPad or iPod touch - Apple Support

    Then you can transfer the contents of the 5 c to 5 s: transfer content from your old iOS device to your new iPhone, iPad, or iPod touch - Apple Support

Maybe you are looking for

  • Importing Photos without end in double - help!

    Hi all, I'm desperately need help, so please can you help me... Whenever I connect my iPhone or iPad to my Macbook Air, all software up to date on all devices, the Photos under OS X app offers to import the same (sometimes hundreds) photos that I've

  • driver realtek RT8139/810 x Fast ethernet for HP CQ58-d57SR adapter

    Take the new HP compaq CQ58-d57SR. Search help driver realtek RT8139/810 x Fast ethernet for Win7 32 adapter?

  • Lack radio SHOW the FILES AND FOLDERS HIDDEN button!

    I don't see the SHOW FILES AND FOLDERS HIDDEN in the VIEW tab in OPTIONS of FOLDERS. The option button disappeared completely! If it is caused by a virus? If so, what would be the best antivirus to fix my problem? Thank youAelver

  • Existing systems

    Due to my other computer crashing (exhaustion of motherboard), I need to install on my laptop with Vista systems. Can I partition the disk and copy the system and programs from the old hard drive in the partitioned part of the hard disk laptop?

  • VPN site to site UP, but no traffic

    Dear friends, I did a VPN site to site using ASA 5555 02 in each site running the Version of the software 9.2 (4). The VPN is UP, as shown below: ASA-SSP-Pri (config) # sh isak his There are no SAs IKEv1 IKEv2 SAs: Session-id: 1, State: UP-ACTIVE, IK