How to set the timeout of read when using channelReader.ReadWaveform?

I'm using a USB-6210/a. data acquisition, and it works fine until I have to take a longer than 10 s waveform.

When I take a longer than wave form, I get the error 200284, "some or all of the requested samples are not yet acquired.  To wait for the samples become available use longer read timeout... »

No problem, I thought, I'll just put a longer period.  I searched through the documentation, and the timeout only I found was the watchdog timeout.  When I wanted a longer value, I get code 200452 State - specific property is not supported by the device or is not applicable to the task.

I use the code in the example AcqVoltageSamples_IntClk.2008 .net with c# in Visual Studio 2008, .net 3.5 sp1.

How to set the timeout so that ReadWaveform() is not the time?

Here is the code:

privateAnalogMultiChannelReaderchannelReader;

privateAnalogWaveform awf;

publicList GetWaveForm()

{

Try

{

Task getWaveform = newTask();

getWaveform.AIChannels.CreateVoltageChannel (Channel,"", TerminalConfiguration, RangeMinimum,

RangeMaximum, AIVoltageUnits.Volts);

getWaveform.Timing.ConfigureSampleClock ("", SampleRate, SampleClockActiveEdge.Rising,)

SampleQuantityMode.FiniteSamples, NumSamples);

getWaveform.Control (TaskAction.Verify);

channelReader = new AnalogMultiChannelReader (getWaveform.Stream);

AnalogWaveformdata = channelReader.ReadWaveform (NumSamples);

AWF = data [0];

samples As new List();

for (inti = 0; i)

returnsamples;

}

catch (DaqExceptionexception)

{

MessageBox.Show (exception. (Message);

}

List of l = newList();

return l;

}

Thank you

Curt

Hi Curt,.

Here is a Knowledge Base that can help you to set the timeout setting in your code:

The property using Timeout of DAQmx task in Visual Studio

Tags: NI Software

