HI everyone,
I am trying to control a Newport SMC100PP motorcontroller using LabVIEW. I have been controlling it for a while using a Windows XP machine that runs LabVIEW 2011 but now need to control it using a 64-bit Windows 7 machine that runs LabVIEW 2012.
I can currently control the SMC100PP on the Windows 7 machine using their given utlity but need to get it working with my old code. After making sure my SubVIs were in the correct folder, I have the code running without the broken-arrow run errors. However, although the code runs, it doesn't actually communicate with the SMC100PP.
After I fixed the initial broken-arrow arrows, I had an error "-1073807195." I fixed this by installing the NI VISA prgoram that contains NI I/O trace. Now, it runs without generating any error codes, but still does not communicate with the SMC100PP.
I am running the NI I/O Trace program and am comparing what the Windows 7 machine sends compared to what my old Windows XP machine sends.
My Windows 7 machine sends:
VISA Open ("ASRL3::INSTR", False, 0, 0, "ASRL3::INSTR")
My Windows XP Machine sends:
VISA Open ("ASRL3::INSTR", True, 0, 0, "ASRL3::INSTR")
I traced this VISA command to an Open Serial Driver.VI that is a part of the given Newport SMC100PP subVI Port Init.VI. It seems that this port is not actually initializing on the Windows 7 machine.
Does anyone know how to fix this?
Do I need to reinstall drivers, change my code, or something else? Why would it work on the Windows XP with LabVIEW 2011 but not on Windows 7 with LabVIEW 2012 when everything else works?
I appreciate any help you can give.