LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user event priority labview 8.5

Hi,

 

I see that in Labview 2013, there is a "priority" wire in the create user event block. I need this functionality to make sure RS232 messages we receive are processed as highest priority but the "priority" wire does not exist in Labview 8.5. Is there a way to implement that or another function that does the same?

0 Kudos
Message 1 of 7
(3,891 Views)

Hi DT,

 

use your own QSM (queue driven state machine) that only handles your RS232 messages…

 

Or upgrade to >=LV2013: event priorities are only available starting with LabVIEW2013!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(3,883 Views)
My inclination would be to create a separate process to handle the serial interface. Remember, priority is only one aspect of the problem. Say you upgrade and give your serial event a high priority, now you have to worry about whether it is going to be blocking other things that need to happen.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 3 of 7
(3,869 Views)

Agreed, something else could be blocked but what if we don't mind blocking the other events as the message coming in is part of a real-time system and we need it processed as soon as possible?

0 Kudos
Message 4 of 7
(3,848 Views)
Again, a separate process would be the most reliable.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 5 of 7
(3,843 Views)

Hi all,

 

Is the user event queue somehow accessible? I could then just have the event generated sneak itself in front of the queue using the enqueue at opposite end

0 Kudos
Message 6 of 7
(3,699 Views)

Hi Dt,

 

not with LV8.5…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 7
(3,678 Views)