ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daqmx Write

Hi all i have little problem with daqmx write block. I have a NI PCI 6229 and i need to write Multiple Sample and single in the same loop. What is the best way to do this? 

 

0 Kudos
Message 1 of 8
(3,615 Views)

i need to write on analog out port..


Loopin3 ha scritto:

Hi all i have little problem with daqmx write block. I have a NI PCI 6229 and i need to write Multiple Sample and single in the same loop. What is the best way to do this? 

 


 

0 Kudos
Message 2 of 8
(3,612 Views)

I still don't really understand what you are after.  Are you trying to write to two different AO tasks?



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 8
(3,590 Views)

Hi,

do you need to generate a waveform and a DC voltage on multiple AO channels at the same time? If this is correct, you can refer to this example.

I fope this helps!

Bye,

 

Licia

0 Kudos
Message 4 of 8
(3,569 Views)

I need to write on one analog output.. I would like to write a Simple Sample or Multisample in the same loop..

 

0 Kudos
Message 5 of 8
(3,567 Views)

So, you want to write to the same AO channel either a DC voltage or a multiple sample waveform based on some condition?

Bye,

 

Licia

0 Kudos
Message 6 of 8
(3,563 Views)

Use a case structure...

Best regards,
GerdW


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

That sounds like two simple DAQmx Writes using the same task.  Depending on your architecture, a simple case structure should suffice.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 8 of 8
(3,547 Views)