09-17-2013 04:41 PM
Hi,
I have a problem with xps c8 controller woking via labview. The XPS controller works well via webface GUI. And I think I've already installl the labview driver of XPS C8 controller and copy them to labview user lib. The motion stages are also from newport, RV240PE. I want these two stages can move at the same time, their motion speed can also be changed and their positions can also be tracked.
My problem is that I cannot even make them move via labview. There are labview samples go along with Newport instrument. When I run the sample VI ( XY sample motion), a file log window popup. I have no idea which file need to be loaded. When I made some modification to the VI, the stages still cannot move, and an error code -19 came out. What can I do to slove this problem? Any suggestion for labview programming. By the way, I've already get trained of labview core 1 and 2.
Appreciate your help in advance.
Menglian
09-17-2013 05:14 PM
Let's see some code so we can get a better idea of where you are at. 🙂
09-17-2013 05:22 PM
09-17-2013 05:35 PM
Have you put probes on the error wires to see where your error is originating?
09-17-2013 06:06 PM
Hi,
It seems there are two errors. Here are the printscreen.
Thanks.
09-18-2013 10:17 AM
I'm thinking the first error is causing the second. Try troubleshooting the communications error.
09-18-2013 10:28 AM
Hi Bill,
Thanks. Is there some thing wrong with the communication between XPS contorller and PC via labview? It's fine when I use the webface. If so, what can I do with it?
Menglian
09-18-2013 11:23 AM
@menglian wrote:
Hi Bill,
Thanks. Is there some thing wrong with the communication between XPS contorller and PC via labview? It's fine when I use the webface. If so, what can I do with it?
Menglian
You have a communications error that needs to be addressed before anything else will work. I can't really tell what it is, though. The error test isn't very helpful to me. Maybe someone else knows?
09-19-2013 06:59 PM
Hi Bill,
Thanks so much for your help. When I run other sample VI provided by Newport, it worked well. The cofiguration VI, it can read all the defined group, which means the communication between XPS controller and PC is good. What do you think?
Menglian
09-20-2013 09:42 AM
@menglian wrote:
Hi Bill,
Thanks so much for your help. When I run other sample VI provided by Newport, it worked well. The cofiguration VI, it can read all the defined group, which means the communication between XPS controller and PC is good. What do you think?
Menglian
Have you tried modifying the example to suit your needs (and saving it as a new VI, of course)? Or maybe you can compare the initialization to yours?