LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Blackfin Multi-Threaded Applications with Events

Has anyone else seen this discrepancy with the BF548?  I can write code that uses a single while loop and an event structure, and the code performs as expected.  When I add a second loop to the code (i.e. similar to the producer/consumer architecture), the event loop stops being event driven and just runs all the time.

 

I have attached the VI that is performing discrepantly  I have tried timed while loops, and normal while loops as well as shared variables and globals for stop communications between the two loops.

Download All
0 Kudos
Message 1 of 15
(4,144 Views)
He opened the same topic in LabVIEW Embedded Board
0 Kudos
Message 2 of 15
(4,131 Views)

Hi JoeC,

 

I have tested this with another applications engineer, and we are not even able to run a VI on our BlacKFin when it has an event structure in it. We have escalated this to R&D. One question: what version of LabVIEW are you running?


Regards,

 

Claire

Regards,
Claire Reid
National Instruments
0 Kudos
Message 3 of 15
(4,104 Views)
LV 2009.  Also, I can email you my project with build spec.  I don't want to post the project file in the forum as it contains IP address information.
0 Kudos
Message 4 of 15
(4,082 Views)

Hi JoeC,

 

Can you send me the code that you tested that showed the behavior you were expecting...with the one loop. We were not even able to get that to work the way you were hoping.

 

Regards,

 

Claire

Regards,
Claire Reid
National Instruments
0 Kudos
Message 5 of 15
(4,061 Views)

Hi JoeC,

 

If you still wish to troubleshoot this issue please provide us with the VI that shows the behavior you are wanting.

 

Thanks

 

Claire

Regards,
Claire Reid
National Instruments
0 Kudos
Message 6 of 15
(4,029 Views)

I apologize for the delay.  Here is a code snipet along with the compiled code.BF548 Event Snipet.png

0 Kudos
Message 7 of 15
(3,968 Views)

Hi Joe,

 

I was able to reproduce the issue you have described. We're currently investigating it further.

Will
CLA, CLED, CTD, CPI
LabVIEW Champion
Choose Movement Consulting
choose-mc.com
0 Kudos
Message 8 of 15
(3,949 Views)

Hi Joe,

 

I am having some issues with our BlackFin. Once I am able to create a good and bad test for R&D I will escalate to them.

 

Thanks

 

Claire

Regards,
Claire Reid
National Instruments
0 Kudos
Message 9 of 15
(3,907 Views)

Hey JoeC:

 

I have narrowed it down to the following:

1. Run on BF 548: With while loop: loop interation changes only when toggle
is pressed

Loop Interation Increase on Toggle.png

 

2. Run on BF 548: With timed loop: loop interation continuously increases

Loop Interation Cont Increase.png

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I will escalate this to R&D


Regards

 

Claire

Regards,
Claire Reid
National Instruments
0 Kudos
Message 10 of 15
(3,893 Views)