EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Newport Piezo USB Controllers
From: Noboru Yamamoto <[email protected]>
To: [email protected]
Date: Tue, 09 Apr 2013 11:22:29 +0900
Here is additional information.

on Mac OSX, man page says:
>      The value of the integer corresponds directly to the baud rate being rep-
>      resented; however, the following symbolic values are defined:

So
> On MacOSX:
>   Baud rates up to B230400  are defined in /usr/include/sys/termios.h

does NOT means baudrate beyond 230400bps cannot be supported on Mac OSX,
I think.

Noboru

(2013/04/09 11:11), Noboru Yamamoto wrote:
> Hi,  Mark and Andrew:
> 
> I quickly checked includes files on Linux(Ubuntu) and MacOSX 10.8.3.
> 
> On Linux:
> Baud rates up to B4000000 are defined in /usr/include/bits/termios.h
> 
> On MacOSX:
>   Baud rates up to B230400  are defined in /usr/include/sys/termios.h
> 
> If you plan to update the asyn driver, please take acount of this
> difference.
> 
> Thank you.
> 
> Noboru Yamamoto
> J-PARC center/KEK & JAEA
> Accelrator Control group
> 
> (2013/04/09 9:10), Mark Rivers wrote:
>> I got the Agilis working with the HyperSerialPort program on Windows
> 7. The problem was that the baud rate must be set to 921600. That baud
> rate is not currently supported in the EPICS driver. I will fix that,
> and let you know when it's committed to Subversion where you can
> download it. It will be in the next release of asyn.
>>
>> Mark
>>
>>
>> From: Mark Rivers
>> Sent: Monday, April 08, 2013 5:22 PM
>> To: Mark Rivers; Andrew Gomella; [email protected]
>> Subject: RE: Newport Piezo USB Controllers
>>
>> Hi Andrew,
>>
>> I've made a little progress on this.  I installed the "Agilis User Tool" software.  With that application software I can control my device using the "virtual" handheld controller on Windows.
>>
>> By installing this driver that came with it:
>>
>> C:\Program Files (x86)\Newport\AgilisUserTool\USB driver\ftdiport.inf
>>
>> I get a Windows COM port being created each time the Agilis controller is connected to the USB port.  On my Windows 7 64-bit machine it was COM3, and on my XP 32-bit machine it was COM15.
>>
>> Their documentation says that their software works by just sending commands over that COM port.
>>
>> Using a simple EPICS IOC I can send characters to that COM port with no errors.  However, even for what should be valid commands ("VE", "TE") I get no response.
>>
>> I have also tried sending the same strings with Hyperterminal on XP and HyperSerialPort (freeware) on Windows 7, and I also get no reply from the device with those.
>>
>> I am contacting Newport for advice.  I am not sure if baud rate, stop bits, etc. need to be set when using a USB serial device.
>>
>> Mark
>>
>>
>> From: Mark Rivers
>> Sent: Sunday, April 07, 2013 10:03 AM
>> To: Andrew Gomella; [email protected]
>> Subject: RE: Newport Piezo USB Controllers
>>
>> Hi Andrew,
>>
>> This has been on my to-do list for some time now.  I have an Agilis controller and actuator that Newport sent me because they would like to have an EPICS driver.
>>
>> I believe that by installing the "Agilis User Tool" software on Windows then one can send the ASCII commands over a COM port.  The drvAsynSerialPort driver on Windows should then be able to communicate.
>>
>> If you don't have that software you can get it here:
>>
>> ftp://download.newport.com/MotionControl/Current/MotionControllers/Agilis/Software/
>>
>> I have not tried connecting it to a Linux system to see if a device like /dev/ttyUSB0 appears, but if it does then one should be able to use it on Linux as well.
>>
>> I will try to play with it this week.
>>
>> Mark
>>
>> ________________________________________
>> From: [email protected] [[email protected]] on behalf of Andrew Gomella [[email protected]]
>> Sent: Saturday, April 06, 2013 10:46 AM
>> To: [email protected]
>> Subject: Newport Piezo USB Controllers
>> Has anyone had any luck using Newport Agilis Controllers (USB) with EPICS?
>>
>> http://www.newport.com/Agilis-Motion-Controllers/848283/1033/info.aspx
>>
>> Newport only included LabView and Windows DLL's, but I'm really hoping to control them directly through our EPICS system. They run off of ASCII commands which are detailed in the user manual.
>>
>> I guess using CA Lab is an option, but was hoping to remove LabView entirely from the setup.
>>
>> Thanks,
>> Andrew
>>
> 
> 


-- 
Noboru Yamamoto
Accelerator Control group
J-PARC center/KEK & JAEA

web: http://www-acc.kek.jp/EPICS_Gr/default.html
G+: https://plus.google.com/u/0/communities/116437315215298349838

References:
Newport Piezo USB Controllers Andrew Gomella
RE: Newport Piezo USB Controllers Mark Rivers
RE: Newport Piezo USB Controllers Mark Rivers
RE: Newport Piezo USB Controllers Mark Rivers
Re: Newport Piezo USB Controllers Noboru Yamamoto

Navigate by Date:
Prev: Re: Newport Piezo USB Controllers Noboru Yamamoto
Next: About MEDM Yasemin Barutçu
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Newport Piezo USB Controllers Noboru Yamamoto
Next: RE: Newport Piezo USB Controllers Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·