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  <20102011  2012  2013  2014  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  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: ASYN Addition
From: "Mark Rivers" <[email protected]>
To: "Andrew Wagner" <[email protected]>, "Eric Norum" <[email protected]>
Cc: [email protected]
Date: Sat, 14 Aug 2010 09:02:11 -0500
Hi Andrew,
 
>> drvAsynIPBootMsg("172.25.100.85",1234,"++mode 1\n++auto 0\n++addr 9\n++eot_enable 0\n")

I think you should be able to do this with the following iocsh commands:
   
drvAsynIPPortConfigure("PROLOGIX", 172.25.100.85:1234)
asynOctetConnect("prologix", "PROLOGIX")
asynOctetWrite("prologix", "++mode 1\n++auto 0\n++addr 9\n++eot_enable 0\n")

 
Let me know if there are problems with this.
 
Mark
 

________________________________

From: [email protected] on behalf of Andrew Wagner
Sent: Thu 8/12/2010 8:55 PM
To: Eric Norum
Cc: [email protected]
Subject: Re: ASYN Addition



Hey Eric,

Thanks. I've probably just (re)created something un-necessary. I'm self taught so I don't know about all of the functions available in ASYN. I'll check out asynSynIO, though now I'm not sure why TDS3000Reboot is kept around. I guess legacy.

Andrew

On Aug 12, 2010, at 6:35 PM, Eric Norum wrote:

> Aren't there asynSyncIO iocsh functions that could perform this?
>
> On Aug 12, 2010, at 5:07 PM, Andrew Wagner wrote:
>
>> Hey everyone,
>>
>> I've created an Epics function drvAsynIPBootMsg based on the TDS3000Reboot function in vxi11. The function connects to a socket exactly as in TDS3000Reboot but here the user can input both a port number and custom boot/init string. For example when I want to boot my PROLOGIX-Ethernet GPIB controller I issue
>>
>> drvAsynIPBootMsg("172.25.100.85",1234,"++mode 1\n++auto 0\n++addr 9\n++eot_enable 0\n")
>>
>> in st.cmd before issuing drvAsynIPPortConfig . These commands are necessary for the PROLOGIX interpreter to GPIB commands that my driver sends it correctly. Here the IP address is 172....., the port is 1234 and the last string is the message. The command is registered in drvAsynIPPort . So far this is just my private code and I was wondering if I could commit it somewhere or submit it to an expert for approval. If anyone is interested let me know and I'll send it to you.
>>
>> Cheers,
>>
>> Andrew
>>
>>
>>
>>
>
> --
> Eric Norum
> [email protected]
>
>
>
>






Replies:
Re: ASYN Addition Andrew Wagner
References:
ASYN Addition Andrew Wagner
Re: ASYN Addition Eric Norum
Re: ASYN Addition Andrew Wagner

Navigate by Date:
Prev: RE: IOC Build Error Mark Rivers
Next: Re: IOC Build Error Andrew Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: ASYN Addition Andrew Wagner
Next: Re: ASYN Addition Andrew Wagner
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·