Increase acquisition time in Cont Acq&Graph Voltage-Analog SW Trigger.vi

The NI example Cont Acq&Graph Voltage-Analog SW Trigger.vi takes one second of data. I need to take much more and can't figure out how to increase the acquisition time.
Is this something that has to be adjusted in one of the DAQmx task sub VIs?

Hello Richard,
Welcome to the forums. You post this question on the DAQ forums and that is the correct one to ask this so let keep it there and do not hesitate in posting back if you need more help.
Best,
Message Edited by Yardov on 07-09-2007 11:44 AM
Gerardo O.
RF Systems Engineering
National Instruments

Similar Messages

  • Cont Acq&Graph Voltage-An​alog SW Trigger.vi

    can thus example be modified so that its is sending out a wafeform, say a pulse for example; for analysis on an external scope?
    i have been having problems generating a pulse output with my 6008, apparently it does not support hadware timin, so im wondering if
    i can overcome this with the config, but in reverse? i.e using software timing

    This example does not generate a signal on analog output channels
    It acquires a signal on its analog input channels
    Look at example vi's you will find in this folder
    Find examples>>Hardware input/output>> DAQmx>> Analog generation and choose suitable analog generation vi from that folder

  • Error 89136 at DAQmx start task (Acq&Graph Voltage-Ext Clk-Analog Ref.vi)

    HI,
    I am trying to run example vi Acq&Graph Voltage-Ext Clk-Analog Ref.vi ( I have made some modifcations) in labview 8.2
    I am trying to read pressure (from a compressor),
    I have an encoder with 1024 pulses per revolution,
    So I want to read 1024 samples for each of the 1024 pulses of the encoder and use the encoder as the trigger (with a channel that gives one pulse per revolution),
    I get the error above and I have no idea why (I don't understand the settings at all).
    Please help.
    Attachments:
    Acq&Graph Voltage-Ext Clk-Analog Ref.vi ‏43 KB

    educob wrote:
    Hi,
    english is a foreigner language for me but i don't have significant problems understanding it.
    My problem is lack of technical labview knowledge.
    I want to read the pressure each time a encoder produces a pulse.
    It  should be as easy as setting the trigger (the encoder signal for each complete revolution) and the external clock (the enconder train of pulses).
    But as easy as it sounds I can't do it.
    Thanks.
    Since that error message is telling that you are doing something that is wrong. I suggest you read the capabilities of the hardware. What you think the hardware should be able to do has no bearing on what it CAN do.

  • Why "Acq&Graph Voltage-Int Clk.vi" does not get constant voltage for constant voltage input?

    Dear All
    Labview 7.1/XP/NI6221
    I try to use NI 6221 to read analog input by using "Acq&Graph Voltage-Int Clk.vi".
    The reading voltage does not constant and not correct value, when I put constant voltage.
    How should I solve this problem?  Thank you.
    When I use "DAQ Assistant" to read analog input it work well.
    Thongchai

    Thongchai,
    As I recall from an earlier discussion exchange with you, you are performing Reference Single Ended (RSE) measurements on channels 0-3, is that correct?  In the example, there is no selection for the input terminal configuration on the DAQmx Create Task -- for M-Series boards on channels 0-8 the default configuration is differential.  If you right click on this input and select "Create Constant", you can choose RSE and it should measure the correct values.  Let me know how that works for you.
    Erik F
    Applications Engineer
    National Instruments

  • Acq&Graph Voltage-Int Clk.vi error-2147220712

    Hi All,
    I had this Acq&Graph Voltage-Int Clk.vi running excellently since 4yrs. Only yesterday I see this error poping when I run this program. 
    The pop up says : Error-2147220712 occured at DAQmx Create channel (AI-Voltage-Basic).vi
    I tried to run the example Acq&Graph Voltage-Int Clk.vi and I get the same error.
    could you help me to resolve this. Thanks a lot.
    Regards
    Nag

    Hi Nag,
    I have looked at your error and tried to find other people having had this problem. It seems that for some people it was fixed by reinstalling/repairing the DAQmx drivers.
    This can be done by going to:
    my computer >> add/remove programs >> national instruments
    In the dialog box you should see the DAQmx drivers and be given an option to do a repair. Try this and let me know how it goes.
    Kind Regards,
    Laurence C.
    Senior Test Development Engineer
    Dyson Ltd

  • Cont Acq to File (scaled) results in unexpected behavior

    I am writing an application based on the "Cont Acq to File(scaled).vi example". The DAQ card on my system is the PCI-MIO-16E-4. I am acquiring only 1-chanel with the following data acquisition parameters: Scan Rate = 30000, Buffer Size = 300000, Number of Scans to Read at a time = 1000. Since each scaled sample is 4 bytes and my scan rate is 30000 scan/sec, I would expect that with an hour of acquisition my file size would be approximately 432 MB (4*108000000 samples/hr). However my data file after an hour of recording only grows to about 1.2 MB. So i am assuming that i've lost lots of data. I am not getting a "buffer overflow" error and my "scan backlog indicator" averages about 2 during the entire hour...so i am
    assuming that i am reading the data fast enough. Help

    Thanks for your response. I found the problem on my program...but it now leads to more questions. The problem was that the output from the "AI Read" (a 2-D array) was wired into the input of "Indexed Array" but instead of indexing column 0 (i needed to extract chan 0) i instead was indexing row 0. The output from the "index array" is wired into my "File Write". After making the correction, my data file is growing at the right size. Now my question is what was written to file when the row 0 was indexed instead of column 0(the data seemed to be the correct value but lots of missing data)?

  • Add PXI 6508 to existing Cont Acq to file (binary)

    I currently run LV Rt on a PXI chassis that has a PXI 6030E card installed. I have modified the example vi: "Cont acq to file (binary).vi" that NI provides as a DAQ example , to acquire 6 analog channels. I now want to append digital data to the binary stream and save to disk. I'll be reading in 50 digital lines using the PXI-6508 card.
    I'd like to know how I might add the digital data acquisition inside my existing loop, make sure that the digital lines are appended to teh analog data, and if possible, I'd like to use a digital signal coming into te PXI 6508 to trigger data acquisition (rather than jhust running at the 240S/s that i currently run).
    I have attached my existing code for the data acquisition.
    Basically this code controls the release of a sled chair in which a human subject sits. the subject initiates release of the chair by a joystick, a laser fixation point is turned on and off at various times, and data from the joystick as well as various linear acclerometers is acquired. The data acquistion loop is in frame three of the main sequence. You'll notice that i am using some of the digital lines of the PXI-6030E but want to include many more digital lines by using the 6058
    cheers
    stu
    Attachments:
    PXI_collect.vi ‏308 KB

    Hello,
    You would just need additional port configs and some port reads for the ports on the 6508 you are using. Appending this data to the end of the analog data is fine. When writing binary data, the only thing that is important about the formatting is that you read it back in the same format you wrote it. You might look at some of the digital-only examples as well as some of the analog input with start trigger examples to combine some of these concepts.
    Also, if you have more questions about this, you might try positing this question to the general data acquisition group. This sort of operation would behave the same way in Windows as it would in RT, and you would get a larger audience there for more possible responses.

  • Memory pool Code Cache increasing over time

    Hi,
    We are using JConsole to monitor some of our servers which are running JCAPS. We have a couple of JCAPS applications deployed on these servers. We are using JConsole to monitor this server and we can see that the Memory pool Code Cache seems to be increasing over time. It is around 21M at the moment and has gone up from 18M 3 days back. Is this accepted behavior? Should it not be a varying graph, going down coming back up again?
    Any help in this direction is much appreciated.
    Cheers,
    Suchitra

    This might be due to this bug raised for JDBC Client/Server connection
    Bug 12969330 : MEMORY LEAK IN JDBC CS FOR CALLABLE/PREP STATEMENT W/ NUMPARM % 4 != 0
    There is a leak in JDBC driver which seems to affect only C/S; it does not seem to affect direct or batch. ** This bug has been there since 11.2.1.6.0.
    Here are few conditions which are needed for this bug to occur:
    1. Application must be using a Client/server connection
    2. Applications repeatedly does the following:
    1. Create a PreparedStatement or CallableStatement
    2. set or register IN, OUT or IN OUT parameters
    3. Number of parameters is not an integral multiple of 4. It is the total number of parameters which matter; parameter type does not matter. JDBC driver leaks memory if the number of parameters in a PreparedStatement/CallableStatement are not an integral multiple of 4.
    3. On a close 1-3 parameters can be leaked.
    If your application deals with above scenario then there is a possible chance of the bug being hit. An example of a scenario :-
    The below PreparedStatement has 1 parameter (so it's not an integral multiple of 4):
    preparedStatement = connection.prepareStatement("SELECT col1 FROM Tab1 WHERE col2 = ? "); <===== Possible memory leak here
    To workaround the bug, you can add 3 dummy parameters -- SELECT col1 FROM Tab1WHERE col2 = ? and 1=? and 1=? and 1=? and set parameters 2,3 and 4 to 1.
    preparedStatement = connection.prepareStatement("SELECT col1 FROM Tab1WHERE col2 = ? and 1=? and 1=? and 1=? ");
    I've seen this bug a couple of times now. I don't think there is a release yet which includes a fix.

  • Acquisition time recording problem...

    Hi buddies!
    I have to do a program which permits me to get some datas from multimeter measurement. This program contains a delay time for the acquisition datas which are written both in a spreadsheet file and in a table.
    My problem? In my table and in the created excel file, i don't get the data acquisition time but just the datas (that's not so bad). In the excel file i have the Universel time linked with my computer and in my table there is a date which is
    "12/31/1903"
    so : ??????
    First, I'd like to change that and just have both a real date (not 31/12/1903 but for instance a date i can change to the current date) and the acquisition time of my program ie from the moment i decided to run it till end of acquisition i have decided either by stopping manually the programm or by the number of acquisitions. And if it were possible, having that both in my excel file and in my tablewould be perfect.
    Thank you in advance, and i hope i have been well understood lol!
    Daron
    Attachments:
    VOLTAGE MEASUREMENT & ACQUISITION RUNNING TIME.vi ‏192 KB

    Hi Jarrod and Novatron!
    First of all, thanks a lot guys for having answered me.
    I have changed my program, it runs better. Concerning the excel file i succeeded in changing some things in my loop. Now i just want to had a fisrt line in my excel file, but as soon as the program running acquires the datas, the rpogram adds the first line i want him to written just one time.
    I mean I just want in the first row, the topic of each column.
    I just want this line to be written one time, and then every datas must be written in rows, each data for each column The example explains it very well.
    Then i always get the same problem about the Universal time 12/31/1903 in my front panel and i don't know how to manage that.
    I have tried to access to the write a table sub vi but no such a parameter can be changed...
    Thanks for your help
    I'm waiting for your suggestions...
    Sincerely
    Daron
    PS : Jarrod enclosed the screenshot showing my problem concerning the time...
    Attachments:
    Wrong Date.jpg ‏131 KB
    mesure example.xls ‏9 KB
    VOLTAGE MEASUREMENTS last version.vi ‏163 KB

  • Data acquisition time of ocean optics spectrometer

    Hi, LVers,
    I has a S2000 multichannel fiber optic spectroscopy system. It includes two channels, master and slave. Additionally there is a channel labeled as 'LS-1'. I use labview and driver OOILVD32.dll to control this spectroscopy. In OOILVD32.dll, I use vi 'OOI SCAN' to acquire spectral data through master channel.
    In vi "OOI SCAN", I disable all slave channels (there are 7 slave channels) and enable master channel only. However, I find that the data acquisition time is always approximately two times of the "sampling frequency" we set. E.g. for sampling frequency of 75 ms (a small value), the spectral data acquisition time is approx. 160-170 ms; for a sample frequency of 4000 ms (a large value), the spectral data acquisition time is approx. 8300-8400 ms, so on and so forth.
    I am very confused with this phenomenon. I guess the most probable reason is that both master and slave channels are always enabled even one of them is software disabled. Because this product is discontinued, I can not find the manual. Anybody could advise me how this such a spectrometer works internally? Is there any multiplexing acquisitions inside?
    Thanks in advance.

    Hi Hello183,
    Unfortunately, I do not know how your specific device works, however, I did find the product page for this device on the Ocean Optics web site, which points to the USB4000-series Plug-and-Play Spectrometer for more details. There seems to be a operations manual for this device. Perhaps this can shine some light on how the sampling works for your device as well.
    Aaron P
    National Instruments
    Applications Engineer
    http://www.ni.com/support

  • Data acquisition time not continuous, but starting over and over again

    Hi,
    My data acquisition time is not continuous but loops over and over
    again.  Could someone please take a look at my vi to see if you
    have any thoughts on how to fix this.  Also, I tried to set up my
    vi so that I could take the mean of the signal at any time I
    choose.  However, at the same instance that the data acquistion
    time "starts over" again, the mean is calculated (before I trigger it to take the mean)
    I have attached my vi and my output file as a text file so that what
    I'm trying to say will (hopefully) make a bit more sense. 
    Thanks for your help in advance!
    Sherri
    Attachments:
    Datalog1 71805.vi ‏1252 KB

    Hi,
    Thanks for responding to my question. Attached is the vi with added
    comments as to what I think I am doing.  By DAQ time, I mean the
    first column of data that is in the data file that I attached
    previously.  I am only simulating a signal (at the beginning) so
    that I can program in my office.  I do, however, have the same
    problem as stated above when I change the simulate signal to DAQmx
    using my instrument.
    I hope this clearer.  If not, I'll try again. 
    Thanks so much!
    Sherri
    Attachments:
    Datalog1 71805 83.vi ‏1228 KB

  • How to increase the time at the end of what aaa requeries the authentication of a client web

    Hi All,
    I configure ASA aaa to authentificate our internal web client to access to internet. It's check the username/password of client in our Active Directory.
    When the client initiate the first connexion, the ASA request the login connexion and when it's correct, it authorise the access. But after 10 min for exemple, it's request again the login, and so one and so one. Approximativelly, after each ten minute, it requeste an username/password.
    I want to know how can i increase the time between two authentifcation. Or increase the time of 10 min.
    Thanks.

    The authentication timeout is configurable via the "timeout uauth" command, and you can set either absolute or inactivity timeout.
    Here is the command for your reference:
    http://www.cisco.com/en/US/docs/security/asa/asa84/command/reference/t.html#wp1569874

  • Increase ring time on I phone 5

    How do I increase the time before I can answer my iPhone 5 before it goes to voice mail.?

    thats up to your phone company, not your phone. Contact them

  • How to increase query time out

    I have a report which is generated using a huge SQL, it is erroring while displaying results, due to time out error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1013, message: ORA-01013: user requested cancel of current operation at OCI call OCIStmtExecute
    How to increase this time so that the connection persists for a longer duration?
    thanks
    Rishabh

    I looked in the NQSConfig.ini file for you. In here you find the following:
    [ CACHE ]
    ENABLE     =     YES;
    // A comma separated list of <directory maxSize> pair(s)
    // e.g. DATA_STORAGE_PATHS = "d:\OracleBIData\nQSCache" 500 MB;
    DATA_STORAGE_PATHS     =     "/oracle/oaobi01/data/ontwbif1013/OracleBIdata/cache" 500 MB;
    MAX_ROWS_PER_CACHE_ENTRY = 100000; // 0 is unlimited size
    MAX_CACHE_ENTRY_SIZE = 1 MB;
    MAX_CACHE_ENTRIES = 1000;
    I think you can do something with this...
    You can find the nqsconfig.ini in this directory:<Install Drive>\OracleBI\server\Config
    Otherwise have a look in the Server Administration Guide, chapter 11

  • Sql memory usage increase each time win app runs

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    I restart SQL Server 2012. Only my win app uses SQL server.
    First run of winapp.
    start memory usage : 211.800 KB
    close memory usage: 528.136 KB
    Second run of xaf app.
    start memory usage : 528.136 KB
    close memory usage: 996.844 KB
    Third run of xaf app
    start memory usage : 996.844 KB
    close memory usage: 997.640 KB
    Fourth run of xaf app
    start memory usage : 997.640 KB
    close memory usage: 1.104.864 KB

    Hi,
    Sql memory usage increases each time when win app runs. Why does it work like this? Is it normal ?
    Yes, it is perfectly normal for SQL Server to acquire and hold onto large amounts of memory indefinitely.  This memory improves performance by avoiding disk I/O, query plan compilation and costly memory management. 
    On a dedicated SQL Server you should usually let SQL Server dynamically manage memory.  It will release memory if it detects memory pressure.  But if you often run other applications on the server than need significant amounts of memory (e.g. IIS,
    application services), you may want to set max server memory as suggested.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

Maybe you are looking for

  • Its Urgent   How 2  Customized the Layout set LE_SHP_DELNOTE

    Hello Experts, as 'm new for smartform development will anyone  suggest me how  to customize smartform such as SAP defined form LE_SHP_DELNOTE in Delivery note. as it's SAP defined form so how can one customize it .. plz Help me its too urgent for me

  • Mac OS 10.5.6 Installer Disc Utility

    Can anyone show me how to get to the Utility menu on a fresh Install of Mac 10.5.6 using the Installer disc? I need to create a RAID volume before I install the OS onto my new Mac Pro. On the RAID Utility User Manual, it said once we started with the

  • Standard Swing Icons

    Hi, I'm doing a sort of a progress dialog showing the phases progress to the user. Are there any standard icons/images in Swing? in particular, I'm looking for images that show: "Done" - might be something like a checked CheckBox "Error" - Something

  • CR2_original and JPG_original files

    What are CR2_original and JPG_original files?  What programs create them and/or read them?  Seem to have no use at all.  Tie up massive amounts disk space.  Any easy way of deleting them?

  • Fuser file name is slow

    We are using OEL 4.6 as oracle DB server. When using fuser <file name>, it takes long time (from 1 to 3 minutes): [root@oracledb2 ~]# time fuser install.log real 1m0.936s user 0m1.172s sys 0m59.272s [root@oracledb2 ~]# A quick look of the server: top