Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

simultaneous analog input output in matlab?

  • 10-03-2003 2:37pm
    #1
    Registered Users, Registered Users 2 Posts: 30


    Alright fellas,
    its been a while since I've been here but I always got good answers, and I'm stuck again.

    i'm doing a project using matlab and sonar sensors.
    i can, seperately, output to the sensors and read an input from them; heres the problem. when I try to do this (write output and read input) in the same program ie. simultaneously I am getting DMA errors:

    NI-DAQ: No DMA channel is available for use.

    or

    Bad value for analoginput property: 'TransferMode'.

    've tried:

    set(ai, 'TransferMode', 'SingleDMA');
    set(ao, 'TransferMode', 'SingleDMA');

    and

    set([ai ao], 'TransferMode', 'DualDMA');

    and

    set(ai, 'TransferMode', 'DualDMA');
    set(ao, 'TransferMode', 'DualDMA');

    I need them to work simultaneously.
    if anyone knows anythimg about this stuff I would really apreciate the help, i'm prob not explaining it very clearly but does any one even recognises this stuff???

    Sound,
    Tele


Comments

  • Registered Users, Registered Users 2 Posts: 30 tele


    I got a kind of an answer for this in case anyone is having the same problem. have to use interupts.
    god matlab sucs


  • Closed Accounts Posts: 14,483 ✭✭✭✭daveirl


    This post has been deleted.


  • Registered Users, Registered Users 2 Posts: 30 tele


    Ya i know matlab doesnt suck, its pretty good to do just about everything


Advertisement