08-13-2012 05:38 PM
When I try to open the Instrument I/O assistant, I get an error telling me it is not installed correctly. I believe this is because I am using a serial port, not GPIB. I can't seem to find the correct driver. Can someone point me in the right direction?
Solved! Go to Solution.
08-13-2012 05:47 PM
Have you looked at the examples for serial communications? Everything you need to know is there.
08-13-2012 05:49 PM
And it does not matter at all to the Instrument I/O Assistant whether you are using a com port, GPIB, Ethernet, or USB. If you don't have the Instrument I/O Assistant installed correctly, you will get the error. If all you installed was LabVIEW, you did not install it correctly. Did you install NI-VISA?
08-13-2012 06:05 PM
Yes, I've re-installed it twice. Should I try manually uninstall it before I do so?
Also, I found an example of a very simple serial read/write program. When I try to run that, I get the error code that I've attached. Is there a way to see the Block Diagram associated with the Front Panel for the example I downloaded?
08-13-2012 07:37 PM
I've re-installed VISA twice now.
When I try to open the Assistant in LabView, I get the attached message.
When I try to write to my device with the VISA Write command, I get the other attached message.
I've tried communicating with my device via the Measurement and Automation Explorer. The commands don't seem to be sending.
I can successfully communicate with my device via HyperTerminal so I know my device/connection is not faulty.
08-13-2012 08:36 PM
08-16-2012 04:31 PM
It doesn't seem to matter what programs are running. If Labview is the only thing running, I get the same issues. I believe it has something to do with my VISA, but I've already tried re-installing it. Any other options?
08-16-2012 05:08 PM
The error comes from windows, which does not allow more than a single application to access a port. Check your services, etc. Check with task manager. Check if there was software installed from the vendor.
08-16-2012 06:40 PM
Now when run it, nothing happens at all. I am VERY new to LabView so perhaps something is wrong with my code. I've attached my simple write file. Can you find any errors? The text I have (1PA45) is the string that should make my rotation stage move to 45 degrees. When I put this string into HyperTerminal, it works. With HyperTeminal closed, nothing happens. I've even tried restarting my computer and running LabView without running HyperTerminal prior. My motion controller is in COM1. I still cannot open my instrument I/O assistant. It tells me to reinstall it, although I've already done so twice.
08-16-2012 06:44 PM
The file is here...