LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shift register

Hello Benio,

again (as said before): you have a race condition in your LPT.vi!!!

Use wires instead of locals (whenever possible) !!!
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 17
(1,294 Views)
Gerd,
What do you mean by race condition?is there any impact to my vi functionality?
0 Kudos
Message 12 of 17
(1,289 Views)
Hello Benio,

the race condition is in the structure building your "appended array" and it is not (at the moment) affecting your functionality. But it may if you redraw/extend this vi... And it's better (IMHO) to have clean code from the beginning than to clean it up later on.

And you use locals where you don't need to: to get the DATA and CTRL values for the "write to spreadsheet" you can use wires! Just connect with the terminals above...

Another possible kind of race condition: Maybe you need a certain order in your in/out-port communication? At the moment those subVi's will be executed without any order. Example: the outport writing the CTRL-value and the corresponding inport reading Ctrl-LPT have no order. Is this ok or could there be the source of problems?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 17
(1,133 Views)
Hello Benio,

forgot to mention:
if you index consecutive elements of an array, you only have to wire the first index of "Index array". So you may delete the constants 4 to 7, leaving only the 3.
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 17
(1,129 Views)
I need to monitor as well the LPT status line because I am using them as an input(output from my ASIC), so it is better to keep them.
you were right in case I don't need to control them.
0 Kudos
Message 15 of 17
(1,120 Views)
Sorry, my computer is going screwy. I apologize for the false posts.

Message Edited by Novatron on 06-24-2005 12:49 PM

0 Kudos
Message 16 of 17
(1,101 Views)
Number two that's screwy

Message Edited by Novatron on 06-24-2005 12:49 PM

0 Kudos
Message 17 of 17
(1,100 Views)