Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

Using I/O-Nodes inside and outside of Timed Loops

Hi,

a crucial part of my application is to transmit data with an protocol similiar to my led-driver/shiftregister-combi (TLC5940).
I implemented the way you can see in the attached picture. When I try to compile it I get an error-message telling me that I can't put the same
I/O inside and outside of a single-cycle-timed loop. Which would make sense to me if I hadn't  put them in different cases.
Anyway is there a handy programming trick to avoid this kind of problem?
Unfortunately I wasn't able to find a solution on the Internet. Probably I am just using the wrong word combinations.

Greeting,
Lukas

Download All
0 Kudos
Message 1 of 2
(5,338 Views)

You are quite right you are not allowed to use it in both places.

I think it might be because you use the same function in different ways, and therefore you would have to compile it twice. That is not possible because the resource is reserved already.

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