Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Why does making my AO Create a subVI not work?

Solved!
Go to solution

I have a PCI-6251. I make a simple DAQmx write sequence using a Create Task, Create Channel, Write, and Clear. It works fine.

 

When I copy/paste the Create Task, Create Channel blocks and make them a subVI with the proper connectors and all, it does not work. Is there some VI Property I need to change or set on the subVI?

Download All
0 Kudos
Message 1 of 4
(3,077 Views)
Solution
Accepted by topic author lindope

Sorry, the output_test.vi should have a different Task and Channel Name than appear in my attachments so as not to be the same as the subVI.

 

I just set the VI Properties for the subVI by unchecking the Reentrant execution and it seems to work everytime now.

 

Did I just solve my own problem?

0 Kudos
Message 2 of 4
(3,069 Views)

Hi lindope-

 

     As long as everything is up and running dependably, yes, you did solve your own problem!

 

     Did you accept your own solution?  Smiley Very Happy

 

Regards,

Gary P.
Applications Engineer
National Instruments
0 Kudos
Message 3 of 4
(3,045 Views)
Too bad I can't give myself Kudos.
0 Kudos
Message 4 of 4
(3,032 Views)