Similar Questions

  • How to set the timeout property Web Service partner link in the new version of the SOA Suite, it is missing

    Hello

    I have a use case in which I'll call synchronous external Web Service and the form of this service, I get the answer after 80 seconds.

    I know that this console form EM soa-infra-> SOA Administration-> BPEL proprieties-> under 'more BPEL Configuration Properties..' in SyncMaxWaitTime can I change the default 45 second in 80 seconds, but it will apply to all synchronous services in this area, and I want only the value appeal of Web Service of particular external reference (link partner).

    For the limit of timeout for the particular web service (partner of external reference link):

    I saw a post at < http://www.mandsconsulting.com/asynchronous-vs-synchronous-bpel-processes > in which there is an option in 'Link partner Edit' form property tab dialog box, we can add "timeout" property but in SOA Suite11.1.1.7 I am not able to find this property form the list.

    on this post < http://abhishek-soablog.blogspot.in/2010/06/timeout-for-partnerlink.html > is also described the same way, but it's just the source code of the highest way of GUI to set the timeout property and it does not work with a new version.

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    Thank you

    Can someone please tell me in a new version (11.1.1.7) of SOA suite, which is how to set the timeout for the particular web service (partner of external reference link).

    VR;

    Click em-> composite-> Services and references-> select need to reference and click on-> properties: 'HTTP Timeout of read' and 'HTTP timeout.

    developing composites:

    Click on a reference-> property inspector-> link properties-> plu green and add oracle.webservices.httpConnTimeout with the necessary value and oracle.webservices.httpReadTimeout with the necessary value

    for the same domain defined: oracle.webservices.local.optimization = false

    You can watch

    Administration of Web Services - 11g Release 1 (11.1.1.7)

    How to set a timeout for a Web Service in SOA 11 g (Doc ID 979683.1)

    SOA 11 g: political malpractice not to intercept 'service Endpoint unreachable' error (Doc ID 1503989.1)

  • BlackBerry smartphone how to set the Auto Mode bedside when loading?

    Hi guys,.

    As the topic. How to set the Auto Mode bedside when loading? Because this option, it does not exist in the clock menu options and I think that it was there before I did the upgrade.

    Thanks in advance

    9000 "BOLD"

    Worm: 9000M_PBr4.6.0_rel508_PL4.0.0.243_A4.6.0.297_AT_amp_T

    CTS network provider

    solved thanks to you all,.

  • How to set the size of default when page scan document in

    How you set the default page size in the analysis in the document

    I found the answer in the Acrobat/kb/scanning-letter-size-documents-results-in-legal-PDF

    It's in PDF format by Scanner > Scan button click Options customized to the right of the name of the scanner.

    From here he choose Show the Scanner's Native Interface.   Then choose the correct page size

    which is shaded on so I couldn't choose.  It worked in all cases.

    I have Acrobat XI and Photosmart HP 7520.   Thanks for the replies.

  • How to set the rendering = true only when the variable = Y? #ADF

    Hi all

    I'm developing a simple ADF jspx to contain the data in the table and a few questions. One of my requirements is to make a real group of Panel if a variable dispGroup is set to Y.

    I tried to use this EL: rendered = "#{bindings.dispGroup.inputValue?" 'Y' : 'N'}" .

    I would understand if this the correct way to approach it. Is there a better solution. I am open to any suggestions or best practices.

    JDev Version: 11.1.1.4

    Concerning
    JB.

    "#{bindings.dispGroup.inputValue == 'Y'? 'real': 'false'} '.

  • How to stop the generation FND_USER.customer_id when using LDAPUserImport

    When a user is created in the form of 'set the user' R12.1.3, no customer_id is created in the fnd_user table.

    When a user is created using LDAPUserImport (from a ldfiwrite against OID), the customer_id is filled.

    How to stop the generation customer_id when you import users in R12?

    I tried to disable all these events business (except the last 2), but not of joy:

    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustAccount.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustAccountRole.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustAcctRelate.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustAcctSite.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustAcctSiteUse.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustProfileAmt.create
    People with DISABILITIES Oracle Trading Community oracle.apps.ar.hz.CustomerProfile.create
    ACTIVE Trading of Oracle community oracle.apps.ar.hz.OrgCustBO.create
    ACTIVE Trading of Oracle community oracle.apps.ar.hz.PersonCustBO.create


    (For OrgCustBO.create and PersonCustBO.create, the status field is fixed... cannot change)

    All advice appreciated.

    Thank you

    Hello

    Pdf linked in document 261914.1 utility MOS LDAPUserImport has a parameter named - tcaRecord
    which takes either y or N as parameter (is default).
    I guess that if you fill in this parameter with N, no record CAW (customer) will be created...

    Concerning

  • M-30 series: how to set the fast CD keys in use?

    Hi people, I have formatted the hard drive of M - 30 my friend. Everything is very good, except that I can't put the buttons for fast CD use in function (front left). Are there missing drivers?

    Hello

    you installed the Toshiba software utility CD & tools or have you downloaded these files of Toshiba home page?

    AFAIK you need Toshiba, Toshiba easy keys and Toshiba console controls.

    If you have problems again!

    Rudi Bye

  • How to set the timeout for the INITIAL LOAD EXTRACTED?

    Hi all

    GG 11.2 SQLserver2008

    I extract a single large table size of 20 G., but it seems I hit the limit of timeout? Or another resource limit? Or I do not know if.

    Here is my error:

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:43:36 INFO OGG - 01085 Oracle GoldenGate for Oracle Collector: the server received window closed event.

    2013-06-22 15:43:36 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 15:59:38 INFO OGG - 00963 Oracle GoldenGate for Oracle, Manager MGR.prm: command received from EXTRACT on host DTC - PC.domain (START SERVER CPU-1 PRI-1 TIMEOUT 300 PARAMS).

    2013-06-22 15:59:39 INFO OGG - 01677 Oracle GoldenGate for Oracle Collector: pending (dynamically assigned) connection.

    2013-06-22 15:59:39 INFO OGG - 00963 Oracle GoldenGate for Oracle, Manager MGR.prm: command received from host DTCKalayaan-PC (REPORT 1280 7819) SERVER.

    2013-06-22 15:59:39 INFO OGG - 00974 Oracle GoldenGate Manager for Oracle, MGR.prm: Manager started the collector process (Port 7819).

    2013-06-22 15:59:39 INFO OGG - 01228 Oracle GoldenGate for Oracle Collector: Timeout 300 seconds.

    2013-06-22 15:59:44 OGG - 01229 Oracle GoldenGate for Oracle Collector INFO: connected to DTC - PC.domain:56507.

    2013-06-22 15:59:44 OGG - 01669 Oracle GoldenGate for Oracle Collector INFO: opening d:\GGora\dirdat\ex (byte 0, EOF current 0).

    2013-06-22 16:06:33 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 0 (operation ends with success.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error 87 (the parameter is incorrect.) get position in d:\GGora\dirdat\ex.

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:08 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    2013-06-22 16:12:09 OGG - 01223 Oracle GoldenGate for Oracle Collector WARNING: error getting file for d:\GGora\dirdat\ex position (87, the parameter is incorrect.).

    Where should I put the limit?

    Thank you

    zxy

    Sorry, misread the part 'server' in what you use. Data Pump is Oracle, MSSQL not. But, you can do a dump of csv data, and then use SQL * Loader. Alternatively, use the CSV (one for each table, a bit heavier) files in the form of external tables.

    4 GB is worth considering:

    The EXTFILE parameter to specify a file extracted, which is a local file that will be read by

    a group of extract from pump data on the local system, or to specify a replicate file extracted local

    bed when SPECIALRUN is used. The size of an extracted file must not exceed 2GB.

  • How to set the default English indesign when creating text

    How can I configure indesign, when you create a default text for English

    You can set default values by first closing all open documents, and then change what you need in the control panel section, the character Panel, styles to paragraph, character, object, table, color chart, stroke and many more.

    This affects defaults to application , not those already in your document, so new documents will be created with the settings but old documents will remain the same.

    If you must change the default values for an existing document, make sure that nothing is selected and change the settings in one of the panels.

  • How to set the timer to countdown when you look at the media?

    original title: timer (7) on Media Player

    someone deleted this post... two totatly separate issues...

    Here it is again.

    When Im looking at something in media player, the timer goes upward. (totally unnecessary)

    Whats going up?

    I have every time next to the timer to show what that account to a click Timer.

    Is there a way to keep the time of the end of the video, like to count down to?

    And or is there a way to keep the meter countdown to 0?

    Hello

    Thanks for posting your query in Microsoft Community.

    From the information you have provided, I understand that you want to change the time settings in Windows Media Player.

    Unfortunately, there is no option to change the settings for time to count backwards in Windows Media Player.

    Using the windows-related issues feel free to post on the Microsoft Community Forum.

  • How to hide the command prompt window when using exec system

    Hello, I use the exec system VI to do some transfers of files for a LabVIEW application.  I'm afraid that the black white scroll text command prompt window that appears when exec system is called might scare users this LabVIEW application non-tech savy.  Is there a way to hide the command prompt window?

    Feed a REAL running reduced entry.

    Mike...

  • How to choose the pages to print when using hp eprint

    When you use HP ePrint on my Ipad, to print on my printer wireless HP Photosmart C4580, I can choose a range of pages to print?  It doesn't seem to be an option for this.

    Of course, have only the pages you want to print all together up in the attachment.  Now send it to your printer and only will show them.

  • How to set the cursor to TextField type uses

    Hello, hope someone can help. I am importing HTML into a TextField called "webText_htm". I also called CSS and it strives to the text style. Player 8 and ActionScript 2

    When I mouseover TextField, the cursor changes to I the bar.
    Second problem is that < a href = "" > the hand cursor not report and does nothing when I click on it.

    Thanks in advance
    Greg



    Eureka! The source of the problem was that if you call createTextField, I don't have to also have another instance of the TextField object on its own layer.

    Maybe this will help someone else.

    Shrinktight

  • How to set the partition active windows 7 using the command line

    I activated the system recovery partition, so the windows partition is disabled and I can't start Windows

    Partition Wizard Home Edition:
    (There is also a CD bootable version, this allows to change the partition 'Active')
    http://www.partitionwizard.com/free-partition-manager.html
    Some of the features and functions include: resize and move partitions, Partition recovery after an accidental deletion, Create partition, Delete partition, format partition, convert partition, partition Explore, Hide partition, change the drive letter, the active value partition.
    Note: To complete any task use the "Pending Operations" box at the bottom left.

    JS
    http://www.PAGESTART.com

    Never be afraid to ask. This forum has some of the best people in the world to help.

  • Set the amplitude of mike when recording directly in hearing CC?

    I can't figure out how to set the amplitude of mike when recording directly in hearing CC.


    When I load hearing I have click on the waveform and create a file.


    I can then click on the Red record button and start recording, but the amplitude is very small.


    I know I can fix it in post editing but how to adjust the amplitude record raw?


    Well, I looked at the manual. If I try to use a microphone with this mobo, I'd be very inclined to mount the system audio front panel, as it seems to have an understanding of slightly different mic that work peut better (although I think that you must run the configuration utility to configure). The details of this are on page 30 of the manual. For starters, it seems that he might in fact be two mic channels, which probably means that they took little seriously, a little more than usual.

    I still think that the preamp is better, but I won't get it a chance to consider the issue until tomorrow.

Maybe you are looking for