From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

generating multiple signals from daq card

i am using NI DAQ card 9264

I wish to generate  a constant signal on ao2, PWM pulse on ao3.

Now, 

If I try to add the two signals as an input to daq assistant, it shows error

If i create two instances of the daq card and and add one signal to each, it shows an error

Is it even possible to do what i intend to do?

if yes, how?

0 Kudos
Message 1 of 9
(3,908 Views)

Of course you can.

See attached VI.

0 Kudos
Message 2 of 9
(3,880 Views)

I'm working in version 2010, your file isn't compatible with the version i am using..

could you convert it to an earlier version please?

0 Kudos
Message 3 of 9
(3,867 Views)

V10 file attached ....

0 Kudos
Message 4 of 9
(3,856 Views)

Did you not use DAQ assistant ?

could you send me screenshot of the block diagram?

 

0 Kudos
Message 5 of 9
(3,828 Views)

Hi Bgmnt,

 

Did you not use DAQ assistant ?

No.

Why should we?

(I already told you to get rid of (most) ExpressVIs!)

 

could you send me screenshot of the block diagram?

You already got the VI. What else do you need?

 

Did you check the free online resources to learn LabVIEW as I told you in your other thread?

Did you already find this interesting article by NI?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 9
(3,821 Views)

How to generate to outputs simultaneously using DAQ 9264 card using DAQ assistant.

Here is my VI.Capture1.PNG

 When i run this I get an error saying source is reserved.

Kindly help using DAQ assistant.

DAQ assistant 2 and 3 use the same NI card but point to different channels

 

0 Kudos
Message 7 of 9
(3,808 Views)

Nothing to add to GerdW said...

I gave you the solution, you just have to fill in what you need.

How could you have those VIExpress everywhere... without error management... Do you understand dataflow ?

I suggest you to do NI courses.


BR,

Vincent

0 Kudos
Message 8 of 9
(3,801 Views)

Hi Bgmnt,

 

Kindly help using DAQ assistant.

No, why should we?

All the DAQmx example VIs explain how to use plain DAQmx functions. You already got an example using plain DAQmx functions. I gave you a link explaining the plain DAQmx functions.

Using ExpressVIs as massively as you do right now will not assist you in the future…

 

When i run this I get an error saying source is reserved

DAQ assistant 2 and 3 use the same NI card but point to different channels

Did you ever think about the relation between those two sentences?

 

Well, could there be a relation between using two DAQAssistants working on the very same hardware and that error message?

Think about it!

 

If you want to stick with ExpressVIs: Read the LabVIEW help on how to configure them… (As written above I recommend to use plain DAQmx functions!)

 

And next time PLEASE use the AutoCleanup tool!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 9 of 9
(3,792 Views)