NI Home
Cart Cart | Help
Hello Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
IYED
Posts: 29
0 Kudos
Accepted Solution

how to configure multi channels analogue inputs in one task

Hello i want to acquire two signales from two channels (input 1 analog acceleration ; input 2 analog voltage) without using of DAQmx assistant because I have to use standard vi I use NI usb 9234 any suggestion please I tried with one chanel and i have got good result but when i try two channels aquisation I have got errors please hep me

Member
JaredRo
Posts: 108

Re: how to configure multi channels analogue inputs in one task

Hi IYED,

 

What errors are you getting when you run your code? Is it Error -50103?  As long as your acceleration and your voltage task are using the same timing parameters, you can combine both channels into a single task.  This should resolve the error you're receiving.  The article below has an image that shows the setup that I'm describing:

Using Different Types of DAQmx Global Channels in the Same Task
http://digital.ni.com/public.nsf/allkb/3296BA2AEF586B7386256D6D00528E3D?OpenDocument

 

Jared R.
Precision DC Product Support Engineer
National Instruments
Member
IYED
Posts: 29
0 Kudos

Re: how to configure multi channels analogue inputs in one task

thank you very much

By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2011 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page