"Gonzalo Urday" <gurday@negenex.com> wrote:
> I had a similar problem with the carriage return before...try the following:
>
> tab->Add '/n' '/r' or whatever your terminator is (both read and
> tab->write)
>
>
> the command is interpreted." I was assuming this was a regular EOL ON
> command but apparently it's not. I even typed "/n"
Umm- you folks do realize that it should be back slashes, right?
not /n /r
Stan
--------------------------------------------------------------------------
Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com
--------------------------------------------------------------------------
---
You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
> I had a similar problem with the carriage return before...try the following:
>
> tab->Add '/n' '/r' or whatever your terminator is (both read and
> tab->write)
>
>
> the command is interpreted." I was assuming this was a regular EOL ON
> command but apparently it's not. I even typed "/n"
Umm- you folks do realize that it should be back slashes, right?
not /n /r
Stan
--------------------------------------------------------------------------
Stan Bischof Agilent Technologies 707-577-3994 stan_bischof@agilent.com
--------------------------------------------------------------------------
---
You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".
Does anyone have any experience programming/controlling a newport motion controller with VEE?
It seems I have 2 ways of going about the communication, either direct I/O or ActiveX - I'm currently connnected via an RS-232 cable. Both methods yield zero communication with my controller.
My first problem with direct I/O is that when I send commands or query's in the Newport syntax expected and attempt to read the response I get a timeout error. The one thing I can think of that I'm doing wrong is that "When a carriage-return (ASCII 13 decimal) terminator is received, the command is interpreted." I was assuming this was a regular EOL ON command but apparently it's not. I even typed "/n"
after my command to see if it would help generate a response but no luck yet. If this is my problem, anyone know how I can, in direct I/O, type a carriage return (ASCII 13 decimal) to be read by my instrument?
As for activex. My previous experience with activex, it seemed much
more straightforeward. In the past, after including the axctivex
reference, I included the activex control for that reference which was just a GUI for my motor and I was able to set it's serial number and then send it commands; relatively easy. It seems for the Newport activex reference though, there is a control for every command. In attempting to initialize my controller I call my activex control object "ESPComm" and then call it's initialize function through my function and object broswer in VEE. Still, no communication.
Wish I could send some pictures but they're currently too large to send to such a massive group.
Any help would be appreciated.
Abe
---
You are currently subscribed to vrf as: hua_jing@agilent.com To subscribe please send an email to: "vrf-request@lists.it.agilent.com" with the word subscribe in the message body.
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list, email "vrf@agilent.com".
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".
Search the "unofficial vrf archive" at "http://www.vrfarchive.com/vrf_archive".
Search the Agilent vrf archive at "http://vee.engineering.agilent.com".