LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Activating a switch in a slave loop to active a send button in another while loop

Hello:

 

I am using a master loop with a slave loop to perform a sequence test. I added a Can Bus it runs outside the slave loop I can send commands out through the can bus as long the slave loop is not running the sequences. How can I send commads through the can bus while the slave loop runs, I try using variables and network variables.

0 Kudos
Message 1 of 4
(2,459 Views)

@Toro wrote:

I am using a master loop with a slave loop to perform a sequence test. I added a Can Bus it runs outside the slave loop I can send commands out through the can bus as long the slave loop is not running the sequences. How can I send commads through the can bus while the slave loop runs, I try using variables and network variables.


Your description is not making much sense:

--> Why you added CAN bus outside the Slave loop, is it inside another (slave) loop???

--> What are sequences, is it a Sequence Structure or a sequence data or something else???

--> Can you share the code???


I am not allergic to Kudos, in fact I love Kudos.

 Make your LabVIEW experience more CONVENIENT.


0 Kudos
Message 2 of 4
(2,438 Views)

Hello:

 

I have attach some pictures hopefully it help to explain my self.

I added the Can Bus out side the slave loop so it can run continuously, if I place it inside the slave loop it only runs once, it needs to run continuously so to talks back and fort with the control getting or sending commands.

My file is to large our network does not allow large files to be send

Download All
0 Kudos
Message 3 of 4
(2,418 Views)

Hi:

 

Thanks for your interest but I found a solution. I try using a global variable and it worked, I can now send commands thru the can bus from any parts of my program.

 

Thanks

0 Kudos
Message 4 of 4
(2,388 Views)