LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why did my executable build behaves strange in another PC?

i have a motor controller application build on LabVIEW 2021 SP1.The motor controller(SMCI47-S) uses NI visa for communication. the developed application has speed and distance as inputs. Regardless of selected speed, the output speed remains constant. I dont see this issue while the application is execute from my Laptop.

 

Could you please help me to solve this issue?i was installing all dependencies and couldn't solve until now.

0 Kudos
Message 1 of 4
(170 Views)

So your Laptop is your development PC too?
Does your New PC where you are trying to execute has all the necessary SW installed (Especially NI VISA).

Compare the NI SW on both Laptop and PC

Are you using Installer or just application in the new PC?

----------------------------------------------------------------------------------------------------------------
Palanivel Thiruvenkadam | பழனிவேல் திருவெங்கடம்
LabVIEW™ Champion |Certified LabVIEW™ Architect |Certified TestStand Developer

Kidlin's Law -If you can write the problem down clearly then the matter is half solved.
-----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 2 of 4
(168 Views)

Hi RepMat,

 


@RepMat wrote:

Regardless of selected speed, the output speed remains constant. I dont see this issue while the application is execute from my Laptop.


Do you get any errors in the executable? (Did you implement error handling so you can check errors at all?)

Do both computers use the same regional setting? (Maybe the issue originates from "point vs. comma" with floats converted to string for VISA?)

 

You don't provide much (any) information on your code…

Best regards,
GerdW


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

I notice you have two "tags", "LabVIEW 2021" and "LabVIEW 2020 SP1".  Is your Laptop running one (I'm guessing LabVIEW 2021) and the "target" machine the other (I'm guessing LabVIEW 2020 SP1)?  That could certainly explain the problem.

 

Bob Schor

0 Kudos
Message 4 of 4
(107 Views)