LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

executable file not working properly

Hi,

 

I build an executable file from version 8.2, to get both analog signal (from loadcell) and digital signal (from servomotor encoder).  It works fine with the computer that I built the executable file.  However, it does not workk properly when I switch to other computer: I only got the analog signal, no digital signal. Do you have any idea what might be wrong?  Thanks a lot!

 

super818

0 Kudos
Message 1 of 5
(2,338 Views)

No, because we don't know anything about your code, your setup, your hardware, and what you have configured. Other than that, we have the problem solved.

 

Have you tried verifying the hardware via MAX on the other setup? Maybe it's a hardware issue.

0 Kudos
Message 2 of 5
(2,336 Views)

Hi super818,

 

Please describe your problem in more detail. Are you getting any sort of error when you run the program or are you just not able to read data into your program?

 

Is your hardware setup on the other computer identical to the computer it works on? If the device alias (DEV1, DEV2, etc.) is different on the two computers and your code calls the devices directly by those aliases this will cause problems.

Matt
NI Community Team
National Instruments
0 Kudos
Message 3 of 5
(2,315 Views)

Thanks, Matt & Smercurio

 

I re-boot the computer and switch the USB port.  Finally, it works fine. Maybe it COM port assigned was different between two computers.  Anyway, I am glad it works.  Thank you.

0 Kudos
Message 4 of 5
(2,309 Views)

You can see the port assignment in Device Mgr.  If your using USB, that would be the case; although it's interesting you did not mention any Visa errors when you ran the program.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 5 of 5
(2,298 Views)