LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

application program not working on another computer

Solved!
Go to solution
Good morning all, I made a program which allows to read and record in a table the values of a balance connected to a computer. All this is in a state machine to be able to backtrack if necessary. the program works very well on my computer, when I transform it into an application on my computer it still works very well but once I change computer the application is very slow and especially the value of the balance cannot be displayed . I could not get the information from the balance but everything else works. What can this be? Thanks, have a good day
0 Kudos
Message 1 of 14
(2,322 Views)

Did you make an installer for your program so that all the proper dependencies could be included when you put it onto another computer?

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

0 Kudos
Message 2 of 14
(2,294 Views)

I start in labview. I have only been using labview for -month. i don't know at all how we can see and know her?

 

 

0 Kudos
Message 3 of 14
(2,288 Views)

All LabVIEW applications need the LabVIEW Runtime Engine to be ran on another computer. This is about 200MB I believe, just so you know. Other things may be required depending on your application. Build an installer for your application like this:

FireFist-Redhawk_0-1598962695575.png

 

Redhawk
Test Engineer at Moog Inc.

Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.

0 Kudos
Message 4 of 14
(2,280 Views)

even with the setup program create and install on the other computer the display of the balance still does not work

 

0 Kudos
Message 5 of 14
(2,260 Views)

Hi thib,

 

you were recommended to create an installer with ALL needed drivers.

Did you install ALL of them?

 


@thib101200 wrote:

on the other computer the display of the balance still does not work


How is the balance connected to the PC?

Does it require a serial port, and does your software use VISA functions?

Did you select the correct COM port in your software?

Did you note any error messages in the software? When you don't receive data you should get error messages instead!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 14
(2,252 Views)

yes I created it with all the necessary drivers the scale is connected by a USB cable yes a serial port is necessary and yes my software uses the visa function the selection of the com port is automatic no I have not noted an error message in the software but I have an error input and output

0 Kudos
Message 7 of 14
(2,238 Views)

When you plug your USB device into the new computer, check Windows Device Manager to make sure the COM port is what you expect.  

 

You can also use the Device Manager to change the device to use a different COM port.  

---------------------
Patrick Allen: FunctionalityUnlimited.ca
0 Kudos
Message 8 of 14
(2,225 Views)

in the device manager window I am told that the com port is working normally and yet it still doesn't work

0 Kudos
Message 9 of 14
(2,195 Views)

If you cannot read the scale you should get an error out from the VISA Read node, probably a timeout. Add an error indicator to your Front Panel to view it.

Would you mind uploading your code for us to check?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 10 of 14
(2,190 Views)