09-15-2015 11:03 AM
Hi Folks.
I have developed a labview program which reads from the serial port. It works fine on my development machine but when I install it on a different machine it will not work. I have tried various installations. Both the automatically selected installallers and by checking the NI-VISA Runtime 15.0. I can also see the VISA Shared components 5.6.0 (64-bit) in installed programs. Do I need to add any additional drivers or anything.
I would of assumed that the automatically selected installers would select everything required. I am blind as to what the problem is.
Mark.
Solved! Go to Solution.
09-15-2015 11:05 AM - edited 09-15-2015 11:06 AM
You are right in thinking that the automatic installers should do the trick. There must be something wonky with your code, or a resource alias.
Do you have an alias set up on your development environment for your device that has not been mirrored to the target computer? You can generate a configuration file from MAX if you want and include that with the installer as well.
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-15-2015 11:07 AM
What exactly do you mean by alias and how is it mirrored.
09-15-2015 11:07 AM
Does the serial port show up in Device Manager and/or NI MAX? Have you installed the manufacturer's device drivers for the serial port?
You mention 64-bit....is your application built in LV 32-bit or 64-bit?
09-15-2015 11:10 AM
@MarkGreally wrote:
What exactly do you mean by alias and how is it mirrored.
You should troubleshoot with MAX (installs with LabVIEW and can be included with your custom installer). This will allow you to test device communication and is a very strong tool. You can use it to assign aliases to your devices to make the names more user-friendly. MAX = Measurement and Automation Explorer
Cheers
--------, Unofficial Forum Rules and Guidelines ,--------
'--- >The shortest distance between two nodes is a straight wire> ---'
09-15-2015 11:11 AM
The port does show up in device manager. I can read it using teraterm so its not a hardware problem. My application is built in LV 32-bit.
09-15-2015 11:18 AM
09-15-2015 11:26 AM
I have set up my program so that the correct serial port is selected by the user and corresponds to what shows in device manager. In the attached VI the 'Serial Port In' is the one I am referring to. Is there a better way to do this?
Everything can be seen by Labview on my dev machine and is fine. How does MAX help me select the devices??
09-15-2015 11:30 AM
I should add that MAX on the target machine can see all the devices connected.
09-15-2015 11:33 AM