06-23-2011 09:27 AM
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
06-23-2011 09:32 AM
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.
06-24-2011 10:33 AM
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.
06-24-2011 10:43 AM
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.
06-24-2011 09:57 PM - edited 06-24-2011 09:59 PM
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.