The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: high speed synchronized data acquisition, session based
Replies: 6   Last Post: Jul 30, 2013 7:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Eric Keller

Posts: 27
Registered: 12/9/10
Re: high speed synchronized data acquisition, session based
Posted: Jul 29, 2013 4:19 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"Adam Yannopoulos" <> wrote in message <kt6bn1$99b$>...
> Hi Eric,
> Without knowing anything further, it sounds as though you've not set the
> session rate (you can set the 'Rate' property to lie within the limits
> described by the 'RateLimit' property).

Sorry, I didn't notice anyone had responded to this topic.

Apparently I wasn't emphatic enough in saying that I had determined the problem to be the session rate, which fixed my problem. Here is my (working) code:
channels = session.addAnalogInputChannel(dev,chanlist,'Voltage');
session.IsContinuous = true;
session.Rate = session.RateLimit(2);
setting the session.Rate to the rate limit might not be the best choice, best to consult the device documentation. RateLimit changes depending on the number of input channels

I assume this is a problem for any acquisition with an external clock or trigger
I put in a service request against the docs, which do not mention that session.Rate has this effect.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.