06-02-2017 09:13 AM
Hi,
I created a LABVIEW vi from LABVIEW 15.0 in windows 10 OS.With windows 10 on other tablets and laptops no issue.But when i use the same code or .exe of the code in windows 7 laptops with LABVIEW 15.0 its giving issue .the sequence at which different loops is varying between windows10 and windows 7.Can anyone tell me that is it originally because of the way i have written the code or with the LABVIEW itself for different OS'es?
06-02-2017 10:00 AM
We need to see your code.
LabVIEW relies on dataflow for execution ordering, so you if your code has race condtions (e.g. due to overuse of local variables, or generally poor code architecture), the execution order can change randomly or based on other changes (e.g. the number of CPU cores, where a higher number can execute more code parts in parallel).
Your observations tell us that you have race conditions and you need to fix your code. We can help.
06-02-2017 10:01 AM - edited 06-02-2017 10:02 AM
the sequence at which different loops is varying between windows10 and windows 7.
This is way too vague info. I have no idea what you mean about "sequence at which different loops". Maybe you should show us your code, and we can figure out what can be wrong.
So you create a code using LV 2015 on a Win10 OS, then you open and run the same code from LV 2015 on a Win87 machine? In principle, it should work the same way.
However, if your code contains problematic parts, like if there are race conditions, it might happen you see different behavior at different machines running the very same code...