LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simultaneous signal generation on two cores in OMNIBUS II

I am using your OMNIBUS II device to generate information signals over MIL-STD-1553 channels in the LabVIEW development environment.
But I faced such a problem that I cannot generate signals on both cores (A and B) at the same time.
The project structure is as follows:
There are two Event Structures to which an external signal comes from one source. After the signal arrives, Timed Sequences are triggered in each Event Strucrure with the same timings. In theory, the waveform of the signals should show that they are triggered at the same time, but in practice it turns out as shown in the figure below:image.png
As you can see from the figure, the signals are generated one after another, and not simultaneously.
Also I tried to create one Event Structure that has two Timed Sequences, but the result is the same.
This is how the Time Sequence looks like for each of the cores (only the value in the red circle changes):
image (1).png
So my question is, could you tell me how to fix this problem?
0 Kudos
Message 1 of 6
(1,256 Views)

What are the prorperities set for your subVIs? Are they reentrant? If not, that could be your issue since only one copy will be able to run at a time and it will cause your loops to become synchronized. Also, it is much better if you post the code rather than a picture of it.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 2 of 6
(1,227 Views)

Checked out - really didn't expose SubVI's as reentrant. But after I installed it, nothing changed (
I also tried to use separately two subVIs per generation for each of the channels, it also did not help
I am attaching a project. Signal generation is along the path:

labview-experiments\MAN\RTMAN

0 Kudos
Message 3 of 6
(1,141 Views)

Please repost your project using zip.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 4 of 6
(1,124 Views)

In .zip format, the project turns out to be a little over 10 mb, so I split it into two. Please put the contents of the "Man" archive into "labview-experiments"

Holdface1235_0-1623682602906.png

 

Download All
0 Kudos
Message 5 of 6
(1,113 Views)

Wow, that code is a mess and very difficult to follow. However, I believe that you issue is that your subVI "BC Transmit Dynamic" is not re-entrant so when ever you are calling it in parallel only one instance is allowed to run at a time and therefore you effectively execute them sequentially.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 6 of 6
(1,105 Views)