LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Perform two operations in parallel

Hello,
I've got the following problem:
I have a product working with the CAN-bus and a laptop with a Softing EDICCard2 and LabView 7.1 running.
The communication between the written LabView-program and the external CAN-device is working fine.
Now I need to create a sync-message for the external device.
The sync message has to be sent every 10ms and it includes a message-counter and a CRC-checksum.
The responses to this sync-message are 3 different messages with different identifiers.
I have written a programm that sends the sync-message and a program that always reads the CAN-messages in fifo-mode.
Both of them running in different LabView-instances.
Now I want to create a single program that performs this operation.
The sync-message has to be sent even if the data processing of the 3 CAN-messages has not been finished.

How can I manage this?

Thanks
Ralf
0 Kudos
Message 1 of 2
(2,484 Views)
I may be missing something here but it sounds like you could just create a new VI, draw two while loops, drop your two VI into the loops and you're done.  You could set the VI properties>Execution Priority higher for the time critical timing VI or use LV7.1 timed loops to ensure higher timing priorities for the sync messages.
LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 2
(2,449 Views)