LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

task out with a shift register using ULx

Solved!
Go to solution

This post below describes my same problem of passing a task through a case structure but they are using the DAQmx Library and it has a CreateTask.vi which the ULx Library doesn't have.

 

http://forums.ni.com/t5/LabVIEW/passing-DAQmx-task-out-through-a-shift-register/td-p/410447

 

Any suggestions as to how to get my task out through the shift register?

 

Thanks

-CC

0 Kudos
Message 1 of 5
(2,324 Views)
Solution
Accepted by topic author ccole

I have never had a problem getting ULx task out of shift register.

This is an action engine that I use to store the ULx tasks ref to use later in the code.

 

ULx Ref Out.png

Omar
0 Kudos
Message 2 of 5
(2,317 Views)

Thanks Omar,

 

May I ask what code you have in the False case? This is where my problem lies as I am getting an "empty I/O task" error.

 

0 Kudos
Message 3 of 5
(2,309 Views)

It just passes the stored task ref through to be used by other VI to control the IO lines defined in the task.

 

It only creates a new task once when the program runs and the VI is called for the first time. The ref is not a valid ref.

Or the reset Boolean is true.

 

Have you used un-initialized shift registers before?

 

Post a copy of what you have tried before.

Omar
0 Kudos
Message 4 of 5
(2,306 Views)

It's just an initialization problem then, nothing technical.

 

I should be good.  Thanks for your help.

 

0 Kudos
Message 5 of 5
(2,302 Views)