1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 <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 2010 2011 <2012> 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: [NI] PXI 1000 EPICS support ? |
From: | Mark Rivers <[email protected]> |
To: | "'Pavel Masloff'" <[email protected]> |
Cc: | EPICS Tech Talk <[email protected]> |
Date: | Fri, 25 May 2012 14:56:42 +0000 |
Hi Pavel, I would recommend building a EPICS application for Windows XP. You don’t have to use the embedded system itself as your development platform, you could develop on another
Windows system (XP or Windows 7) that has higher performance, faster larger disks, etc. You can create a static executable for your IOC, and then download it onto the embedded XP system. I would suggest using asynPortDriver as the base class to create your driver. You then don’t have to write any device support, just the driver. If you look at my driver for the Measurement Computing USB-1608GX-2A0 it could serve as a useful starting point. It is quite similar to what you are doing: the vendor provides
a C/C++ callable library for controlling ao and ai functions. http://cars.uchicago.edu/software/epics/measComp.html I gave a training class at the recent EPICS meeting which included a tutorial on how to write a driver using the Measurement Computing USB-1608GX-2A0 as an example. I went
through 5 versions of the driver, starting with Version 1 that just supported 2 analog outputs and was only 131 lines of code. Each version of the driver added more features, with version 5 supporting analog in, analog out, programmable pulse generator, digital
in, digital out, and pulse counters. It is still only 484 lines of code. The final released version of the driver supports waveform generator and waveform digitizer functions, and is 1254 lines of code. The link to the talk is here: and the link to the source code for the example drivers is here: Cheers, Mark From: Pavel Masloff [mailto:[email protected]]
Hi Mark, On Fri, May 25, 2012 at 6:22 PM, Mark Rivers <[email protected]> wrote: Hi Pavel, Yes, you should be able to do that. One of the devices I support is the XIA xMAP, which is a PXI digital x-ray spectroscopy card. It can be run either
from an embedded Windows processor like you have, or from a separate PC with a National Instruments PCI to PXI link adapter. http://cars.uchicago.edu/software/epics/dxp.html You would need to write the driver for your AI/AO cards, but National Instruments should give you a C/C++ callable
library to do that. Mark From:
[email protected] [mailto:[email protected]]
On Behalf Of Pavel Masloff Dear all,
|