LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Newport XPS controller- RV240PErotation stages via labview

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

0 Kudos
Message 1 of 13
(3,491 Views)

Let's see some code so we can get a better idea of where you are at.  🙂

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 13
(3,486 Views)
0 Kudos
Message 3 of 13
(3,483 Views)

Have you put probes on the error wires to see where your error is originating?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 13
(3,478 Views)

Hi,

 

It seems there are two errors. Here are the printscreen.

 

Thanks.

0 Kudos
Message 5 of 13
(3,471 Views)

I'm thinking the first error is causing the second.  Try troubleshooting the communications error.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 6 of 13
(3,438 Views)

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

0 Kudos
Message 7 of 13
(3,432 Views)

@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?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 8 of 13
(3,425 Views)

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

0 Kudos
Message 9 of 13
(3,406 Views)

@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?

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 10 of 13
(3,394 Views)