Slashdot Mirror


Running a Research Lab on Free Software?

Neurotensor asks: "My lab is researching quantum computing, and I don't like the fact that Windows / Visual Basic [seems to be] the preferred solution for controlling the experiments. It's not just a pride thing, unlike many colleagues I know what I'm missing out on, in the free software world. I've wasted a *lot* of time and effort trying to implement some very simple stuff with free (and better) alternatives, simply because certain hardware manufacturers utterly refuse to support anything other than Windows." There were older articles that touched on this subject, 2 years ago, but are others still finding themselves in the same situation as the submitter?

"[Hardware Manufacturers] seem to get very upset when somebody asks them what the register-level interface to their card is. Who could blame them? Their Windows DLL is the perfect solution under [most] circumstances.

I'm not the only one around here getting frustrated, but all before me have been defeated. It seems I am to be as well, for today I have started to learn Visual Basic.

Has anyone had any *positive* experiences trying to move a lab from proprietary to free software? Surely the government-funded researchers of the world have a responsibility to ensure that their work is free, as in freedom. However, I have found out the hard way that it's usually just not worth the effort, following such ideals. You just get frustrated by apathetic colleagues, useless product support, and the conventional wisdom that it's OK to ignore your ideals, so long as you get the experiment working. Additionally, my ordeals convince my peers that free software isn't worth the trouble."

354 comments

  1. Name Drop by nihilogos · · Score: 1

    I once saw Isaac Chuang's quantum computing lab. He was controlling something to do with the NMR machine with an embedded linux device that looked like it was held together with gaff tape.

    --
    :wq
    1. Re:Name Drop by Anonymous Coward · · Score: 0

      Free yourself from moderation! Blog Slashdot!

    2. Re:Name Drop by Anonymous Coward · · Score: 0

      Does it really matter wether (any) research is done using Linux, BSD, Windows, Solaris, AIX, VAX or whatever? The tools to be used should just be those that best support the research task at hand. Wasting time to re-invent wheels in the name of OSS would seem the waste of research funders (tax payers, industry, ...) money.

    3. Re:Name Drop by 0x0d0a · · Score: 1

      That *would* be true except for the fact that using Linux provides a long term cost advantage to the research community as a whole.

    4. Re:Name Drop by Anonymous Coward · · Score: 0

      >Linux provides a long term cost advantage to the research community as a whole.

      Important point. Would you rather pay $xxx.xx per cpu to upgrade to win2003 server , then another xxx.xx per programmer for .net studio licensing, or spend the money on a badly needed particle accelerator parts or something?

      I'm no physicist, but am smart enough to know how much computing costs on a proprietary OS. This doesn't even factor in the cost per workstation for the students and professors.

      Refutation: Don't even lay that "OSS takes longer to get up and running" BS or "the tools are hard to find"... very few physics shops would be up and running "out of the box" no matter how much they spent on licensing, and all you need to do for competent support is tap the computer science department... work a deal where they get credit for writing code and fixing clustered systems or whatever.

      l8,
      ac

  2. Uh... by Anonymous Coward · · Score: 5, Funny

    Research companies write their software in VB? No wonder there's still no cure for cancer!

    1. Re:Uh... by Anonymous Coward · · Score: 1

      God damnit, i posted that anonymously because i thought id get moderated down.. But nooo . it gets moderated up.. but when I post using my account i get moderated down.. DAMMIT!!

    2. Re:Uh... by Anonymous Coward · · Score: 1, Funny

      it's really simple:

      M$ (or product produced by them) is teh suxor, +5
      MS (or product producted by them) is teh suxor, +4
      Linux is teh suxor, -1
      Open Sores is teh suxor, banned for life.

      Hope this has been a learning experience for all of us.

    3. Re:Uh... by Anonymous Coward · · Score: 1, Funny

      Then stick to MS bashing, that's like trying to score with a drunk fat chick. You'll be at 50 karma before you know it!

    4. Re:Uh... by ramzak2k · · Score: 1

      puns aside, I presume that in research many apps are written to test a particular algorithm and thrown away. For that particular purpose I don't find their choice surprising.

      VB is very useful to create windows only apps quick and dirty. Infact I dont know of a language/development environment where i can do that quicker.

      --

      Siggy Say, Siggy Do
    5. Re:Uh... by Black+Copter+Control · · Score: 4, Insightful
      puns aside, I presume that in research many apps are written to test a particular algorithm and thrown away.

      When you pay $20K-$200K for a piece of hardware, you find as many ways to use it as possible before you throw it away. Just because a new version of the software comes out a year or two later doesn't mean that the lab is going to be able to afford the new version. If a lab can afford a new version of the $100K toy, chances are that they'll had-me-down the older version to the undergrads.

      I can understand that a company doesn't want to support more than one or two OSs, but it gets reall annoying if they don't give you the data so that you can roll your own support.

      I take it that there isn't a different company that you can go to to get an equivalent machine??? If there is, then try playing them off against each other. For the more expensive equipment, at least, they should be willing to do some work to get the sale -- if that means releasing the register data, then they'll probably do it.

      --
      OS Software is like love: The best way to make it grow is to give it away.
    6. Re:Uh... by 0x0d0a · · Score: 2, Insightful

      Specifically quick-and-dirty Windows *GUI* apps, kind of like Hypercard was for the Mac.

      The question is, if you're going to write a single app and throw it away, why are you wasting time on a GUI at *all*?

    7. Re:Uh... by valis · · Score: 1
      Infact I dont know of a language/development environment where i can do that quicker.


      Then clearly you have not yet spent enough time with Python.
    8. Re:Uh... by confused+one · · Score: 1

      If you're using Windows machines, want quick and dirty GUI code, or code that less computer literate people (older engineers who had little or no programming training) can read; then, you write in VB. Otherwise it's C; or, even better, C on Unix.

    9. Re:Uh... by fshalor · · Score: 2, Interesting

      The problem is, even in the 20K-200K range of hardware, the software usually sucks. Or the install isn't stable.
      One example, (albiet cheaper one) I've been dealing with is a simple scale that sends data over a serial port to a PC. Using VB, you can occasionally get reliable results while taking data into Excel. Even through the software to do this cost as much as the scale.
      On the other side of my fence, I've been using Linux for about a year now to do video capture and acquire temperatures from a networked DAQ unit. It's effortless after installed.
      I'm looking into similar linux based solutions to running two old units, a DDA-06 and a DAS-16 to record thermocuple data realtime. The linux projects for these are actually really good, far exceding the windows based controls. The problem is the age of the boards (ISA, mid 80's) which are actually still sold today by several vendors including Omega. Unfortunatly, you need to be a god of electrical juices inorder to calibrate the darn things.

      --
      -=fshalor ::this post not spellchecked. move along::
    10. Re:Uh... by flatrock · · Score: 2, Insightful

      For products with simple hardware interfaces, releasiing the register data is often a good solution in order to sell products to customers with very specific needs. At the company I work at we do release the register data for several of our products. It's in the hardware manual you get with the products, and our application engineers often have experience writing drivers for those products and can answer some questions to help customers write their own drivers.

      However, we don't mark our products up enough to pay for us to provide the kind of support that some customers need while writing their own dirvers.

      I just got a phone call while typing this and just spent the last hour trying to get information for a customer about a hardware feature that we don't use in our own drivers, so none of our software engineers could tell me how it works.

      Supporting someone else's driver development is not a simple task when the hardware is not simple task, and the customers usually don't have the proper tools such as a PCI bus analyzer to debug problems when they occur. I've done a lot of ports to a lot of systems, and seen a lot of problems where the driver is written correctly, however the motherboard manufacturer of chipset designer didn't follow or implement the PCI spec properly and problems result. This could result in poor performance, or even data being dropped between the PCI Bus and the memory controller.

      Supporting other people's developement can be very expensive.

      Supporting Linux drivers also has it's own issues. We provide Linux drivers for our products on both X86 and PPC systems. I've seen drivers that work fine with one kernel revision break with the next minor revision. Linux customers also like to apply kernel patches which sometimes break our drivers. It's impossible to properly retest a complicated driver every time a new kernel revision comes out. We often ship customers a borad and a driver that was tested with a version of Linux other than what the customer is using. We warn the customers of this, however if they run into problems we end up having to load a system with that version of Linux and testing it to discover if there really is a problem, or if the customer has doen something strange with their configuration.

      Even though we have Linux drivers there isn't a huge demand for them. This results in us spending a lot and time and money supporting an OS that isn't making us as much money. This is one of the main reasons a lot of hardware manufacturers don't bother with Linux support.

      One other reason is that you often use third party ASICs in your products, and how to interface whith their registers is often provided under NDA, so that it's impossible to release to a customer without proper NDAs and licensing agreements.

      Yet another reason is that often the hardware provides only a small portion of the functionality of the product. The rest of what makes the product valuable is done in the driver. If you have a product that uses commodity hardware and provides additional functionality though software, you can't simply give away the source code to that software and still pay for your development. People will take your software and buy the hardware from someone else, which can sell the hardware cheaper because they didn't invest in the software development.

      Many of these issues depend on the hardware involved. Others depend on the skill and resources of the customer.

      In the case of our Company we are willing to work with customers to provide reasonable solutions. However for customers that want to buy one hardware unit, and want us to help them develop a custome driver for their particular OS and platform, those solutions are usually very expensive.

      If a driver on Windows with an interface writter in Visual Basic meets the technical needs of your project (including reliability) then it's often a pretty cost effective choice.

    11. Re:Uh... by sketerpot · · Score: 1
      Python has advantages and disadvantages. It is a great language that should have killed VB years ago, very complex code has a tendency to work well the first time, it is in general a very aesthetic language. OTOH, VB has a very quick way to make quick and dirty GUIs, whereas in Python you generally have to take more time, although there are some very good GUI toolkits for Python, like Qt, GTK, wxWindows, and even Tk or MFC.

      Python is good at connecting with C/C++/Fortran, but it requires a little bit of extra effort to turn DLLs into modules. There are, of course, tools to help you: SWIG, SIP, pyfort, and others. Once you have python modules, though, they're very pleasant to use.

      I don't know what sort of stuff VB has for, say, fetching things from the internet, but I know that Python has excellent stuff there. urllib is great for lightweight fetching, and you can get heavyweight if you need to. There is a simple HTTP server class, and in fact there are classes for a lot of things that fit beautifully with the rest of the language.

      There are some modules fot python that may be particularly useful for research like Numeric and SciPy, and I seem to recall some biology module for python. I don't know what VB has in their place, but I'd bet that it wasn't as pleasant to use.

      Different languages, different things. But given a choice, I'd pick Python.

    12. Re:Uh... by cjjjer · · Score: 1

      A better and more "realistic" statement would be a functional user friendly GUI interface (VB) to the data that a modeling tool has generated.

      I have done a fair amount of work with the research community and I can tell you first hand that VB is a good choice for research companies. All of the raw research data that I have ever dealt with personally has been crunched by several modeling tools that were written in C and were command line based. That data generated (several hundreds of pages of raw text sometimes) has to be parsed and then moved into a database for further statistical research. Something that VB is more than qualified to do. I have also used third party graphing/charting components with VB to display the data visually

      A good analyst would review the task at hand and pick the best tool to accomplish that task. No need to discredit something because is may seem to simplistic.

    13. Re:Uh... by frisket · · Score: 1
      >I can understand that a company doesn't want to support more than one or two OSs...

      These companies have utterly missed the point. They don't have to support an OS libre: all they have to do is support their own hardware. The user community of an OS libre will support the OS.

      All we need to do is have a coordinated approach for the companies which says something along the lines of

      We will write the drivers and any other software if you will let us have the documentation. We'll guarantee only one person will contact you with queries, and in return you get the software and an additional x% market for your gizzmo.
      Sadly the idea of effortless and cost-free extra market share is too difficult for most corporate suits to grasp. Their mind-set is very limited, and they already make so much money from their existing market that they really are not interested in increasing their revenue any more.
    14. Re:Uh... by MatrixDweller · · Score: 1

      No doubt. VB is sooooooooo sloooooooooooooow. Even C++ with MFC can be slow at times but it's still 10X as fast. Any research lab of merit would not be using VB for anything that's computationally large. VB is good for Data entry and for apps that require very little speed to run comfortably. The pros use C/C++ because it is still the reigning king for speed and versatility.

    15. Re:Uh... by confused+one · · Score: 1
      Actually, I'm not trying to discredit it. VB is very good for creating the gui interface. It's just not robust enough to build an entire data acquisition system upon (as I'm assuming you know).

      My implied discredit comes from my current project , where I've been literally instructed to use VB for the ENTIRE project, for the reason stated: so that the other engineers, who may actually never need to see the code, could understand it if they did look at it (they only code in Basic). I've also been instructed to use VB 6... Right now, with the project only 85% complete, I'm looking at 50k+ lines of VB code as it is...

      Maybe I'm just grouchy because I'm tired of looking at Basic code.

  3. Linux in Research by Linthos · · Score: 5, Insightful

    For almost any government project i have seen, Windows is the choice by the government. Getting them to switch over makes no sense to them, because why switch when you have something that works? Cost benefits don't really seem to do anything, but they seem afraid of switching and trying something new because Windows is just the way it has been, and will continue to be for them. Research might be the same way. UNlesss their research IS software like this, they may just want to stick with what has already beenw orking for them.

    1. Re:Linux in Research by Anonymous Coward · · Score: 0

      Been using the Word XP spell checker again, have you?

    2. Re:Linux in Research by confused+one · · Score: 1

      Almost every government project you've seen? How many is that? Every government RESEARCH project I've seen was done with Unix or Linux systems (coming from someone who worked for the Department of Energy for 11 years). Windows was only used in Administrative tasks because we had an early installed base of Office from prior to the release of better quality Linux software like Open Office.

    3. Re:Linux in Research by Matrix272 · · Score: 1

      I'm not sure if a University-owned and run computer lab constitutes a "government project", but if so, then you can chalk one up for Linux.

      I run a lab that until about 6 months ago was almost completely SGI. Because it was SGI, the costs for maintaining it, plus adding new hardware, was astronomical. (Originally, the lab had 10 SGI Indy's, 4 SGI O2's, 4 Dell's running Red Hat 7.3, and a Red Hat 7.3 server.) So the decision was made to migrate to a cheaper solution. Also I should mention that the lab was barely used because the SGI's were so old, and nobody knew how to use them, or for what. They decided they needed a Linux administrator. Enter me. We had a budget of $25,000 until July 1 of this year, and we started spending it in November. I got rid of all the SGI's except one of the O2's (I was overruled on that one) and bought 6 Dell Dimension workstations. I installed Red Hat 8 on all of them (again, except the SGI) and loaded all the software we could afford. Within a couple of months it was used fairly regularly. This year we have a budget of $35,000 and we intend to purchase 8 more Dell's, a new B&W printer, color printer, chairs, software, and a couple other minor things.

      So, to sum up, there ARE some government employees who see the light at the end of the tunnel and want to get away from the proprietary software that's forced on them by their predecessors who don't know any better. There's hope for us yet...

      --
      "It's better to have a gun and not need it than need a gun and not have it." ~ Christian Slater, True Romance
    4. Re:Linux in Research by El+Cubano · · Score: 1

      For almost any government project i have seen, Windows is the choice by the government.

      Up until a few years ago I worked in a 50,000 square foot military Joint Operations Facility with about 2000 employees. I could count the number of Windows terminals on both hands. Nearly everything was SPARC workstations, Ultra servers, and a few big 12- to 24-processor SGIs for crypto work.

      The only reason we even had the Windows terminals was for some admin tasks that we could not accomplish on the SPARCs.

    5. Re:Linux in Research by g_bit · · Score: 1
      ...prior to the release of better quality Linux software like Open Office.

      Hmm, troll much? Oh yeah this is /., you're a winner.

      sorry people, I always feed the trolls ;)

    6. Re:Linux in Research by Dop · · Score: 1

      In fact, when I worked for a research lab at a University, we had researchers that didn't even know _how_ to use Windows. They'd been using Sun/Solaris for so long in the lab that when they ordered a PC for their home they were completely lost when it showed up with Windows on it.

    7. Re:Linux in Research by BitterOak · · Score: 1
      I've been in High Energy Physics in the U.S. for over 10 years now. When I first started, the two biggest platforms of choice were VAX/VMS and Unix (various flavors.) Starting in the mid-90's, Fermilab started supporting Linux, offering their own distro based on RedHat, and it is very widely used in the HEP community now. I've been using Linux for offline HEP data analysis for about 7 years now. Linux is supported by almost all major experiments, including FNAL experiments and BaBar at SLAC.

      I realize that the original poster was more interested in online work involving specialized hardware. In HEP, we generally design our own hardware, so drivers aren't an issue. Perhaps before buying hardware, one should check to be sure technical specs are available which enable one to write one's own drivers.

      --
      If I can be modded down for being a troll, can I be modded up for being an orc, or a balrog?
    8. Re:Linux in Research by mrmeval · · Score: 1

      Offering their own Linux distribution stabilized and known is excellent.

      I don't know the equipment that is used in Labs but a company could specifiy a Linux distribution and no other (period) or one they make as a choice for their equipment, better would be to just provide the proper, debugged, compliant PC/embed with a network interface and an open protocol to use it.

      Hmm, anyone want to write an interoperability RFC for networked lab equipment? Is there such a beast?

      Could a PC (any OS) with a browser or other machine independant program be used to control all the Linux machines ala Distributed computing?

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    9. Re:Linux in Research by GPSguy · · Score: 1

      --
      Could a PC (any OS) with a browser or other machine independant program be used to control all the Linux machines ala Distributed computing?
      --

      Well, yes. We have a virtual network teaching laboratory. Save a couple of boxes for testing, all are PC's running Linux. Mostly RedHat, one Slack and a pair of GenToo.

      Our interfaces to the lab (we have developed 2, and are moving one to distributed network management and configuration) are a Java implementation in one case, and a web-based PHP and C package with a PostGreSQL backend, in the other.

      Students are presented with a CLI on the network hardware assigned for their exercise. In some cases, said hardware is Linux running the Zebra routing interface.

      We teach network design and configuration, incorporating some testing capabilities to evaluate how well the config they did really works. We also teach an attack/defend network security class, mostly Linux, although we offer some shill Windows boxes and we recently reincorporated some Solaris systems. All this occurs in a sandbox environment; no one may directly attack from outside the sandbox.

      We also use the linux systems for testing network hardware from the "real" world. We use a variety of systems to generate "real" traffic at reasonable bandwidths, allowing us to look at, for instance, at QoS capabilities. We use some other, proprietary software, running on Linux, for custom traffic generation at setable bandwidths.

      While we tend to use "RedHat", we also tend to customize it significantly. We don't tend to make our customizations into RPMs; we do remove problemmatic RPMs and replace them with either custom tarballs or in some cases (Apache comes to mind) the latest tarballs. We recently refined our PXE-boot system loads to automate most of the install to a short process requiring little operator intervention.

      So: Can we control networked hardware using Linux? I'd say the answer is, "YES!"

      --
      Never ascribe to malice that which can adequately be explained by tenure.
  4. Comedi by vondo · · Score: 4, Informative
    It's not completely clear to me what exact problem you are trying to solve, but if you are looking for a way to communicate with a variety of data aquistion and control boards, comedi may be part of your solution. It's developed, as I understand it, by LBL (Lawrence Berkley Lab, a.k.a. the US government). They have a list of about 100 boards they support.

    I've found it somewhat difficult to use since building their modules is really suggested on a generic rather than stock Redhat kernel (and building with what are claimed to be the RH sources and config files didn't work for me).

    1. Re:Comedi by Neurotensor · · Score: 5, Interesting

      Well it's so simple you're gonna laugh, I'm controlling a two-axis pulsed-laser spectrometer. The problem is that I've got a National Instruments PCI-7324 stepper motor card to work with and even Comedi (which looks kewl BTW) doesn't support it. I can't blame them, there's just no information out there to start with. NI won't even reply to my emails.

      I thought it would be clever to implement a GUI using QT and then simply compiling on Windows with the stubs filled in to use the DLL. How wrong I was. The GUI looks great, but Trolltech's official position is that the Non-Commercial version of QT for Windows isn't supported any more, so you have to use QT 2.3 when 3.1 is out for Linux. I would have even ported my code back to 2.3 but then I would still need MS Visual C++ or Borland C++ Builder 5 (yes, I have version 6 and that's not binary compatible with the QT distribution). In case you're wondering, I did try MinGW but in the time I had available I didn't get anywhere because qmake still looks for a C++ Builder 5 DLL which I don't have. I could download the MS VC++ version of QT 2.3 but I expect to have the same problems all over again. And really if you've paid good money for a development environment like Borland C++ Builder 6, you might as well just use it instead. Oh and I did try to get the NI software running under Wine, I think I might have had some luck that way but I couldn't see how to get the Windows DLL talking to the PCI card in the time I had.

      Then came a flurry of ideas for changing the stepper card to something else, say a timer/counter card, and use Comedi. But I quickly came to the conclusion that I've wasted enough time, I have a working stepper card already, and my supervisor really wanted a product using VB anyway because it's the easiest way to get physicists with zero coding experience to use and modify the application to fit their needs. It's logic I can't really beat right now, I wish it weren't so, I *so* wish I could hand him a free software solution with the same benefits to him as a VB solution, but I just can't.

      Oh and if you were still wondering, I have to use Win95. That or replace it with the free (as in beer) OS of my choice, which would be Mandrake 9.1. Maybe I'll get an upgrade to Win2K but it bothers me to pay good money for a piece of software I wouldn't need if a) the original Win95 worked without blue-screening randomly, or b) NI would have some Linux support.

      There's a guy upstairs who used to have an entire lab running GNU/Linux until he battled Agilent's and NI's lousy Linux support. He finally gave up and converted his lab from Linux to Windows (at great financial cost) so he could keep working on his experiments. Along came the customary driver conflicts, forced expensive updates, etc. etc. It's a sad tale, and it's what I was told when I began asking around in desperation. Now I know he wasn't kidding around :(

    2. Re:Comedi by dlakelan · · Score: 1

      How hard would it be to get a couple of Atmel AVR chips and control the damn thing via hardware that you can program from linux using GNU tools?

      Just talking off the top of my head, but if you're talking about sending the proper number of pulses at the proper times wouldn't it be relatively easy via a little board like the dontronics rAVeR?

      Running at 10 mhz it seems like you'd be able to do a lot with one of these puppies.

      I don't know how much intelligence is in the signals vs. in the motors, so i don't know whether it's as easy as it seems. Probably not, but it's worth stepping back from the problem perhaps.

      --
      ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
    3. Re:Comedi by Anonymous Coward · · Score: 2, Interesting

      You're REALLY not gonna like this. Not long ago NI came and gave a talk at my school (University of Texas) and basically said "the future is .NET." When asked about Linux, his response was basically "Why would anyone want to use Linux? Windows works." This angered a lot of the crowd (mostly CS students) and then he added that any job applicants better learn .NET or they had no chance. They really don't seem interested in Linux at all.

      The basic fact of the matter is that there are industries where free software is not an option. Sometimes you have to abandon your ideals to get things done (as it seems those who came before you did.) Why do you think researchers are always begging for money? They have to pay for expensive, shitty software and there's no other alternative to do the things they want to do. It sucks, but Linux isn't the best solution to every problem (it probably would be in this case, but it's not an option because your hardware doesn't work.) Sometimes that's the way it goes.

    4. Re:Comedi by malakai · · Score: 3, Insightful

      First off, skip VB6 and anything before it. Go to .Net. You can do true OO programming using VB.Net, C#, C++ and a bunch of other .Net CLI languages. They can all communicate with ANY sort of DLL/COM combo your board manufacutuers give you.

      Second, dump Win95 NOW. Your logic on why you don't want too is flawed. WinNT/2K has nothing in common with Win95. They are Two different products. Your not "Upgrading" your buying a different product.

      Win95 was designed for the home, and a stepping point from DOS. Not as some sort of platform for stability and IO/Data Gathering, Realtime acquisition..etc. It's a hack and an old one at that. Would you use a build of Linux from 1995? 98? Hell no.

      I'm really serious on this last point. Many people fail to realize just how stable Windows 2000 is. I'm amazed Win95 is still floating around in labs like this. Win98 is no better either (same thing). Did it come on the computer? I think i've been running win2k for nearly 5 years now in October. That's about the limit for a development platform imo (win2003 i'll ugprade to at SP1 level).

      If you can find an Open Source alternative using Linux and other free stuff great. But honestly, I bet you end up spending more time getting things up and running and working, then programming/inventing.

      Whatever you do, dont use VB6. It's not worth 'learning'. Stick to a .Net language, or if you're a good programmer, and you know C/C++ use that.

      -Malakai

    5. Re:Comedi by IamTheRealMike · · Score: 1
      Hmm, did you consider using GTKmm? It feels similarish to Qt, but without the moc/qmake stuff, ie it uses the standard GNU toolchain. The Windows version is actually pretty respectable, the only real issue being that for some reason it won't repaint while windows are dragged over it, which looks a bit ugly. It integrates with the XP theme engine though.

      I mean, it sounds like a lot of pain in order to use Qt, really. OTOH there are lots of apps ported to Windows using GTK. YMMV.

    6. Re:Comedi by Lumpy · · Score: 3, Insightful

      Earth to clueless person....

      he cant. thereare TONS of real reasearch boards out there that cost more than you will ever spend on a complete computer that is 100% incompatable with Windows NT and it's diraviatives like 2000 and XP.

      I have a drawer FULL of $7000.00 a piece video analysis cards that cannot be used in anything higher than a Windows 95 box. and we require them here for several processes and projects.

      so get a clue first. Microsoft is a consumer OS not a reasearch OS so they happily ditch compatability all the time with hardware.

      VB6 is the last VB that isn't bloated all to hell. I actually reccomend that everyone use VB4 for the quick and dirty here as it's 1/5th the size and much faster than anything that vb6 can produce.

      so dont go around offering advice that can completely devastate someone's reasearch when you haven't even the slightest clue about what you are talking about.

      --
      Do not look at laser with remaining good eye.
    7. Re:Comedi by Anonymous Coward · · Score: 0
    8. Re:Comedi by Anonymous Coward · · Score: 0

      I have been experimenting with Comedi for a number of weeks now. I have found the support from the mailing list to be excellent and am now experimenting with python wrappers for comedilib. The wrappers are working great so far and it looks like this will work for my current project. I was motivated to try open source after developing the GUI for another project in linux and porting it to windows and MacOS . The project used a National Instruments DAQCard in a laptop. I used SWIG to create tcl wrappers for the NIDAQ library functions that I needed under windows and all worked to my satisfaction. This motivated me to go the extra step after finding out about comedi, development under linux has been a much more satisfying experience than under windows. The previous project started out as a totally windows solution and, out of frustration I migrated the UI elements to linux and never looked back.

    9. Re:Comedi by Loundry · · Score: 1

      WinNT/2K has nothing in common with Win95. They are Two different products.

      Windows NT Workstation has nothing in common with Windows NT Server. They are two different products.

      (Yeah, I know it's not entirely analagous, but it's what came to mind when I read it.)

      --
      I don't make the rules. I just make fun of them.
    10. Re:Comedi by Anonymous Coward · · Score: 0

      "If you can find an Open Source alternative using Linux and other free stuff great. But honestly, I bet you end up spending more time getting things up and running and working, then programming/inventing."

      Great advice. You "could" use OSS but "really" its not worth it. I think Remond has a job for you.

    11. Re:Comedi by Qzukk · · Score: 1

      I did think of a possible solution to this. Go to whoever handles acquisitions for your lab, and tell them to write their sales contact at NI. Tell them to write something along the lines of the following letter:
      "Hello, my name is ______, and I am the purchasing director for _______. Our budget this year is tight, so we are abandoning the windows platform in favor of cheaper alternatives. It has come to my attention from some of our top researchers here that your equipment only supports the windows platform, and that your company is ingoring their requests for the information required to produce our own support. Our conversion is expected to take about 3 months to complete. If you do not have Linux support or are unwilling to release to our team of developers the information required to produce Linux drivers, then I will regretfully have to terminate our long customer relationship at this time, and begin purchasing equipment from ______." (pick a competitor from that list supported by Comedi)

      Now, have that person send this to the salesperson, the VP of sales at NI, and what the heck, the president of the company too. Let them all know their choices are costing them the patronage of an entire research lab. It will probably be a bluff (from the sound of it, just buying a supported card is out of your budget), but depending on the size of your research lab, they might not risk calling it.

      Also, don't waste your time in wine, vmware, and the like. Wine won't inteface with any hardware Linux doesn't know about, and the system emulators won't emulate anything as unusual as a stepper motor card (and if it did, it would still require linux support to use the real card...)

      --
      If I have been able to see further than others, it is because I bought a pair of binoculars.
    12. Re:Comedi by Anonymous Coward · · Score: 0

      The 7324/7314 are supported by the NI Flexmotion for Linux
      drivers. We are using them and they work fine. We use comedi with an
      NI d/a card as well.

    13. Re:Comedi by Anonymous Coward · · Score: 0

      NT workstation and NT server are the same operating system. The only difference is that NT server has a few extra services.

    14. Re:Comedi by dbrutus · · Score: 1

      I just wish that somebody would have stepped up and said to this arrogant fool that unless an NI instrument is the only producer available, NI will 'not be an option'. No doubt he gives that speech to lots of places so somebody else will have the chance to say it.

      The vendor needs the customer to survive. The customer needs a solution to survive no matter what vendor provides it. If NI wants to limit its market by limiting its driver support it'll go down the road to irrelevance paved by countless other companies who refused to deliver what customers wanted.

      Over the long haul, there are always new entrants to any market who will provide either direct competition to an arrogant incumbent or substitution competition for them. Microsoft is in this position (a huge chunk of their customers are looking for a commercially viable exit from their MS relationship) and it looks like NI is in the same boat.

    15. Re:Comedi by mrmeval · · Score: 1

      Exactly right. I had a customer that *really* wanted to get a specific WFW3.11 special machine control program to work on a later windows version, '98. There was no inexpensive or fast way to redo this, the original company who wrote the software was gone and they had no source. It was almost to the point of having it rewritten and killing an already fragile budget and deadline. This software was so vertical market it was dental floss.

      I have no idea where I found it or what it was called. It's all forgotten but some kind soul who'd done all the dirty work and left it laying around on the net for someone to find came to the rescue.

      It was I think shareware and it was hell finding them, eventually the company bought a license from them, several hundred actually.

      That was one shocked programmer. ;-)

      They even took the original software and did some extensive testing and updated the old product.

      It works like a charm, I don't have a clue how as I did not have the time to look at it other than to verify it worked.

      It is a pity Microsoft is so closed off, it was a gradual process to convert me from really liking their product to now, it started with win95 and
      I see no end.

      --
      I'd go on a Vegan diet but the delivery time from Vega is too long. --brownkitty
    16. Re:Comedi by Anonymous Coward · · Score: 0

      I'd suggest Win4Lin but:
      1. It might still be a pain getting a board to work?
      2. Not much improvement in data collection if the linux is running fine but the Win95 on top of it crashed 12 hours ago, eh?

      A person could try a left-field solution like EComstation with the necessary Win32 hacks. I ran an old JetScript laser printer board with OS/2 for a few years.

    17. Re:Comedi by alfred42 · · Score: 1

      NI may not support the 7324 on Linux, but they do have a RLPM for the 7334/7344/7342 motion controllers.

      If you are up to the task, you can write your own Linux driver for these motion controllers.

  5. When I was a work study by mao+che+minh · · Score: 3, Interesting
    When I was a work study I moved a computer lab that I was in charge of over to BSD (exactly 24 workstations). The students didn't seem to mind. The admin didn't mind. The network engineer asked me how I got IE to run in WINE. The LAN manager, however, threw a ton of bullshit my way concerning warranties and support.

    Funny thing is, the two and a half weeks that the "all BSD" lab lasted, we had no work orders concerning crashes. I learned BSD only because the LAN manager in question made me learn it to move a email server over to it (Novell GroupWise used to be VERY expensive, and this square-headed manager didn't want to pay a bunch of cash to run one secure and isolated mail server on Novell stuff).

    Business is business I guess.

    1. Re:When I was a work study by imin8r · · Score: 2, Insightful

      The problem I believe is that Microsoft products are so commonly used, that for a relatively small business (as opposed to the whole german goverment) it is detrimental to go against the flow. What about software that is specifically written for windows and not alternative OS's? You CAN make a statement and try to use another OS, but you are only going to hurt yourself from a business perspective

    2. Re:When I was a work study by Anonymous Coward · · Score: 0

      no crashes? Perhaps that is because the students weren't able to actually _do_ anything other than run the programs that were in the menu. Probably the number one reason for crashes on windows is due to faulty third party software, (actually its pretty much the only reason that Ive ever seen). This 'faulty third party software' doesn't exist on BSD, not because it _can't_ exist, it just isn't popular enough to attract people who have no idea how to write proper programs to develop for it. But should that ever happen, you will see exactly the same problems as seen on windows - if not more due to its less modular design.

    3. Re:When I was a work study by Anonymous Coward · · Score: 0

      Conspiracy theory time. Does your school have a contract with Microsoft? Such contracts are usually signed under an agreement not to disclose the terms, and those sort of agreements are rampant. I guess some companies have things to hide.

    4. Re:When I was a work study by cduffy · · Score: 2, Insightful

      And this software *couldn't* crash the operating system if it weren't for bugs in *something* with OS-level privileges allowing the buggy software to bring down the rest of the box. Otherwise just the one buggy program would crash and the rest of the system would get along just fine.

      Sure, you have the same problem in Linux or FreeBSD if you have a 3rd-party app twiddling a buggy kernel driver or X server -- but buggy kernel drivers are exceedingly rare these days except in corner cases (say, complicated hardware for which drivers haven't been officially accepted into the kernel yet), and X has gotten dramatically more stable in the last five years or so.

      Keep in mind, too -- while a FreeBSD base install is made up of software built by the same team that wrote the kernel, a Linux distribution is almost *all* 3rd-party software. From that perspective, saying that the free OSen will get unstable when there's 3rd-party software available for them is rather untenable.

    5. Re:When I was a work study by Billly+Gates · · Score: 4, Informative
      I use FreeBSD and the only problems I have which severly fuckup the system are done logged in as root and is caused by myself the user and not an app. A poorly coded Unix app will crash by itself or give a signal 11 error and core dump. It will not corrupt the system and bring other apps down with it. It will just give the error message and close.

      If a user is running an app and he/she has just regular user priveldges then even a virus can not do damage. This is because the kernel checks access rights for files, directories, and programs. The important ones are marked "root" and unix will refuse to touch them unless the user is logged in as root. Windows NT, 2k, and XP have different users as well but the internal access rights are different. Any program can access the registry in Windows no matter what the user priveldge is. Thank Windows95 for making this standard. No app will run if you take that priveldge away sadly. This is where all OS and app information is and what causes 80% of the problems with Windows. Also as a developer you need administrator or root privedlges in WIndows to use com and the memory debugger. Another problem with WIndows.

      Dll management is the other that causes those GP faults.

      Unix is just better designed for this. Windows was never really designed but its a constant evolution from single user dos with a whole bunch of bandaid solutions.

      One of these bandaids is the registry. The vast majority of screwups in Windows have do with an app or Windows itself corrupting the registry and fucking up the whole system with it. Only in W2k and XP 5 years after ms introduced the registry with WIndows95 did they began to fix this with registry tools and automated checkups. Its still really bad but registry corruption and dll management has improved. A bad app can still screw this up.

      Everything in Unix is a text file so nothing gets corrupt unless its a hardware problem or a user did something dumb as root. Even the hardware is just text files in /dev.

      Believe me I say that a bad programmer can write a bad app for every os. BSD is no exception but it certianlly is alot cheaper to use and operate. For a lab its essential to have good uptime. Especially if students needs these systems. A problem will usually never require a complete re-install. Just a fix with the app or config file that the particular app uses. Good os design is important in a lab environment.

    6. Re:When I was a work study by SN74S181 · · Score: 2, Insightful

      Users don't care about the OS crashing. They care about the application crashing. And users of dedicated machines in a research lab care about a dedicated set of applications. So it makes no difference if the application crashes the OS or the application itself just crashes. The user is going to say 'the computer crashed again' and the whole user/root timesharing mindset of the freenixes will be irrelevant.

      Likewise, the most critical data on a system actually used for productive work is the user-writable data in the home directory and/or on the shared user-writable network drive. Again, it makes no difference that the OS can't be screwed up by the user. If a script s/he downloads from somewhere smokes his/her home directory, the significant damage is done.

      a Linux distribution is almost *all* 3rd-party software

      That statement demeans the whole purpose of what's called a 'distribution.' A 'distribution' is and should be a tested and known well-functioning collection of software made into a usable system. That's radically different from the third party software a user drags in from, say freshmeat and inflicts recklessly on a system.

    7. Re:When I was a work study by Billly+Gates · · Score: 1
      As a former techman I think the university does care about support costs. Also what if all the computers are used except one or two that are broken and as a student you need to use them?

      What if the university buys a new software package for the whole lab and later finds out that it fucks all the machines up? Your lab is gone until the problem is fixed.

      The former poster does have a point about distributions comming with beta quality packages. May god help you if its rpm based and you can not downgrade to more stable packages. BSD is alot nicer in this regards.

      However I tried updating the newest stable ports on my box and some of the ports in the tarball were broken. This was labelled stable at Freebsd's ftp site. Anyway the ones that come with BSD on the cd are extrememly stable and will not cause problems compared to Linux. THe only other exception is debian and with that you better pray that it will work with your computer. Until very recently debian would even recognize my udma hard drives because the distro was so old. I also use USB keyboard and mice. My system was too modern for anything besides the latest release.

      Anyway bsd is the perfect ballence.

    8. Re:When I was a work study by Anonymous Coward · · Score: 1, Informative

      I dont know in what time you live but it must be a long time ago ....
      > One of these bandaids is the registry. The vast majority of screwups in Windows have do with an app or Windows itself corrupting the registry and fucking up the whole system with it. Only in W2k
      > and XP 5 years after ms introduced the registry with WIndows95 did they began to fix this with registry tools and automated checkups. Its still really bad but registry corruption and dll
      > management has improved. A bad app can still screw this up.
      Apps can only screw up the part where the user has access rights - and even then it never happened to me.
      Give your average user a linux box and he will kill himself over stupid .conf files and if people wouldnt just use ADMINISTRATOR on windows they couldnt do as much damage.
      Its the users - a lot of dumb users using windows.

      My XP box never ever crashed and it runs winxp 24/7 since you could download the first winxp iso. (Yes I do have a license - bought when it came out)
      Same goes for Win2k - never crashed for me and performs blazingly fast as does winxp.

      Its the users and you linux zealots should step down from your high horse and learn from windows because its indeed better than linux in many areas.
      The only thing linux is still better is firewalling.

    9. Re:When I was a work study by Anonymous Coward · · Score: 1

      "Users don't care about the OS crashing. They care about the application crashing."

      That's crap at best. I have to use MS Windows at work because of some software we use, and I am *very* glad we switched to win2000 from win95. Win2000 has not crashed on me yet-- I leave my machine on constantly.

      Win95 used to crash about twice a week.

      Applications still crash, and applications still mess with each other's settings occaisionally, but that is far preferred to the random crashes of Win95.

      It takes about three seconds to restart an ap-- it takes considerably longer to reboot.

    10. Re:When I was a work study by Anonymous Coward · · Score: 0
      Really? So a virus will not do any damage if the user is not loged in as administrator.

      What about registry access? As long as an app can access the registry it can corrupt. Plain and simple.

      I do use Windows2k and it is quite stable. But it offers no protection agaisnt bad apps. Most bad apps have improved but if you ever admin a Windows server you can have weird things happen from something you did 6 months ago. Not even a tape backup will save you. Its nearly impossible to fix.

      But I am sure its all the users fault like you said. Windows after all is known for its rock solid security and reliability.

      I have never heard of a siera game corrupting a Windows system have you?

    11. Re:When I was a work study by Arandir · · Score: 2, Insightful

      A 'distribution' is and should be a tested and known well-functioning collection of software made into a usable system.

      If only that were the case. But all too often it is not. Debian and Slackware are exceptions, but the others (even Gentoo) have the motto "ship tomorrow's release today". Debian is utterly stable (if you use stable) but the number one complaint with Debian is that it's so outdated. Slackware is frequently dissed by having a nine month release cycle instead of three or six months. On the other side of the spectrum, there's one very popular distro that I suspect doesn't even have a QA process. Another has the reputation to avoid their dot-oh releases.

      I would put up with this shoddy QA if it were done by non-commercial distros, but the strange thing is that the non-commercial distros have the highest quality! Go figure...

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    12. Re:When I was a work study by SpaceCadetTrav · · Score: 3, Informative
      What about registry access? As long as an app can access the registry it can corrupt. Plain and simple.

      The registry has ACLS, just like the filesystem. You can only screw up the keys that you have access to (namely, your own personal profile).

    13. Re:When I was a work study by EzInKy · · Score: 1

      Unless of course everybody went against the flow which leaves the software creator hurting.

      --
      Time is what keeps everything from happening all at once.
    14. Re:When I was a work study by IamTheRealMike · · Score: 1
      If a user is running an app and he/she has just regular user priveldges then even a virus can not do damage.

      No, apps and viruses can still damage your personal data, normally far more of a concern.

      Everything in Unix is a text file so nothing gets corrupt unless its a hardware problem or a user did something dumb as root. Even the hardware is just text files in /dev.

      What? If by "everything" you mean configuration files then yes, however UNIX developers pay the price in terms of implementation complexity. Writing a parser for yet another config file format is way harder than simply reading and writing a few keys.

      See GConf for how to do the registry in a sane fashion.

      The files in /dev are special files, they certainly aren't text. You read and write streams of bytes with them like any other type of file.

    15. Re:When I was a work study by dbrutus · · Score: 1

      Well Apple seems to have the config file problem well in hand by converting everything over to XML. I wish that they would just spend a little money to hire some 2nd/3rd world computer people to go around the sourceforge archives and submit patches to do the same for the whole GNU/OSS collective. If it were little to no effort on the part of the core team, I can't see anybody turning that down.

    16. Re:When I was a work study by vadim_t · · Score: 1

      Many Unix config files are just shell scripts that get executed to set some variables. That's hardly harder than reading and writing a few keys.

      The registry has its share of problems, too. It's slow, ugly, inefficent, space limited (see registry size limit in NT), some sections (DLLs especially) can't be longer than 64K, and for complex storage needs you'll need to write your own parser anyway, especially with VB, which has a really limited access to the registry.

    17. Re:When I was a work study by budgenator · · Score: 1

      Well Apple seems to have the config file problem well in hand by converting everything over to XML.
      In Linux configuration files are flat text files, and XML files are flat text files that are marked up in XML; so I don't see any strong advantage to converting. Actualy because of XML formal requirement of closing tags, it will cause the config files to increase in size, and increase application intialization times.

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    18. Re:When I was a work study by Doom+Ihl'+Varia · · Score: 1

      .. but the strange thing is that the non-commercial distros have the highest quality! Go figure... This may sound cliche but it is because the non-commercial guys are doing out of love. Money is a strong motivator but not as strong as simply enjoying what you do. In the non-commercial enviroment the developers get to pick what THEY want to do, not what the boss tells them too. That is also a weakness I suppose. Also, the non-commercial distros are more willing to have total psychos involved in the project. For example, I doubt a corporation like RedHat would higher a guy like Debian's X11 package manager/developer, Overfiend. Infact, I think there are laws against endangering your employees like that.

  6. Errr? by meowsqueak · · Score: 0, Troll

    You've wasted a *lot* of time and effort trying to implement some simple stuff with free (and better) alternatives? Surely that beats wasting a lot of time and effort trying to implement the same things with commercial (and worse) alternatives?

    I'll give you the benefit of the doubt and assume you made a slight 'grammaro'.

    1. Re:Errr? by meowsqueak · · Score: 0, Offtopic

      To whoever modded me 'troll' - read the story - you'll notice the first sentence is the original author's exact words. I was just pointing out that it didn't seem to make any sense to me.

    2. Re:Errr? by Neurotensor · · Score: 1

      I said trying, not succeeding. There would be no problem if I had won.

      I guess it all comes down to the definition of a better alternative. If it doesn't work, it's clearly not better, no matter how close it came to working.

      Even if you know what you are doing is going to be really lousy, if it works it's not a total loss.

  7. Labview by Anonymous Coward · · Score: 5, Informative

    As someone who has been a sysadmin for a 20-person femtosecond laser group, may I suggest Labview (www.ni.com)? It runs on Linux & Windows, many hardware cards support it, and it's honestly better than VB.

    Your time is your most important resource. Don't waste it recoding.

    R.

    1. Re:Labview by Anonymous Coward · · Score: 2, Informative

      I know that where I work LabVIEW is the prime choice, example in mind. We wanted to run a thermometry test on a crymodule in a linac that was misbehaving and we were given specs on wed. by friday we were running the test. If we'd gone the route that the "machine" operators wanted us to (EPICS in our case) it honestly would have been years and way too much hastle.

    2. Re:Labview by DirtyJ · · Score: 5, Insightful
      Labview is indeed very nice. Once you get used to the graphical programming, you can work very quickly. Interfacing with hardware usually goes quickly and smoothly - especially if you buy National Instruments hardware; of course Labview is set up to interface with NI hardware with minimal pain. And it runs on several OS's, I think. Certainly it runs in Linux.

      However, if part of the motivation is moving to free or cheap software alternatives, Labview is not the answer. NI charges one metric shitload for their products. But... for people running and working in a research lab, time is extremely valuable - perhaps moreso than money. You'll probably make up for the money cost of Labview with the time saved easily interfacing software/hardware. Time saved = salary saved, after all...

    3. Re:Labview by Dolohov · · Score: 1

      I hate 'me too' posts, but I've got to second this. It's very not-free, but it's an amazing tool. You should be able to get a demo version to try it out (and I'd encourage you to, considering the necessary outlay of cash)

    4. Re:Labview by Neurotensor · · Score: 2, Interesting

      I've been told that our lab distrusts LabView because of previous irritations. I don't have any experience with it personally. But as for the Linux version, there still aren't any drivers for my stepper board (NI PCI-7324).

      Your time is your most important resource. Don't waste it recoding.

      That's some good advice, I agree. But still my ideals die hard.

    5. Re:Labview by brarrr · · Score: 1

      and runs on mac os x - pretty well, at that.

      --
      to email me: take my /. handle and append .net preceded by charter.
    6. Re:Labview by Vadim+Makarov · · Score: 1
      LabVIEW (or, more precisely, the G language) is extremely slow comparing to less fancy, so to say, programming languages. Any routine data processing that you have to program step-by-step and that has to deal with a fair amount of data (e.g. a large array), will take forever.

      I've had to embed several C routines in such places (through the Code Interface VI), and has sometimes been wondering what's the whole point with LabVIEW then...

      Another observation (by a colleague of mine) is that he's never seen a program in LabVIEW that looks like a finished application. You'd always have to check first the initial paremeters scattered over different windows and in the source, and then start and stop the program with the Run and Stop buttons on the tool panel. The G language certainly encourages quick-and-dirty programming, even though it is in theory possible to create a standard stand-alone application in it.

      --
      17779 eligible voters in a district, 17779 'vote' as one. This is Russia.
    7. Re:Labview by Anonymous Coward · · Score: 0

      Not so. LabVIEW compiles G, on the fly, to machine code. The resulting code carries a performance penalty over C of only a factor of three orNot so, for equivalent algorithms. The compiler doesn't do much optimizing, and tends to include scheduling, debugging, and memory management code, which is what makes for the moderate performance delta. LabVIEW is perceived as being slow because the low threshold to start coding attracts inexperienced users that tend to wire up code that, instead of performing operations in-place, makes continual copies of data in the inner loops. It is perfectly possible to create large well constructed applications with LabVIEW. But as with any other programming language, this calls for up front design and deliberation. In fact, it requires more of it since LabVIEW code is difficult to refactor.

    8. Re:Labview by flend · · Score: 1

      I've always found the interpreted nature of LABVIEW to be extremely useful when debugging your instrumental setup. Basically it allows you to easily add breakpoints, do stepped execution and use printf style debugging without recompiles or source changes. Very useful when one of your monochromators (Z80 based) has decided to spontaneously reset it's GPIB address to that currently occupied by your other monochromator :)

      If graphical programming sucks for you (and it sucks for me) NI also provide their instrument interface code as a C API.

    9. Re:Labview by Vadim+Makarov · · Score: 1
      Well, maybe. I might not understand what things the nested loops we wired in LabVIEW actually included. It was not me who did it, but our near-full-time LabVIEW programmer. She spend some time trying to optimise the loops, and concluded it couldn't be done any faster in G.

      Even though I've never programmed in C before, the first code with the same nested loops that I managed to get to work, worked fast.

      The thing we needed to do was trivial, like accessing a port in a loop, or maybe sorting through a large integer array with mostly zero values, picking non-zero values and stuffing them into another smaller array (it was raw detector data in quantum cryptosystem, if you know).

      --
      17779 eligible voters in a district, 17779 'vote' as one. This is Russia.
    10. Re:Labview by Biff+Stu · · Score: 1

      You have nailed one of the biggest problems with LabView on non-Windows systems. Yes, you can drop 1 k$ on LabView software for non-Windows systems, but National has been reluctant to port the drivers for their PCI cards to non Windows systems.

      I'm familiar with the Mac scene. The situation with Linix on PC hardware might be different. Here, it's next to impossibile to utilize any PCI cards other than GPIB. If you want to get one of their spiffy DAQ cards to function in OS X, tough luck!

      I suspect that one of the problems is National's desire to move instrumentation off the commodity boxes into their PXI platforms with their embedded PCs. Unfortunately, the cost of implementing this solution is astronomical. In addition to a generic box for general control and user interface, you need to lay out multiple k$ for their embedded PC plus additional seats for LabView for the desktop PC and the embedded box.

      Now if I had an infinite budget, it would indeed be slick to have a flat-panel iMac front-end running LabView talking to one of their embedded PCs on PXI with ethernet or FireWire.

      However, if I can get the same Lab View functionality with a commodity Windows PC and PCI card based data acquisition, I can't justify the extra $$$ for the pretty Mac based UI and embedded controller. In research, there is always something better to spend money on. Hell, for the additional $$$$ I could get a decent oscilloscope!

  8. Do it on a project-by-project basis by TheConfusedOne · · Score: 5, Insightful

    I work in a Corporate R&D lab and we're pushing open source technologies here, but you have to be patient and strategic.

    First off, are you trying to make programmers convert? If so then you're in a losing battle. People will almost always stick with what they're comfortable with. You'll only get them to look at something else if it is 1 or 2 orders of magnitude simpler to use.

    Set an example with your work. If you can do your work using OS tools and you can do it quicker, cheaper, and easier then that's how you convince people. Comments like, "But VB is lame. MS is the anti-christ. etc..." do NOT a good case for conversion make.

    Finally, if you can't do it in OS then don't. If you're stuck because of specific hardware/OS issues then don't try to fight the beast on those for now. Pick projects and things that you can migrate and move those instead. (Move the intranet site to JSP or PHP or whatnot on Linux/BSD/Apache. Throw out some NT/2000 Domain boxes and use SAMBA instead.) If you can show the advantages of OS tools for certain tasks then you can get people thinking about it. If you can't do it because of the hardware you're using then you're just going to appear as a stubborn zealot to your colleagues.

    --
    --- I wish I could hear the soundtrack to my life. That way I'd know when to duck.
    1. Re:Do it on a project-by-project basis by ArizonaBay · · Score: 1

      Comments like, "But VB is lame. MS is the anti-christ. etc..." do NOT a good case for conversion make.

      Mod this comment up and listen to him!

      You simply can't go wrong following Yoda's advice.

    2. Re:Do it on a project-by-project basis by The-Bus · · Score: 3, Insightful

      This honestly is probably one of the most even-handed comments I have ever read here on /. -- expand it and you see why some people won't switch to MS.

      Thank you.

      --

      Small potatoes make the steak look bigger.

    3. Re:Do it on a project-by-project basis by geekoid · · Score: 1

      wont work.
      There will be some jackass who says 'MS os the only way' and remove everything you just did.
      Then when your stuff stops working because they just blew out your boxes to install MS and they didn't bother to let you know, you gewt into trouble.
      Then you right a nice Email tha explains your points, show them some figures on how it saved the company money. And the jackasses retort to the boss? well, its a company standard.
      So then YOUR review comes up, they mention how much money you cost the company for installing Linux, completly ignoring the cost savings, the fact that someone wuld have to had installed windows on those boxes, and the fact they had to by more boxes to do the same work gets completly ignored.
      Meanwhile, they guy that just willy-nillied wiped your machine gets a raise, and a fat bonus.

      Yes I'm fucking bitter about IT!

      Slashdot:
      Theropy for nerds: Vents that matter.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    4. Re:Do it on a project-by-project basis by Billly+Gates · · Score: 1

      dam.

      If the economy wasn't so bad I would tell you to look elsewhere for employment. I hate corporate America. They all obsess with failure and never take anything someone did sucessfully fully. After all your only job is to be successfull 100% of the time. HEAVEN FORBID IF SOMEONE IS EVER WRONG. If your are EVER, then your not meeting expectations. No raise and you get a 2% paycut for that because of annual inflation. After all the stockholders want higher prices for stocks. We can not give a raise to everyone. Only those who are perfect or the one perfect person in your group! The CEO meanwhile deserves a few hundred million more.

      Do not mean to anger you further but since your reputation was tarnished it will be hard for people to take you seriously again. Microsoft for example is one of those companies that has this die hard corporate culture where those who fuck up end up eventually quiting after a single mistake from what I heard.

      Have you noticed some people just rise through the corporate ladder because they do not make any decisions!

      Anyway I hear you and have left IT due to the bad economy. As you can tell I still have a chip on my shoulder because of that. I am now a delivery driver earning shitty pay so look at the bright side.

      In the meantime I hope to go back to school and work at a University. No BS and a return to sanity. But from what I read here about Windows only labs it looks pretty bad. I forgot that corporations build the tools and love Microsoft. They and not the university should decide which OS. Silly me.

    5. Re:Do it on a project-by-project basis by jfern · · Score: 1

      Maybe we can run Oog for President. Lets limit CEO pay instead of giving them huge income and dividend taxes.

      The thing that is really screwed up is that dividends and capital gains are taxed lower than wages. You know that stuff you get paid when you actually work for a living.

      Back in '98 companies wouldn't hire me as a programmer at $5.15 an hour. Now I'm a UC Berkeley Ph.D student. Yeah, I agree, to heck with corporations.

  9. the problem by rock_climbing_guy · · Score: 5, Interesting
    Additionally, my ordeals convince my peers that free software isn't worth the trouble.

    Actually, I sometimes feel that this is the number one symptom of the obstacles that OSS/free software face. Multiple times, I have been labeled a nut for wanting to us Linux/OSS. I had a roommate in the dorms once who insisted that I would be "happier" using Windows.

    As far as experience moving labs from Windows to OSS, I have never moved an entire "lab" so-to-speak to Linux, but it is my experience that in the past three or so years since I was introduced to Linux, it has made big inroads into becoming easier to install and use. The hardware support is definitely better. I remember when I first tried Linux, support for USB mice was still experimental.

    These days, migrations from Windows to Linux have been relatively smoothe. I've had great success moving a fileserver from a Windows NT workstation to a less-used Linux box. Usually, it will eventually go down because of a power outage - so I recently purchased a UPS.

    The bottom line is, I think that the problem of colleages who drag their feet on using Linux/OSS will be reduced as major distros become increasingly easy to setup and operate and hardware support improves.

    --
    Wh47 d1d j00 541, 31337 15n't t3h r0xor5 ne m0r3???
    1. Re:the problem by Shadow99_1 · · Score: 1

      I've had several Apple Zeolots try to convince me I'd be happier if I used a Mac, but never had anyone say I'd be happier if I only used windows (I dual boot btw)...

      Of course I know how to build a box & windows or *Nix I rarely have crashes or issues... Which is the strongest selling point most Mac Zelots have used when they say this...

      Unfortuantely in my experience while Linux has gotten easier to use/install it's still not quite their for most of the local people I deal with... & I'm not a programmer so if something doesn't work in whichever flavor of *Nix I'm using or working with right then I don't really try to fix it... I'll just wait for a new app/patch/kernel/other fis then try again. Most people aren't that patient...

      --
      we are all invisible unless we choose otherwise
  10. ummm... by djupedal · · Score: 0, Troll

    Are you sure the fine print in your resident research grant allows you such freedom?

  11. Device Drivers by The+Jonas · · Score: 2, Informative

    certain hardware manufacturers utterly refuse to support anything other than Windows

    Since you mentioned you did some coding, you may want to check out Linux Device Drivers plus some of their other kernel tweaking/modding books.

    1. Re:Device Drivers by Anonymous Coward · · Score: 0

      yeah, i think the `devices' he's talking about are more like scanning tunneling microscopes. sure you could roll your own driver, but uh it's like hundreds of thousands of dollars just sitting there doing nothing while you're debugging.

    2. Re:Device Drivers by stanwirth · · Score: 3, Informative

      certain hardware manufacturers utterly refuse to support anything other than Windows

      Since you mentioned you did some coding, you may want to check out Linux Device Drivers plus some of their other kernel tweaking/modding books.

      Buying a book isn't going to get her the board spec, unfortunately. To get the job done quickly, she'll need the board spec.

      Otherwise, she could start by using the generic pci driver to probe the board's parameters in freebsd, or use phob to observe the board's parameters.

      This would be an excellent chore for a grad student, as it would provide her with a useful skill while not really interrupting her studies of, e.g. The Effect of Gamma Rays on Man-in-the-Moon Marigolds

    3. Re:Device Drivers by Neurotensor · · Score: 3, Informative

      Been there, done that. The problem is in obtaining the knowledge. Hey, if they want Linux support all they have to do is make it only mildly difficult and people like us will give it to them. Then they can keep profiting from us. But if they make it so hard that you have to reverse-engineer binary drivers, then they can go find themselves somebody else to sell to.

    4. Re:Device Drivers by Neurotensor · · Score: 1

      Although I can assure you from this point forth that I am a man, I thank you for the refreshing insight provided by your assumption that I'm not.

      In fact, there isn't enough information in the initial post to determine my gender, yet up until now I haven't seen one person refer to me as she. So while there isn't any offence intended, we geeks are demonstrating that we're just as latently sexist as the rest of the world.

      This would have something to do with the established fact that most /. readers are men, but nevertheless it should be our goal to change our attitudes and assumptions about the gender of semi-anonymous writers. We owe it to humanity.

      Just as we should strive to use free software, so too should we strive to be gender-neutral, lest a single woman or man be put off from becoming a geek.

  12. pick your hardawre more carefully by 73939133 · · Score: 5, Informative

    simply because certain hardware manufacturers utterly refuse to support anything other than Windows."

    Just pick your hardware manufacturers more carefully. There is plenty of analog and digital I/O boards for PCs that have Linux support. Even better, Linux is very popular on embedded systems (like PC104), so you don't even need a whole desktop PC but can use a small, embedded PC running Linux, together with hardware that comes with Linux drivers.

    It is also my experience that manufacturers that ship Windows-only hardware are generally substandard. They probably don't support Linux because they are very tight on resources. If they don't give you low-level documentation, it's probably because they don't have it. And you end up between a rock and a hard place with that kind of hardware when VB wants you to upgrade your OS and their proprietary Windows driver won't work anymore.

    UNIX itself has a very long tradition for experimental applications, so if there is nothing for Linux, consider getting a cheap Sun workstation with hardware that is supported under Solaris. That will still work a lot better than the Windows stuff, and it will interoperate nicely with Linux machines.

    If you absolutely must do something on Windows, use Python, Perl, and/or wxWindows rather than VB. CygWin is also great. That way, your developers will acquire open source and Linux expertise and won't be locked into the Windows upgrade treadmill.

    So, while occasionally some cheap peace of Windows hardware may seem alluring, if you just look around a bit more, you'll probably find something at least as good or better for Linux.

    1. Re:pick your hardawre more carefully by mcrbids · · Score: 1

      If you absolutely must do something on Windows, use Python, Perl, and/or wxWindows rather than VB.

      Uh, don't forget php! /SHAMELESS PLUG

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    2. Re:pick your hardawre more carefully by etn991 · · Score: 1

      First, I agree with the above comment that you should pick your vendors more carefully. But you don't always have the choice, especially in academia. Lots of equipment in academia is hand-me-downs/inherited, and you don't have the funds to go out and re-purchase based on driver availability and OS preference.

      For example, I have a $1200 card which I cannot afford to replace, and the only way to control it is through an old DOS program.

      I have another instrument which I inherited, which cost me US$1000 to "upgrade" from really crappy Win3.1 software to less crappy Win9x software control. If I want to upgrade to Win2k software, it only costs US$15000, which is about 15% of the original cost! Alternative OS support not available, and I certainly can't afford to replace the whole thing.

    3. Re:pick your hardawre more carefully by dbrutus · · Score: 2

      Eventually your $1200 card will die out and you'll either get a new replacement or a newer hand-me-down. Trailing edge everything always has these problems. It isn't as shiny, functional, easy to use, or as cool as the new stuff that the better funded lab in the next building gets. But every purchase of new stuff today is not only affecting you but all those future frustrated scientists who get to deal with your hand-me-downs as well.

      The key isn't to just demand more money (though it can't hurt) but to have a strategy for dealing with the fact that lab equipment can last decades but MS has an official company policy of obsoleting OS versions older than 5 years. That fact alone should make alternative OS support a priority because for a 20 yr lifespan instrument, at least three quarters of its useful life will be run without an underlying supported OS if you choose the MS solution route.

  13. Obviously... by YrWrstNtmr · · Score: 4, Insightful

    ..you choose whatever platform/software that will do the job the best.

    Functionality
    Availability
    Budget
    Useability

    Philosophy is far down the list.

    1. Re:Obviously... by Anonymous Coward · · Score: 0
      Functionality, Availability, Budget, and Usability, are all functions of Philosophy.

      That's why I can't get the source code to my proprietary libraries to fix the bugs. It's why I can't even pay someone -- anyone! -- to do it. It's why I can't get my work done without switching to another library. It's why my customer says I charge too much and my software is too buggy and I never fix it and always make excuses about how it's someone else's fault. It's why I'm fucked.

      Philosophy. Get some today.

    2. Re:Obviously... by MourningBlade · · Score: 5, Insightful

      Yes and no.

      A research lab, especially a public one, is first and foremost obligated to do science. To clarify what I mean by this, let me say what I mean:

      The experiment must

      • Have a clear question in mind, and a method for discerning success from failure (not as easy at it sounds, when your result is not binary).
      • Be repeatable by your lab.
      • Be repeatable by other labs.

      In a physical experiment, it is perfectly acceptable to use a proprietary kit, provided that you can:

      • Show that the results are replicable
      • Give other labs access to said kit (for a price) and have the ability to produce more
      • Show that the results have relevance to what it is that you are trying to achieve

      That is true for physical experiments. For manipulation of the data of an experiment, however, the procedure must follow a published or publication-pending method of analysis if you intend to have your research be considered legitimate.

      It is coming to pass that algorithms are becoming complex enough and analysists savvy enough, that it is often more practical to produce clear, well-documented source code in addition to your paper than it is to go over and over again the fine points of your method with every interested party.

      This leads me to my point: in physical interaction, proprietary and closed methods will most likely remain prevalent for many years to come.

      In information manipulation, however, open methods are becoming a dominating trend, if only for the clarity they afford.

      In my lab we do bioinformatics research, and we could not do research on the scale we are doing at the pace we are doing it if we were depending upon proprietary software: the proprietary companies cannot compete on customization, new development (after all, we're the ones creating the method), user interface (we're improving all the time, most proprietary packages have ancient user interfaces that are clunky and just plain awful, read: GeneSpring and friends), and cross-lab communication and auditing.

      These proprietary solutions are forcing many theoreticians to use software that is "open" in another way: Excel. Yes, I kid you not. Quite a bit of bioinformatic analysis development is done in Excel because the proprietary solutions are just too closed.

      The only proprietary companies that are on the right track, in my opinion, are the ones that allow you to use the app as a hub for many other componentized programs.

    3. Re:Obviously... by RealAlaskan · · Score: 1
      If you're using Excel, you should be aware that its statistical methods are flawed. Look here for some pointers to the sort of troubles I'm talking about.

      The problem isn't that Excel comes from MS or that it is closed source (except in a round-about way): the problem is that the flaws which make Excel unsuited for statistical analysis don't affect sales enough to justify the cost of fixing them.

      I think that this picture says it all.

    4. Re:Obviously... by MourningBlade · · Score: 1

      Thanks for the heads up, I wasn't aware it was so bad.

      Luckily, we do not use Excel's statistical routines, we use an Excel plugin that utilizes Matlab. Once new methods are developed from our informatics person's tweaking the data and ideas, everything is then done in a combination of Matlab and Excel. No calculations are done with Excel, however, except for some very trivial ones (addition, subtraction).

      My point was mostly about the interfaces being used, and the nature of "open" development in most of science: you can see what it's doing at the conceptual level, and if you invest enough time (Matlab), you can control some more. It is not, however, Open.

  14. Best tool for the job by appleLaserWriter · · Score: 5, Funny

    Clearly VB is the winner here as it perfectly mimics the unpredictability of quantum mechanics!

  15. Controlling quantum computing using VB? by DogIsMyCoprocessor · · Score: 4, Funny

    Sounds like a Michael Crichton recipe for technology gone bad. I bet the fat guy in your lab gets it first.

    --

    "And this is my boy, Sherman. Speak, Sherman." "Hello." "Good boy."

    1. Re:Controlling quantum computing using VB? by Neurotensor · · Score: 1

      I bet the fat guy in your lab gets it first.

      That means I should start looking for a weapon and maybe some sort of alliance with the hero figure who will never let me be taken by the hoards of mutant photons streaming from the monitor. Yes I'm the fat guy in my lab ;)

    2. Re:Controlling quantum computing using VB? by soulsteal · · Score: 1

      "This is Windows, I know this!"

  16. Realities are.... by BWJones · · Score: 1

    It's a shame, but often to accomplish work in the sciences (which means publishing and getting grants) one often has to use the best tool for the job. Sometimes this means spending lots of money and effort to develop tools which are not available. Other times it means purchasing hardware that is available and can do the job (those $40k SGI Octanes come to mind). Some times you can get lucky and use a tool that is both free and commonly available (a wonderful example is ImageJ developed by Wayne Rasband(sp?) who also wrote the seminal NIHImage.

    Unfortunately, one can waste huge amounts of time, effort and money attempting to find solutions that will meet your needs for lower costs/free, but that time and money might be better spent obtaining the tools that will do the job and simply working at the job until it is accomplished. I understand what you are saying though in that I am trying to transition our lab from Wintel to Macintosh for a whole variety of reasons from security to ethics to simply that all around, Macs seem to be better tools, especially with OS X. That said, we still have to run Wintel hardware and Microsoft operating systems until the tools that we require are on our platforms of preference and we still will probably have to have both operating systems co-exist for some time to come. That is OK with me though as I will always go for the better tool. If it is available on Windows, that's what I will get. However, the MacOS is so much better that if the tools are also available for OS X, I will default there.

    --
    Visit Jonesblog and say hello.
  17. Programming in VB? by neuroneck · · Score: 5, Informative

    I have never known a lab that used VB as its programming environment. Usually it is either c/c++, Java, or one of the math programs (matlab, mathematica, maple, etc...). In general, I would recommend using microcontollers for controlling your experiments. However, you mentioned that you are doing stuff at the quantum level, so these may not be fast enough for you (the ones I use are 20MHZ). However, I must say that the PIC series of microcontollers can be programmed in a variety of languages and has a great deal of flexibility. One of the main problems is that a lot of the software for contolling lab equipment is either homebrew for a specific application (as is the case with some dynamic clamping software in the neurosciences) or made for a wide variety of applications (labview), but is not open source. The best option may be to get a company made environment which can have functions written for it in another programming language and customize it. However, coming from a biology side of things I do not know what your specific needs would be for quantum computing, and thus cannot give any ideas as to that specifically. Good Luck.

    1. Re:Programming in VB? by Anonymous Coward · · Score: 1, Informative

      You can get pic clones up to 75mhz and maybe even 100mhz. Single cycle instructions too (well not really, it's a 4 cycle pipeline).

    2. Re:Programming in VB? by neuroneck · · Score: 1

      Oh man, where, I want that badly. I have been thinking of doing simulations of neurons (using a method called the Hodgkin Huxley model) which are very floating point operation intensive. Any links?

    3. Re:Programming in VB? by Anonymous Coward · · Score: 0

      Sorry, I forget my password and can't log in.

      What does PIC controller have to do with neuronal simulation?

      What do you want to use the simulation on? Undergraduates class? Graduate class project? Or scientific research?

      The simplest way to simulate neurons using cable theory, compartmental models, Hudgkin Huxley, etc, is getting a Neuronal simulator, e.g. NEURON by Michael Hines. The other common one is GENESIS but I haven't followed that one and don't know how they're doing recently.

      NEURON runs in Sun, Linux and probably Windows. It was originally developed in Unix. Last time I checked, a few months ago, you should even be able to get a rpm file for it.

    4. Re:Programming in VB? by neuroneck · · Score: 1

      Actually, I like to play around with robots. The reason I wanted to model a collection of neurons (or compartments), on a PIC chip was for a control system. But you are right, both Neuron and GENESIS are good programs for neural modeling. A problem I have with current neuroscience courses is that none of them seem to use these programs as a means to teach neurophysiology in a non-wetlab setting. The biggest benefit I have had from learning these programs is the ability to test what is described in the text books, something which other students are deprived of.

  18. NOOOOOOO!!!!! by frank_adrian314159 · · Score: 2, Insightful
    for today I have started to learn Visual Basic...

    Don't do it! If you have to learn something, at least go to C#. Visual C++.NET would be OK, too. Both of those are better languages all around. And you can still interface to DLL's with either. To almost any programming question VB is NOT the answer.

    --
    That is all.
    1. Re:NOOOOOOO!!!!! by pz · · Score: 2, Interesting

      Here's the problem, though (I've faced nearly exactly the same issue as the original poster).

      1. You have programming skills, no one else in the lab does (they're all scientists with pure science backgrounds, you're the only one with a mixed engineering/science background), except the staff programmer. He is good, but also thinks there's nothing wrong with VB. Fine. Your code needs to be read, supported, and developed once you're gone.

      2. You need a little experimental control program with a GUI that is reasonably easy to debug and modify, and you need it TWO MONTHS AGO.

      Deploying something that meets both of these criteria is relatively straightforward if you swallow your pride and write something in VB. Hell, all of the interface card and hardware vendors provide VB example code. Doing it any other way (remember, GUI, easily changed, *yesterday*, etc.) is a heck of a lot harder. Either that, or I'm way behind in the quality of Open Source RAD tools.

      Good luck to the original poster. Like many of his predecesors, I gave up and wrote the experimental control in VB. But my data analysis and primary desktop environment is still Linux.

      --

      Put my fist through my alarm clock with its ding-dong death inside my ear. - The Blackjacks.
    2. Re:NOOOOOOO!!!!! by Timesprout · · Score: 3, Informative

      To almost any programming question VB is NOT the answer.

      In fact to many programming questions VB is the perfect solution. Why do you think there are so many VB programmers and VB apps out there? Its so easy a complete novice can learn how to build reasonable applications quickly. As applications start getting more complex then by all means use Java, C# or C++, with more experienced developers to do it properly. In a lot of cases VB is perfect for quick simple solutions. Some of the stuff I have seen talented coders produce in VB is not half bad either.

      --
      Do not try to read the dupe, thats impossible. Instead, only try to realize the truth
      What truth?
      There is no dupe
    3. Re:NOOOOOOO!!!!! by cduffy · · Score: 4, Informative

      Either that, or I'm way behind in the quality of Open Source RAD tools

      You're way behind in the quality of open source RAD tools.

      The python-libglade solution isn't as flashy as VB, but it's an extremely easy way to throw together an easily modifiable GUI app *fast*.

      (Btw, I presented on this particular combination to my university's LUG a year or two back after writing a fairly fancy virtual machine/simulator frontend literally overnight in about 100 lines of python code and an XMl file created by dragging and dropping in glade).

    4. Re:NOOOOOOO!!!!! by Anonymous Coward · · Score: 0

      Hmm... being quite the VBA guy, I find C# code easier to read than VB.Net code... go figure.

    5. Re:NOOOOOOO!!!!! by Genrou · · Score: 1
      The python-libglade solution isn't as flashy as VB, but it's an extremely easy way to throw together an easily modifiable GUI app *fast*.

      If you want a RAD for Python, may I suggest Boa Constructor? It is very easy to use, specially if you have already used Delphi or CBuilder, and it is very useful.

    6. Re:NOOOOOOO!!!!! by Anonymous Coward · · Score: 0

      Yep,

      There is even a python wrapper for the comedi library that seems to work very well. Glade/libglade + python + comedi + comedi wrappers for python makes for a very productive mix IMHO. I am currently working on an open source project for a univesity lab using just this.

    7. Re:NOOOOOOO!!!!! by dbrutus · · Score: 1

      If you want the ability for the VB guy to maintain your code but you don't want to get locked into windows, try RealBasic. The realsoftware folks are mac/windows dual platform and they are aggressively looking to expand their platforms. The last I checked they it was a tossup between Palm and Linux for the next expansion (the loser being platform #4). Sure, you end up running on a Windows box today but you're not going to get locked in forever and unlike the python/libglade stuff being proposed by others, your vb programmer will be able to maintain your code with a book and about a week of ramp up time. For those who do both VB and RB, the consensus seems to be that RB is a faser RAD environment and better all around.

    8. Re:NOOOOOOO!!!!! by Anonymous Coward · · Score: 0

      Unfortunately, VB's ease of use has become the millstone about it's neck.

      There are many very talented VB programmers out there than can use this tool to it's full capabilities and design fast, elegant, scalable solutions.... but that small percentage is DROWNED OUT BY A TIDAL WAVE OF MORONS.

      I swear I see one more app by an author who can't figure out DoEvents in a loop.....

      -bren

  19. Re:Comedi gooooood, APM baaaad..... by meowsqueak · · Score: 5, Informative

    I've used comedi with a National Instruments NiDAQ 16 channel acquisition card on a P3 laptop running debian - it worked very well.

    However, can I offer the following advice, which may save some people from smashing their head into a bloody pulp against a wall...

    * Turn off APM!!! *

    You can do this by passing apm=off to the Linux kernel with your bootloader (I think - can't actually check that at the moment) if you don't want to actually remove it from the kernel (APM is useful on a laptop normally).

    If you don't do this, you might find your acquisition mysteriously stalling after random intervals. It's to do with APM interrupt handling. Not sure if it's restricted to PCMCIA cards.

  20. Not ready for precision? by Sheetrock · · Score: 2, Funny
    There are a number of factors in Free Software that may be a cause for concern.

    First, naturally, there is the question of "Who do you sue" when things go wrong (which in itself is a statement of the issues surrounding responsibility in community development.) Commercial software vendors strive to meet a standard of reliability because they've implied with the sale of their software a warranty of fitness.

    Also, there is a question of reliability. Commercial software is designed towards a goal; Open Source is designed almost by accident. Integrating commercial products tends to work better than Free Software because of an accumulation of tolerances.

    Most importantly, using commercial software makes repeatibility in other labs a more likely possibility. A Windows setup is standard. A Linux (or whatever) setup depends on any number of factors, from the versions of the software to the distributions of the kernels. Irregardless of the general expense involved in setting up commercial software testing, this is perhaps the most important thing: your colleagues won't have a chance at duplicating your results if they don't know what you're running.

    --

    Try not. Do or do not, there is no try.
    -- Dr. Spock, stardate 2822-3.




    1. Re:Not ready for precision? by Anonymous Coward · · Score: 0

      Ever looked at a EULA?

      You're pretty much bound to not sue--since they are NOT selling you anything, only granting you a license, they limit their liability to essentially nothing.

      JD

    2. Re:Not ready for precision? by Anonymous Coward · · Score: 2, Insightful

      This post is mindboggling wrong in so many ways it's probably a troll, but here goes...

      "who do you sue" isn't relevant; you can't meaningfully sue a software vendor, because the licenses almost always absolve them of all liability for their product's failures beyond perhaps giving you back the purchase price of the software (which is meaningless compared to a failed experiment). if you actually want the software to work, you're often better off with the source code so that you can make it work yourself, instead of having to fight with vendors to prove that it doesn't work, then wait 6 months until the fix fits into their product update cycle. (NB: not all vendors suck, just the big ones)

      reliability: for many applications, open source software is better than proprietary because there are _more_ people improving the system. For specialized applications from small companies, there may be only a single engineer, whereas an open source system can benefit from the direct involvement of all of its users. Also, vendors have an agenda to hide problems (you often are required to sign an NDA before receiving bg fixes so that you can't even tell the vendor's other customers about the problems you found), while open source app's status is transparent, so it _has_ to work.

      Finally, the "windows" environment is far from standard -- beyond major changes between every different OS MS has shipped (95/98/ME/NT/XP/CE, home/server/embedded, etc.) there are zillions of patch levels and, even worse, random OS patches installed by MS Office, IE, WMA, etc., installers. It's nearly impossible to document, much less duplicate a specific Windows configuration without making a disk image and completely standardizing all hardware. Also, it's literally impossible to purchase most versions of Windows (MS only sells the current versions), so it's impossible to legally duplicate an older environment. With Linux (or BSD) I have access to any revision of the platform and any applications. Not that configuration management is easy, but it's doable. And since there aren't any licensing issues, I can build out any configurations I need without requiring me to keep track of certificates of authenticity, or whether I have to pay a second OS license for a box because I installed a different copy of the OS than the one that was shipped by the OEM.

    3. Re:Not ready for precision? by Neurotensor · · Score: 1

      Who do you sue? I don't know. M$? No, they sue you. You should have upgraded when they gave you the polite invitation. The company who made the card? They're an international entity bigger than most. They would sit back and smile, knowing that they got the initial sale, and then when you lose, they get the court costs and damages for libel. There's no point asking who to sue.

      Warranty of fitness? They don't even give specifications or support. That's not a very fit product for my application, i.e. using it. And have you seen the click-through EULA on most proprietary software? There is *no warranty*, expressed or implied.

      As for the design process, I've seen some utter crap proprietary software out there. Clearly no thought went into the design of Win95 for example, or I wouldn't have to reboot it as often. Or upgrade it. Whereas I can take a look at the free software out there and make a decision. No need to pay for it (unless I really like it) up front. No need to be locked in. If it sucks, you've not wasted any more resources than if you bought a proprietary package and hate it.

      Most importantly, using commercial software makes repeatibility in other labs a more likely possibility.

      Why? When anyone anywhere can download the same software as me, compile on any platform they happen to be using, and try it out at no financial cost, how could using black-box proprietary software be more repeatable? If somebody wanted to duplicate my setup, then using free software I have the freedom to burn a copy of my hard disc onto CDs and post it to them. There's no more repeatable solution than that.

    4. Re:Not ready for precision? by Anonymous Coward · · Score: 0

      Finally, the "windows" environment is far from standard...

      Indeed, I've had the same problem in supporting software for scientific instrumentation. There's no easy and legal way to ensure that the customer is running a given configuration of operating system software, and its difficult to duplicate or predict the behavior of a given configuration. Worse, lots of Windows-based software only allows the user to install one instance of it, so you often can't run version A and multiple configurations of version B of a component simultaneously (i.e. no ./configure prefix=...). Yet, repeated install/uninstall schemes between the versions and configurations are time consuming and error prone, and uninstalls can leave the system in a non-deterministic state. VMWare helps. OS modularization helps. Product activation and licensing gets in the way.

    5. Re:Not ready for precision? by Vengeful+weenie · · Score: 1
      I've seen any number of attempts to get people moving to open source fail. Really, I don't think it comes down to responsibility (legally), because most people just accept a project failing, and very rarely blame the software.

      Personally, I chalk it up to mental laziness. Most people will do as little as possible up front, even if it would have saved effort in the long run. Oftentimes the student/researchers are the worst.

      It's kinda interesting when you hang around research projects, because the people running the projects tend to look for any way not to pay for software. They're cheap! But, when it comes to open source, they just don't want to deal with it.

      It's one of the better reasons that I make sure they pay for their software. ;)

    6. Re:Not ready for precision? by Shardis · · Score: 1

      Are you kidding? ROFL...
      1: Who do you sue? Well, if windows goes tits-up and you lose data... Nobody! Just try to sue MS for this, and see how far you get... By using the software, you jump through quite a few hoops that say that you agree to hold harmless MS for basically anything their software might do.

      2: Reliability? Both platforms can be reliable, but once a MS platform has problems (which you can never predict will happen), depending on the problem, you cannot even begin to attempt to recover the problem. Bleh...

      3: Standard? You'll have the same issue in both systems, assuming you've ever used either. When MS's update (and hence MS themselves) can't even tell how/to what level your system is patched, how are you supposed to be able to? Gee, you're right, you can't.

      Go away troll...

    7. Re:Not ready for precision? by heby · · Score: 1

      First, naturally, there is the question of "Who do you sue" when things go wrong

      seriously, with scientific hardware, you sue noone. i've seen so many instruments that do not meet their specifications (and likewise drivers that do not either) and the manufacturers don't give a damn 'cause the competitors' products don't meet their specs either. try looking at the crosstalk between the channels on a analog io cards of well known and respected manufacturers - the 8 or so adc inputs are all multiplexed to one adc chip. if you sequentially read several of them, each reading will be influenced by the reading before. surprisingly, if you use the full valtage range, the crosstalk is significantly more than one lsb (which is the promised accuracy of the inputs). who do you sue? noone 'cause you'll never get anywhere and you have better things to do with your time (at least that seems to be the philosophy of researchers at universities).

    8. Re:Not ready for precision? by johnkoer · · Score: 1

      And we all know that EULAs are enforceable in court.

    9. Re:Not ready for precision? by RealAlaskan · · Score: 1
      ... and me with no mod points...

      This guy's trolling. Mod parent post down, please.

    10. Re:Not ready for precision? by dbrutus · · Score: 1

      Redhat Linux method of determining version

      rpm -qa > whatImusing.txt &

      That would give you a text file listing every rpm package you have. Anybody out there have a simple way of doing the same thing for Windows? Sure, you can get a list from add/remove software but that list isn't always accurate. I remember one example regarding Internet Explorer where if you upgraded and then downgraded, only some of the files were downgraded though the add/remove software window didn't reflect that reality.

      I'm sure that somebody out there can come up with an accurate method but is it as simple or as easy as rpm -qa ?

      If you end up needing to use custom kernels or custom packages, converting them to rpm and making them available on the net is not so hard. I'm sure that adherents of other package management systems can come up with similarly easy methods (maybe even easier) for their favorite package managers. Windows would have similar problems if the experimenter used a custom coded dll to obtain results.

      Now you bring up responsibility towards your code. As far as I understand it, Microsoft will tell you up front that if it's older than 5 years, MS doesn't stand behind their code. No security or any other bug fixes whatsoever.

      With OSS software there are still people maintaining old kernel lines that are older than 5 years. And if the old maintainers decide to pack it in, there's nothing stopping new maintainers stepping up to the needs of the community. it happens all the time. Who can maintain Windows 95 or NT 3.51/NT 4 now that they're end of life and unsupported?

      As for suing Microsoft in case of a bad software experience, good luck. They are well protected against such suits. You give away your right to sue when you agree to use the software.

      As for commercial software working better than open source, I'd suggest you look at Apache v. IIS usage rates for a clear counterexample. The truth is that OSS software is put out by a variety of people, some committed and excellent, some poorly qualified and lazy. Commercial software is also widely varying in quality and a big name software house is no guarantee that a product they put out will be useful or even well put together. Does the IBM engineer who is working on high availability Linux cease to be a highly qualified professional because his work product is not turned over to a sales arm to be hawked to the company's customers? I don't think so.

  21. What's valuable to you? by Muerte23 · · Score: 5, Informative

    Is it really worth your time, your professor's time, or the government grant's time to spend your quantum research dollar in overhead costs as you bang your head away in frustration trying to cludge together some string of 0.2 beta versions of open source data collection programs?

    And what about when you leave? Does the next grad student have to spend 3 years learning your absolutely unique software setup instead of learning physics?

    In the Big Name(TM) physics lab I work in, grad students cost about $200 a day (to the grant), and postdocs cost about $500 a day. If I need a program that would take me a month to write or costs $2,000 to buy today, it's my job do know to just buy the program.

    We used to use LabWindows (call it C++) and VisualBasic, but the last person who know LabWindows left and now looking at the code when things go wrong is a nightmare.

    So, anything new is being done in LabView. (Disclaimer - I don't work for National Instruments) Sure, it costs $2K for the good suite, but I guarantee you will make up for it in productivity. Plus, debugging LabView code as a beginner is waaaaay easier than debugging someone's crazy spaghetti C code. With the high turnover rate of a research university, it's very important to retain the chain of knowledge. Otherwise things progress into the realm of Black Boxes.

    My opinion is not to waste your valuable research time worrying about software. Especially in quantum computing where you will be left in the dust if you fart around worrying about open source too long.

    Best of luck,
    Muerte

    1. Re:What's valuable to you? by neuroneck · · Score: 1

      The cool thing about labview which gave me a hard time was the visual aspect of how you wrote algorithms (connecting boxes). Yeah, it is more intuitive but for a guy who programmed in c++ and (ugh) VB for a couple years, it was weird at first. But if you are new to the whole thing, it is great.

    2. Re:What's valuable to you? by Anonymous Coward · · Score: 0
      Is it really worth your time, your professor's time, or the government grant's time to spend your quantum research dollar in overhead costs as you bang your head away in frustration

      Have you ever used Windows? The headbanging is going to happen no matter what, one way or another. It'll be, like, the ultimate Heavy Metal Concert. Resign yourself to that, and you'll see that you might as well be Free, because it doesn't cost anything extra.

      And yes, I work with Windows users, so I've seen it myself. You don't save anything by spending that $2000. You're merely out $2000. TANSTAA$L: There's No Such Thing As A $2000 Lunch.

    3. Re:What's valuable to you? by Anonymous Coward · · Score: 0

      I share some of the save reservations, but it definitely depends on an worthwhile and thorough assessment of the environment (including type of data collection, users, and the longevity of individuals in the group) in which you work. In the aerospace research lab where I work, there's a contingent (of two people, myself included) who want to use more *NIX, a sysadmin who only knows Windows but wants to learn about *NIX, nontechnical users who can't tell the left button from the right, and a professor who advertises (maybe somewhat inaccurately) the lab as running Red Hat and is supportive of *NIX solutions. Our computers were at some point uprooted from SCO UNIX into mainly Windows and RedHat LINUX depending purely on the whim who was implementing the system at the time it was moved. Windows more or less took over, and we have a infrared camera that runs only on Windows and prevents us from changing to an purely *NIX solution.

      Outside of the camera, it wouldn't be too hard for use to switch to LINUX, but the sticking point has been that everything we need to do works under Windows, and our users are either Pro-*NIX (but will use Windows out of a lack of choice) or apathetic (and won't use *NIX). We could move more of the systems to (and as a part of a purchase of new equipment I'm going to work on getting the new equipment set up with some form of *NIX). The question still remains that I haven't fully resolved yet is whether or not there would be a tangible benefit from moving to a free OS. Money isn't currently a concern, and given that we do mainly C programming and using LabView, the operation wouldn't change all that much either â" it might be more work to change over to *NIX with little tangible benefit or even difference in operation as a result.

      I thought I'd mention this since this is my assessment of the similar situation where I work, but I should mention that I'm very new in the lab, so I haven't yet dealt much with try to get Windows-centric hardware to work under LINUX. From the attitude of the resident LINUX guru, if you stick to LabView and LINUX friendly hardware, the benefits can be useful, but one almost has to already know *NIX for them to be realized in a timely manner. And the bottom line is still "What gets the work done in the fewest keystrokes possible?" If you have someone who is experienced at operating a network of *NIX computers, then LINUX could definitely be a viable an positive experience. If not, then it might be asking for more trouble than it is worth.

    4. Re:What's valuable to you? by obnoximoron · · Score: 1

      Especially in quantum computing where you will be left in the dust if you fart around worrying about open source too long.

      Why, is there a frenzied rat race going on in quantum computing to solve some nice toy problem?

      Far as I know, decent quantum computers are many decades and at least a few einsteins away. The speed of programming to control cute toy experiments will hardly determine the speed of progress of quantum computing as a field.

      You can't achieve real breakthroughs in quantum computing by throwing a hundred code monkeys at it.

    5. Re:What's valuable to you? by twitter · · Score: 1
      Is it really worth your time, your professor's time, or the government grant's time to spend your quantum research dollar in overhead costs as you bang your head away in frustration trying to cludge together some string of 0.2 beta versions of open source data collection programs?

      It's got to be easier than learning VB and dealing with all the typical M$ monkeyshines. You have to ask yourself if the author's buddies already tried labview but found the device support under linux lacking.

      By the way, I'll take one of those fancy $200/day grad jobs as most places pay about minimum wage + classes.

      --

      Friends don't help friends install M$ junk.

    6. Re:What's valuable to you? by flatrock · · Score: 1

      I use Windows, Linux, Solaris, and several real time OSs as work. My Windows 2000 hasn't caused me any problems since I got rid of a bad Novel Client off of it, and I haven't rebooted it since my last vacation several months ago.

      Windows isn't the unreliable piece of crap it used to be, just like Linux isn't the unfriendly piece of crap it used to be. If you're really having serious stability problems with your Windows systems, upgrade from Win95 or consider that you may have hardware or driver issues.

      Use the right tool for the job. Sometimes that is Linux. Other times it's not.

    7. Re:What's valuable to you? by Anonymous Coward · · Score: 0

      VB and LabView are the defacto standards. Learning them will help you now as a student and for years to come in the feild. It is worth learning (And in fact is far easier to learn than just about anything else) than any sort of version 0.1 GnuLab thing worked on over one summer by someone too busy writting crappy code and failing physics.

    8. Re:What's valuable to you? by dbrutus · · Score: 1

      The problem is that MS software comes with MS lawyers attached and with MS being a monopoly company whose business plan is predicated on hiring the best programmers that ever increasing stock options can buy, those lawyers have been tasked with restricting your rights and increasing MS revenues using any means necessary. That's a train wreck waiting to happen and you don't want to be in the middle of a time sensitive delicate experiment when the sheriff's deputies burst into the lab saying step away from the computers, we have a software compliance warrant and you can't touch anything for the next 2 days while all machines on the net are checked for pirated software.

      The problem with MS is not just technical but legal as well and as the technical problems are solved, the legal ones just seem to be getting worse.

  22. You said quantum computing? by product+byproduct · · Score: 5, Funny

    [Hardware Manufacturers] seem to get very upset when somebody asks them what the register-level interface to their card is.

    You have to phrase your request nicely:

    "Give us the technical specs, or we will crack your company encryption keys with our quantum computer, access all your specs, and post them on usenet."

    1. Re:You said quantum computing? by KZigurs · · Score: 1

      I would rather rephrase this as a... "Well, quantum computing... Yes, that was that totally unpredictable stuff to do with hardware suppliers? Oh, never mind. My memory is just a bit hazy after all those accidents."

    2. Re:You said quantum computing? by Anonymous Coward · · Score: 0

      Or you could just threaten to Quantum Leap to the founding of their company and sabotage it from the outset.

    3. Re:You said quantum computing? by Anonymous Coward · · Score: 0

      What hardware are you referring to? Every piece of process monitor and control hardware I have ever seen comes with complete register level specs and divers with source code! Maybe you should just try looking on the net first...

  23. What about running Free software on Windows by Billly+Gates · · Score: 5, Informative
    I assume your using special equipment which connect to a pci card on your computers. If that is the case then Windows is the only option.

    However you do not have to run VB only. My Windows2k box has opengl, openinventer, vtk, ativePerl, active Python, gVIm, cygwin, gnuc/c++, Devc++, ruby, tk/tlc, apache, php, etc.

    Infact the win32 ports for these opensource apps are very well integrated with Windows. FOr example I can use gvim aka VI to replace my editor in VC++, create ole programs in python, and even use Perl to create Excell macro's.

    Your Windows based collauges will get use to opensource and be more open later on after they get used to it.

    As a scientist I assume you use VB for similiations and or to interface with your devices for experiments.

    For similiations try vtk++ and openinventor. Your colleagues probably used them in Irix quite heavily. THe libary comes with a great .chm Windows help file. It is the most complex thing I think I have ever seen behind the openoffice sdk.

    If your equipment provider only provides .ocx files aka toolbars I would be in complete dismay. VB is just not designed to do that kind of work. Ask your vendor if they have libraries for other langauges. C/C++ might be your only other option unless they use something proprietary like the Allan Bradely langauge or lisp.

    1. Re:What about running Free software on Windows by TrekkieGod · · Score: 2, Informative
      I assume your using special equipment which connect to a pci card on your computers. If that is the case then Windows is the only option.

      Not necessarily true. I work on research for the university I study at, and the particular branch I work on uses comedi drivers to interface with our pci data acquisition boards. Take a look, it might support what you're using.

      Many things people would ordinarily think linux can't do is already, or will one day be possible, so keep looking. A lot of people tend to think you can't do real-time work on Linux, because it's not a real-time kernel "like windows nt", but we do it with a patched RTAI kernel too. My advice is to research what you need, in any operating system. Check out all your options, and choose what's best for you.

      --

      Warning: Opinions known to be heavily biased.

    2. Re:What about running Free software on Windows by Tim+C · · Score: 1

      As a scientist I assume you use VB for similiation

      I sincerely hope not. One thing you absolutely need when running large number-crunching jobs is speed, and in that respect, VB simply doesn't cut it.

      There's a reason why (as of a few years ago) most numerical simulation work in Physics was done in Fortran - it's fast. I have personally performed simulation runs that took a day or more to complete, on the best hardware available to me at the time, and that's strictly small-time stuff. Sure, this PC is a lot faster than that machine was, but as available power increases, so too does the complexity of the tasks performed. I would have loved to have cranked up some of my starting parameters (size, number of particles, etc), but couldn't, precisely because the runs were already taking so long.

      Languages like VB, Java, etc are excellent in their place, but that place is not in performing serious number crunching.

    3. Re:What about running Free software on Windows by sarju · · Score: 1

      Question for Billy Gates:

      I am trying to get Active python worknig with VTK on my WinXP box. Right now I'm using Active Python 2.13 along with VTK 4.0, because I understand that this is the combo that will work for NT machines.

      This works fine when I run an example from the command line.
      Ex: python Marching_Cubes.py
      the above will work from the command line. Where the python script "Marching_Cubes.py" has the lines:
      from vtkpython import *
      from vtk import *

      but it won't work when I "Run" from the PytonWinIDE. Subsiquently it won't run from either Visual Python or Komodo... which is my ultimate goal.

      Thanks,
      Michael
      gte631d@prism.gatech.edu

  24. PS by Muerte23 · · Score: 1

    LabView will also run on Linux, and they are porting it to OS X. So at least it's half-free?

    Muerte

    ps. sorry for being such a troll to reply to my own post.

    1. Re:PS by Anonymous Coward · · Score: 0

      So now commercial software that merely runs on linux is considered partially free?

      You people live in bizarro-land for sure.

    2. Re:PS by dbrutus · · Score: 1

      Perhaps he was using it in the sense of free of MS' legal department? That's a definition of free that is significant for a lot of businesspeople.

  25. Start with new projects. by twitter · · Score: 3, Interesting

    Forget the old stuff, concentrate on new projects, number crunching and data servers. Use the strengths of free software first, then move into areas you can. Old stuff is working, as well as any old M$ junk works, and you will only be frustrated working with equipment no one cares about. "Rebuild" it till it smokes. You are familiar with the superiority of free software available for networking, number crunching and programming. Take old computers no one wants and make them useful. Something as simple as databases, web servers and email servers are helpful. Take the hardware advice you get here and put it into your next proposal. The bottom line will speak for itself and you will have proven the dependability of free software on comodity hardware already.

    --

    Friends don't help friends install M$ junk.

  26. What about trunking DLL's? by CoolVibe · · Score: 1
    The technique seemed to work fine for media libraries like ffmpeg, so they can use the codec inside those pesky .dll and directshow filter containers.

    Maybe the sci apps developers should investigate how the trunking of manufacturer supplied win32 dll's can be used to give at least x86 machines with free operating systems access to the hardware. It's better than nothing at least.

    But yeah, I know it sucks. The hardware vendors shouldn't whine. They shouldn't care what OS is used to drive their hardware, just that intitutions can buy and use it. And institutions are a lot different from normal consumers. The sci-institutions just want to get their work done. And, according to the story poster, with something else than Microsoft's stuff.

  27. Phew by Faust7 · · Score: 1

    It's not just a pride thing,

    Well, thank goodness for that!

  28. Sometimes it's the other way by jmv · · Score: 2, Interesting

    I'm doing my Ph.D. at a mobile robotics lab. Most (all?) of the robots we bought, (either from iRobot or ActivMedia) came with Linux pre-installed. I don't think we could even have Windows if we wanted it. I think this is going to be much more frequent in the future. For things that don't have a display anyway (no we don't have 17" monitors on our robots!) what's the point of running Windows?

    1. Re:Sometimes it's the other way by KjetilK · · Score: 1
      It is the same thing in astronomy. I've seen a windows box in a telescope control room, but I've never seen it turned on... The user end of the data acquisition software is very likely to be on Linux, whereas most other stuff run on a mainframe, which may have other Unices.

      Most of this stuff is of course developed in-house, but there are projects that utilize e.g. Mead telescopes, that come with windows telescope control software. In every project of some scale I'm aware of, they have re-written the telescope control software on Linux.

      Also, the code is usually freed for such projects. It is not organized, like it largely is in the Free Software community, but if you ask, they're happy to share the code.

      So I must admit that I'm rather surprised by this person's trouble... Really, I think that in a scientific project, you would want to make sure you understand as much as possible of the critical pieces from the OS and up, not only your own software that runs on top.

      --
      Employee of Inrupt, Project Release Manager and Community Manager for Solid
    2. Re:Sometimes it's the other way by dbrutus · · Score: 1

      It doesn't take more than 10 minutes to create a project on Source Forge and it doesn't cost anything. Why not chalk it up to advertising for the institution and dump the current version out to the community. You might just find that the benefits will be more than just a little feel good institution promotion.

  29. Yes, it is possible by bm_luethke · · Score: 2, Insightful

    Depends on the research I guess:

    http://www.csm.ornl.gov/
    http://www.csm.ornl.go v/torc/

    we are mostly linux. We do some windows because we choose too (for varying reasons, most of us really like Open Source but are relativly OS agnostic).

    Besides our CS work we run things such as the human genome project, nuclear fallout modelling, vis applications, process data from some of the colliders, basically govt researchy type stuff.

    So yes, it is VERY possible to run a research lab under linux, unix, or windows, though there will generally be some mix. Here, compute power is usually linux/unix, developer platforms are generally linux/unix, office work is usually windows - though sometimes windows has some software that is really kick ass.

    --
    ------- Sorry about the spelling, I suffer from two problems. Dyslexia makes it difficult to spell well, lazy makes it
  30. Backwards! by what+happen! · · Score: 1

    I also do Government research and you'd be hard-pressed to find windows running on any of the machines we work on (except in the PR / HR departments). I do most of my number crunching on an Origin 3000 running IRIX, but I could just as easily move it to Solaris, AIX, HP-UX, Linux, and SunOS.

    --
    Who are you?
    1. Re:Backwards! by ratfynk · · Score: 1
      Sounds like another Windows salesman doing a /. article, trying to justify an os that lets an interpreted language do system call changes. Maybe they are researching VB quantum viruses so that when real quantum computing comes along there will still be work for SARC and all the other BS that comes from using software from Redmond. Microsoft could have made a secure system with win3.1 but they got sued, for stealing system utilities. End result a whole new bullshit industry ANTIVIRUS software.


      I think I will write a year ten thousand millenium
      checker that checks if your software and hardware is year 10,000 compliant.
      Current os dating only goes to ddmmyyyy plus hhmmss, so we have a year 10,000 bug to fix. The software would be an easy sell to Windows users. Just like system utilities and antivirus junk. Thats just my opinion of Visual Basic for scientific monetary computing.


      In Japan the rat is regarded as the sign of a good harvest.

      --
      OH THE SHAME I fell off the wagon and use sigs again!
  31. Re:Labview okay, Igor Better by Anonymous Coward · · Score: 1, Informative

    Labview is okay, but I much prefer IGOR (www.wavemetrics.com). It's a pretty powerful data acquisition and analysis software package that my mesoscopic physics lab predominantly uses. It runs under Windows and Mac OSes and allows you to automate pretty much anything if you write the code for it. You can buy add-in software that allows you to use the GPIB interface, which many instruments carry.

    W.

  32. Re:Comedi gooooood, APM baaaad..... by CoolVibe · · Score: 1
    It's to do with APM interrupt handling. Not sure if it's restricted to PCMCIA cards.

    Nope. Since fairly recent desktop machines without PCMCIA slots are perfectly capable of sleeping/hibernating with the apm 1.x spec. And, yes, APM interrupt handling is involved here.

    And the last thing I need is having a desktop box fall to sleep when I'm doing benchmarking of (say) C library function calls for an extended period (a.k.a. generating datasets that need to be reliable to make sense).

    Although i.e. my desktop machine supports this, I don't see the need of ever turning APM on if the machine I'm using is not something that has/needs a battery and is not always switched on. Also, I doubt that the boards comedi supports will fit inside a laptop, so the point is actually very moot. :-)

    But yeah, good advice. I can imagine a VB user missing that one ;-)

  33. Moving completely to linux - Hardware and Software by Anonymous Coward · · Score: 0

    My graduate program focus on using spin physics either to image people or animals, or to get info about proteins and free radical interactions on a molecular level.

    On the molecular biology side, all of our new spectrometers and their analysis software are linux based.

    On the imaging side, our primary acquisition platform was HP/UX, then IRIX (primarily because we could not find PCI A/D cards with good enough performance numbers for our needs,so we had to go with VME-based solutions).

    Our latest "toys" however, are a couple of linux PCs with PIC A/D cards that allow us to do the same thing the SGI Power Challenge did, for about 1/4 of the cost, and much faster - not to mention easier to maintain. Our analysis software is also home grown. It's developed primarily under linux, but has been ported to IRIX, and I made a couple of tweaks here and there to get it working under OS X.

    Now I will say now that my boss is a hardware genius. He IS the reason I came to this program for my degree. He wrote the drivers for the A/D cards for ALL of our imaging platforms (i.e. drivers for HP/UX, SGI IRIX and Linux). He's a physicist by training, but has a good understanding of the underlying math and physics, and reads the docs and books like crazy !!

    So if you want to set up a linux only lab, it IS very possible. You (or the folks responsible for the lab) just have to invest resources (mainly time and for documenatation) to move your setup
    over to linux.

  34. heisenberg is rolling over in his grave by stinky+wizzleteats · · Score: 4, Funny

    You guys are trying to get Windows running on quantum computers? Talk about uncertainty!

    1. Re:heisenberg is rolling over in his grave by jmv · · Score: 1

      Well, that just means the computer is crashed and non-crashed at the same time. Same for the results: you get to know if they're good only after you submit the paper.

    2. Re:heisenberg is rolling over in his grave by j_w_d · · Score: 1

      Actually, you won't know if it was really dead or alive until you push the reset button.

      --
      ------ The only greater hazard to your liberty than n politicians is n+1 politicians.
    3. Re:heisenberg is rolling over in his grave by TeknoHog · · Score: 1
      --
      Escher was the first MC and Giger invented the HR department.
  35. Use PythonWin from ActiveState by Anonymous Coward · · Score: 1, Informative

    This way you can use python, and all of the open source goodess that comes with Python, plus you can link to those god forsaken DLLs.

  36. ActiveState by N8F8 · · Score: 3, Insightful

    ActiveState: Python, Perl, Tcl, etc for Windows.

    --
    "God fights on the side with the best artillery." - Napoleon, Marshal of France - speaking truth to power
  37. its' the fault of the professors by jsse · · Score: 2, Interesting

    who run the labs. In our lab we wouldn't make the purchase when the products could't work on more than one open platforms. It's not like we hate Windows and proprietary products.

    A researcher with certain year of experience would have thru the nightmare of getting obsoleted hardware to work - it's not that the hardware itself is getting out-dated, it's about its interface i.e. the device driver. E.g. the VPL optical gloves are still usable today as we've the driver source came with them, even when the company behind were out of contact for years; while we have to kiss those 3d controllers goodbye when their Windows device driver no longer functional in modern Windows system.

    Really, we had no problem when we had to code in VB, as long as it works effectively, and gives results for our papers. We just don't want our money wasted on endless upgrade-cycle(if upgradable), we are not running a corporation afterall.

  38. Re:Comedi gooooood, APM baaaad..... by meowsqueak · · Score: 2, Informative

    It wasn't so much the laptop falling asleep - just having the APM code active in the kernel was doing something screwy to the interrupt handling from the NiDaq card. It would fail acquisition after 15 seconds or so (although fairly randomly).

    David Schleef pointed this fix out to me after I asked him very politely about what the $#@$ was going on...

  39. It's all about who you know... by F1_Fan · · Score: 1

    Microsoft software is available for a negligible cost at the academic discount.

    Assuming your lab is attached to a university the costs of any MS development tool would be a very small part of your budget

    Still too expensive? Get a good connection with Microsoft's education people. Friend of mine ran a website for kid's science education. MS *gave* (read: free) him: NT4 Server (this was a while ago), SQL Server, Visual Studio Enterprise Edition and a bunch of other stuff. He turned his back on Linux and open source tools the day that package arrived from MS.

    1. Re:It's all about who you know... by maxpublic · · Score: 1

      And along those same lines ("it's all about who you know") you can befriend a warez kiddie in 15 minutes on IRC and get *free* access to any piece of Windows software your heart could possibly desire! Yes, I said *free*!

      Who needs open source when you can rob MS blind?

      Max

      --
      My god carries a hammer. Your god died nailed to a tree. Any questions?
    2. Re:It's all about who you know... by dbrutus · · Score: 1

      It's not about the money necessarily.

      Some very expensive equipment is running with MS-DOS drivers even today. Other stuff is being controlled by Windows 3.1. So where is the academic exception to the "we don't support stuff that's over 5 years old" rule that MS has? There is no such exception? Ooops.

      Beyond the problem of equipment with a 30 year lifespan running on an OS with a 5 year lifespan there is the problem of MS legal. Have you seen MS license 6.0? MS is clearly pushing for forced updates every couple of years. Then there's the lovely BSA who have the habit of coming in the door with sheriffs and forcing everybody to stop working while they check the net for license compliance. Do you think you're immune because you are in an educational institution? The 6 largest school districts in Oregon got audit notices for the busiest season of the year (around finals). If you think it can't happen to you, you're wrong.

  40. Extra Coders on this by Anonymous Coward · · Score: 0

    As soon as that check for $750M clears, there will probably be a whole bunch of cross-platform hackers ready to work on something else... call it Labzilla, especially since there's already something else called that!

  41. Open source DARPA projects by Rich_Kilmer · · Score: 2, Informative

    We work on a DARPA project that runs a distrubuted multiagent system which is written in Java across a couple hundred dual-Xeon machines running Linux. The control mechanism is a Ruby application framework that uses Jabber for control and stressing of the multiagent application.

    Not only is the project using open source as the infrastructure, but contributing to the open source community with projects like Cougaar and PMD.

    We use Linux primarily because of the simplification of administration and maintanence.

  42. cool. by twitter · · Score: 2, Informative

    Comedi is awsome. The very first driver described leads to The 8255 driver. It's author, Daniel Franklin, recomends "Alessandro Rubini's excellent book Linux Device Drivers (another fine O'Reilly publication)" Ahh, knowledge, what could be finer. Free software, free info. Go get it and become the research tech God you want to be.

    --

    Friends don't help friends install M$ junk.

    1. Re:cool. by Neurotensor · · Score: 2, Interesting

      Comedi is awsome.

      I second that sentiment!

      "Alessandro Rubini's excellent book Linux Device Drivers (another fine O'Reilly publication)" Ahh, knowledge, what could be finer. Free software, free info. Go get it and become the research tech God you want to be.

      Well I've read Linux Device Drivers, nearly cover to cover, and I've implemented Linux drivers for the chip I designed during my Engineering Honours project. So I'm not scared of doing it although I know of how much effort it takes. The main thing is you need to have specs for the card. Such things don't seem to exist outside of NI's vaults.

  43. windows-only, huh? by dAzED1 · · Score: 1
    I'd REALLY like to know what utilities the poster is using that are windows-only that are for quantum computing research. I'd REALLY like to know. I mean, that just sounds TERRIBLY unlikely to me.

    I'm just a lowly sysadmin at a biotech (genetics research), and while we're not doing anything on the level of quantum computing research, its REALLY hard even with our stuff (which is more commercial, more prolific, and therefore more likely to be windows) to find anything that is not written for Solaris/Linux/Irix. Everything is written for unix. I could list a couple dozen tools that account for 95% of what is used in the industry for research in fact, and not one of them doesn't at least have unix as its primary devel platform.

    So again, I'd REALLY like to know the names of some tools that he's using for quantum computing research that only work on windows. Cause M$ Word does NOT count as such a utility.

    1. Re:windows-only, huh? by dAzED1 · · Score: 1
      OH, and the most imprtant tool for quantum computing research is an NMR system (Nuclear Magnetic Resonance...used to "write" and "read" qubits, the basis for quantum computing), which we just happen to have here, and GUESS WHAT. The platform choices for the NMR console are:

      Linux

      IRIX

      No windows to be seen. So again again...I'd REALLY like to know the name of a tool using in quantum computing research (or ANY high-end research, for that matter) that is windows-only. I dare ya to name one.

      And yes, I know its confusing that at a lowly genetics research company we'd have an NMR machine, but we have different uses than a quantum computing researcher would. We still use the same software...we're just getting the data for different purposes. PLEASE tell me an NMR system manufacture that has ONLY windows support for their software. PLEASE.

      And yes, I guess I'm a bit onry tonight.

    2. Re:windows-only, huh? by Neurotensor · · Score: 2, Interesting

      You dared me did ya?

      Well according to your next post you think I'm working on NMR quantum computing. I'm not. It's an optical scheme involving coherent transients in rare-earth doped inorganic crystals. So we aren't using a bought system, it's a system that's been put together over a decade, out of all sorts of discrete pieces of equipment, many of which were not bought by us for this purpose, all of which must be usable under a given OS for the whole experiment to use that OS. The only software that really can't be replaced is the hardware drivers, and the whole issue is that they can't be replaced without information from the company.

      Whilst you are correct that much of the hardware we use, such as DSOs, waveform generators, etc. are OS-independent (via GPIB busses most of the time), we have some things that we simply can't replace and yet they don't work without proprietary drivers. Such as the USB->ISA converter in the pulse sequencer. We do fortunately know everything we need to know about the ISA card, but ARS Technologies manufactured the USB->ISA converter and it uses a magical black-box driver. No help with the specs when I asked them. So we would have to pull it all apart and use the ISA card directly from the PC (which I'm open to do BTW). Also the NI DAQPads are USB devices with equally mysterious USB converters, once again requiring black-box drivers under Windows.

      I'm sure you realise that I am one of the people who *wants* to dump Windows in our lab. But I have to start by proving it's both possible and simple, on my own specific project, which for the present month is to retrofit an old optical spectrometer to be controlled from a PC. And before I got here, we had a PC running Win95, and using a broken VB app that talks to an NI PCI-7324 stepper card.

      Now that's the thing that consumed going on two weeks of my time now. Instead of implementing a solution using VB, I felt adventurous. I tried GNU/Linux, but found that there's most likely no way without some hardcore reverse-engineering, to get the card going under Linux. Not all of that time was wasted on the card, some of it went into experiments with QT as a cross-platform development environment. Still, I've given up (at least for now) as I still have to use Windows.

    3. Re:windows-only, huh? by dbrutus · · Score: 1

      The entire puzzle is hardware and software. If you have to be locked in on hardware but not on software, pick that solution. At some point, that board is going to fail and if you're locked in via software, the temptation is going to be to evaluate one OS hardware for the next round. If the hardware is all that's keeping you on Windows, you can make Linux compatibility part of the spec for the replacement board and easily switch then. Vendor lock-in is always least secure when it is only one lock. You might not be able to break free now but you should make it as easy as possible to break free later.

  44. Labview/MacOS by Enrique1218 · · Score: 1

    Theoretically you could use any operating/language you want. The key question is:

    Do you want to learn a new language/os or focus on the science?

    In my lab, we use a Labview/MacOS/Gpib combination for our development? It simple to use and it works. It is a little on the expensive side but you get that money back in time saved. It so simple, undergrads can learn it and develop useful applications.
    We also have Windows/Basic system that is use to control a commercially develop experiment. Though I need extra features for the experiment, I refused to learn to develop with it because I don't have the time. I am here to focus the science not on learning programming languages.

    If you insist on switching over to an open source solution. Then tried Linux/ C or C++. But be warned, aside from serial ports, you may have trouble get other DAQ boards to work.

    --
    You don't have to be smart to use a Mac, you just have to be smart enough to buy one
  45. If it ain't broke by j1mmy · · Score: 4, Funny

    don't fix it. For fuck's sake, did you read your own submission?

    I know what I'm missing out on, in the free software world.

    Followed immediately by:

    I've wasted a *lot* of time and effort trying to implement some very simple stuff with free (and better) alternatives

    Yeah you're missing out on the struggle and pain of hacking together ad-hoc solutions to an already-solved problem.

    Way to go, buddy.

    1. Re:If it ain't broke by Mooncaller · · Score: 0, Troll

      Umm VB and Windows are broke. And for your info there is far far better support for instrumentation in UNIX then Macrohard has ever thought of. The difficulty is 100% due to MS pressuring the manufacturers of Data Accuisition devises to only support ( publicly) Windows with their drivers.

  46. We use *nix by WebMasterP · · Score: 2, Interesting

    I work with a research professor at the University of Washington. I'm hard pressed to find a windows machine on my floor (I think there are two, and they suck). Everything is Solaris. The main server room has a huge Sun Enterprise Server and a 19 computer linux cluster. My group just got its own 2TB storage server, it's linux based... The whole dept. seems to moving from Solaris => Linux if anything... but no where near Windows.

  47. Free Software VS Ph.D. Ego by larry2k · · Score: 1
    I work for a Materials Research Facility in Mexico where the budget to do the things work is very limited. The main problem here is that my fellow co-workers refuses to use other software than VB, VFortran and in the worst cases VisualFox to do his "research stuff" arguing they don't have the time to learn how to use new software, no matter how good it is. Sometimes they refuses to try because I'm the younger researcher and they (the older) have all the experience, so, how I dare to teach them about nothing. Sometimes we have some money to invest in software and they prefer the windows version over Linux version (when is available).

    Anyone has experienced something like that? and what kind of "measures" you take to get some Free Software followers?

    --

    The package said "Windows XP or better. Pentium Class Processor or better"... So I got a Mac with OS X

    1. Re:Free Software VS Ph.D. Ego by Anonymous Coward · · Score: 0
      and what kind of "measures" you take to get some Free Software followers?

      You sound like a Jehovah's Witness, and you're probably being treated as such when you try to "gain followers". Most people aren't looking for conversion into a Free Software Follower so they can worship at the Altar of Linus.

      Find something that "They" can't do easily in their favorite software. Find a way to do it easily in your Free Software. If you show them how your software is giving you a productivity edge over what their software can give them, then they just might switch. They are NOT going to switch just so they can say they use Free Software. I know I wouldn't.

  48. Right tool for the job by Anonymous Coward · · Score: 1, Interesting

    Consider whether you really believe that ALL software NEEDS to be open source, I mean, as long as the OS and the core tools are, is there really a problem with someone writing a fairly esoteric piece of software that few people will ever use and charging money for it?
    I suppose VB isn't really that esoteric, but as others in this thread have pointed out, open source isn't free-as-in-free-beer, because it takes someone time to write it, and if that someone is you, then your time costs money. Bite the bullet, spend the time researching if the system works.

  49. Here's what we did by Anonymous Coward · · Score: 0
    In our lab we have the same problem, except not with hardware, but rather software. We have all of these number crunching systems, and databases, and custom programmers that our researchers have built over the years. The trouble is that consolodating all of that data into one place is a complete pain. Until recently we had been writing scripts to get all these things together based on some of the free libraries we could get off of sourceforge.net that would help us do document translation.

    Anyway, then in this weeks sourceforge.net newsletter we were introduced to a program called B.I.E. (http://sf.net/projects/bie). Anyway, this app was designed to do exactly what we needed in getting data out of systems, and putting data back into other systems. We've replaced nearly 30% of our custom scripts in only 3 days!!!

    So to get to my point, I'm wondering if you could get a system like that for hardware. Some kind of mechanism that would allow you to abstractly control different types of hardware. My thought is that with all the linux kernel and driver projects there are out there, someone must have created a distro specifically for researchers like yourself.

  50. Big, proprietary instruments=propritary software by Punchcardz · · Score: 1

    You buy a $500,000 mass spec or $40,000 HPLC, the manufacturer sells you a machine (usually from DELL/COMPAQ/HP) with propriatary cards, bundled with their proprietary software. Why? That way everyone with the machine is running the same OS, same software, so when you call because your $500,000 machine doesn't work anymore and you wan't to make use of your $5,000 a year service contract they either send you to DELL/COMPAQ/HP or their own database. They don't want to (and feasibly CAN'T)deal with your custom linux set up or that open source software written by who knows who to do who knows what that somebody has tweaked to work with your insturment. There is oodles of great OSS out there. But there are a limited number of very expensive instruments and a company can't sell an instrument without software. So, One: Nobody is going to sell an instrument without the software they spent money developing. Two: There isn't a huge demand for OSS alternatives, since they already paid for the software, and the instrument works. The last thing you want in your research lab it to make your expensive instrument not work. People get fired for that. Quickly.

  51. Beware application locking in LabView by Anonymous Coward · · Score: 0

    I also work in a physics lab, and we had some bad experiences with LabView. First, it's another language to learn. Sure it's hooking up wires to modules in the gui, but for any semi-sophisticated programming you have to spend some time figuring out the LabView 'way'. Then, since only a few people learned how to do this, in order for changes to be made you had to convince them to change the program. Finally, when one guy left, he set the application lock so that no changes could ever be made (equivalent to deleting the source code). This was just data acquisition, the data was then imported and analysed in a c based analysis program.

    So for the next thing that was built, the national instruments cards were driven by Comedi and all software was written in c++. Everyone basically knows c/c++, so improvements, changes were easy. Also, the code was automatically backed up, and production versions installed by root. And since the analysis was also c, it was integrated into the DA. Nice, and still in production usage!

  52. We Are Doomed ... by Mooncaller · · Score: 0

    Microsoft is determined to take over instrumentation. It is a Buisness priority. It would be very bad for them if the cheap comodity hardware, that everyone wants, was running Linux. What is in the lab soon gets to production. That means assemblers, testers, technicians, prduction engineers might get a lot of exposure to Linux. If they see Linux first hand, they will realise that it is not big and bad and only for geeks. At least some of the non-computor geek types in this catagory will give Linux a try at home. And this would be a major crack in the MS desktop Monopoly. All manufacturers of instrumentation are within MSs sights. Some have already been taken over. The long term goal for MS, is to have all instrumentation running Windows ( even though this is assinine). Windows only drivers will be supplied and the interface protocals will be propiatary. On top of that, the instruments will come with a EULA that will prohibit the instrument from being controled from a system that does not have a valid MS lisence. Technical and legel problems have prevented much success. The lates anti-trust coart case also put a major dampaner on things. But with the disruption in the industry caused by the current economic turmoil, MS sees a perfect time to let slip the dogs of war. And no, this is not all hot air and paranoia. I have seen indications of this for at least four years.

    1. Re:We Are Doomed ... by dammitallgoodnamesgo · · Score: 1

      *cough* They were (are) also determined to take over the STB market. They've just sold their shares in Telewest, and in the (world famous) research building I'm in, I think all the STBs are running a non-MS OS. VxWorks mainly. And the guy earlier who mentioned NT was a "Real Time Operating System" - cheers, I needed a laugh

    2. Re:We Are Doomed ... by Mooncaller · · Score: 1
      I wish I could comment on what is happening right now at the huge T&M company I use to be with. Its pretty disgusting, e.g. imagine a highly complicated real time measurment device using WindowsXP. Other then a few choice tidbits, I would lituraly be puttting some of my friends jobs at risk if commented farther.

      Q. How do you design the a Windows based O-scope?

      A. Use Windows to start up an O-scope app which shuts down Windows save some GUI stuff and effectivly becomes the OS.

  53. Linux for Research Labs... by Anonymous Coward · · Score: 1, Informative

    I've worked at Princeton Plasma Physics Laboratory (A US DOE Lab) and we were using Linux for our visualization cluster...despite that it was based off of the Princeton University one which was running Windows.

    My current work is at Rutgers University's Dataman Lab working on wireless sensors from Berkeley University and we also run Linux to program for TinyOS.

    So all I can say is that there are some places where the researchers are using linux

  54. United Electronics PowerDaq by Anonymous Coward · · Score: 1, Informative

    United Electronics, www.ueidaq.com, make data acquisition cards similar to National Instruments and have linux driver support. Check them out.

  55. Linux and LabView? by rco3 · · Score: 2, Interesting

    We have a lightning research group (previously mentioned on Slashdot here and here). We use LabView 6.1, on RedHat (7?), to communicate with PIC microcontroller-based instrument control boxes out in the field, to continously monitor the local electric field (which is a good indicator of the favorability of lightning initiation, either natural or triggered), and to arm, calibrate, and disarm all of the oscilloscopes in the various experiments. We leave the system unattended during the winter months, just in case a frontal storm comes through and we get a strike within a half kilometer or so...

    We use the Comedi drivers to interface with our National Instruments DAQ card. .VI files are available to access the Comedi drivers from LabVIEW, and our fields monitoring program appears to have been running, unattended, without restart, for over 100 days on our dual Athlon MP 1900+ box.

    And if you can't program in LabVIEW, you might oughta practice asking if I want fries with that burger.

    --

    Ce n'est pas un vrai mouvement de robot!
  56. Work with what you have by kha0z · · Score: 1

    A lot of times, especially in academics, you just have to work with what you have. The truth is that its a money thing. Whoever it was that was responsible for the purchase of the lab equipment also had to figure out the total cost of the support contracts and all the other cost analysis that has to do with the procurement of laboratory equipment. This holds true even in the corporate world. Even if we, the researchers, students, lab technicians, developers, would prefer a different solution or prefer to work on different platforms with different tools, it really doesn't matter since it's technically not our lab and our equipment. Now if it is your lab, then the game is entirely different.

    --
    kha0z
    Master of ImportChaos.com
  57. QNX - Free as in beer by Animats · · Score: 1
    There's the free version of QNX, which is what you want if you're controlling something important. You don't do real time control with Microsoft software if it has to work. (Yes, there's a version of NT for embedded systems, but it's not that popular.)

    Linux isn't really mature yet for real-time control. Another year or two, and it might be a contender.

    As for Visual Basic, my controls people all want to use Matlab.

    1. Re:QNX - Free as in beer by Anonymous Coward · · Score: 0

      Correct me if i'm wrong, but the free QNX version u can download (RTP) is different from the *real* real-time os called QNX (that is of course commercial).

      So if u need to do reliable real-time jobs, prolly u should choose the commecial version.

    2. Re:QNX - Free as in beer by Animats · · Score: 1

      The free version is x86 only and doesn't come with the tools that let you build a custom boot image for an embedded system. Runs just fine on most (not all) x86 desktops, including the real-time features. If you buy the commercial version, you get support for more CPUs (ARM, PowerPC, etc.), the ability to make boot images, and extra tools useful in embedded development.

  58. Use Python instead of VB by failrate · · Score: 3, Informative

    It's free, supported, works on most platforms without rewriting the code, and has simple wrappers/interfaces for all kinds of programming languages, so you can still use those DLL's.

    --
    Voodoo Girl is the bomb!
  59. VB and data acquisiton by efedora · · Score: 3, Informative

    I must disagree with the VB bashers here.
    Our shop builds test equipment with lots of analog and digital I/O - some of it high speed.
    We started off 20 years ago using C but switched to whatever-the-current-version of Microsoft's BASIC was at the time. Each system was unique and you can't beat VB for fast coding/debugging.
    In the beginning we had to write assembler code to access the hardware regs on the acq boards for speed but when DLL's began to be supplied with the hardware things got much easier. The huge library of controls and DAQ add-ons for VB just cannot be ignored. For a laboratory the advantages would be similar - fast prototyping and debugging for unique applications with lots of off-the-shelf code and low labor costs. VB has it's faults but for this kind of work it is well suited.
    There is really no economic advantage to using free software in this instance.

    1. Re:VB and data acquisiton by Mooncaller · · Score: 1
      VB is suitible for very trivial things, or temporary solutions. It is only through intimidation by MS that VB ever got a foothold in this area. It is far easier for a vendor to provide drivers that have an bindings for Python, then for VB. VB was designrd to write macro viruses in. Its use should be limited to that. Any other application is inappropriate.

      P.S. I write instrument drivers for a living.

    2. Re:VB and data acquisiton by Lumpy · · Score: 1

      exactly...

      I'd like to see one C++ programmer throw together a dialog with a pair of analog meters, 2 control spinners, 3 control buttons and a chart recorder that is dumping to a Comma delimited file.

      All from start to running and logging data in 6 minutes.

      VB does have it's uses.. and when I needed to prove that my boss was a complete idiot and messing up the process at the lab I used to work at.. VB worked great for that.

      --
      Do not look at laser with remaining good eye.
    3. Re:VB and data acquisiton by Mooncaller · · Score: 1

      I could do it in less the 15 min. I know because I do this type of thing every day. Its my job. Its called using libraries. I can do the same thing in Python, with fewer libraries, as it comes with utilities to write coma delimited files, and to handle the GUI stuff.

    4. Re:VB and data acquisiton by Lumpy · · Score: 1

      hell in python and using the QT extensions i can do it in 5 minutes. and perl even faster if you dont care about a stupid GUI.

      the point is that for quick and dirty (and I do mean dirty.. nothing about VB is elegant or efficient) it cant be beat in a windows based lab pc.

      It's that C or C++ on the windows platform is such a pain in the ass that it's not feasable for fast and really dirty.

      --
      Do not look at laser with remaining good eye.
  60. Flamebait, I'm sure... but VB kicks ass now. by shadowxtc · · Score: 3, Insightful

    It wasn't true until .NET, but now I have to say, after using about 1/4 of the languages out there (and that's still a lot), VB has truly matured. I'd say that for anything except embedded software, or that which simply must work on *ix, VB is probably the best choice overall. Consider things like ease of use, learning curve, cost per hour per programmer, and it makes some sense.

    1. Re:Flamebait, I'm sure... but VB kicks ass now. by AvengerXP · · Score: 1

      VB can even make DirectX calls now. What more could they want? I really don't see the issue here, OSS or not, Linux or MS. If it works well, what's the problem?

      --
      Trolls dont like to be Flamebait, because they burn so well. Protect our Troll heritage!
    2. Re:Flamebait, I'm sure... but VB kicks ass now. by Mooncaller · · Score: 1

      As a specialist in instrmentation, I can say that VB is NOT they way to go. Python is a much much better choise. BTW, here is a paraphrase of a MS salesdroids statement I heard in a meeting: "With VB.net, we have fixed all those problems with VB." He did not mention that MS has been denying the very problems he listed for years.

    3. Re:Flamebait, I'm sure... but VB kicks ass now. by ILuvUAmiga · · Score: 0

      And those problems would be...?

    4. Re:Flamebait, I'm sure... but VB kicks ass now. by Mooncaller · · Score: 1

      To many to enumerate. For starters, serious memory issues, timing issues, necessity of overly complicated drivers, encouragment of BAD code, difficulty of maintainance, inability to scale up to even medium sized systems, math errors, bulky mechinisms needed to support REAL code reuse, and lastly, it is available for only one platform.

  61. Re:Labview okay, Igor Better by Nesomir · · Score: 2, Informative

    Labview is better to use to actually acquire the data, but Igor is amazing to display the data.
    I work in an IR laser lab actually doing labview development and it is VERY easy to program with.

  62. Wine? by MikeFM · · Score: 1

    You might look into the Wine project. Maybe the existing interface DLL's can be made to work for you under Linux. I believe that certain Linux programs (like MPlayer) use such methods to directly access Windows DLL's. This lets you go ahead and write code to these interfaces without needing to reinvent the wheel. I'm not sure how well it'll work with your hardware - I guess it depends how it's put together and interfaces to your computer.

    --
    At what price learning? At what cost wisdom? The price is a man's peace of mind, and the cost is his life.
    1. Re:Wine? by Neurotensor · · Score: 1

      I considered this and had a fiddle, but I didn't work out how to get the DLL to talk to the PCI card. I have it on good authority that it's dead easy for ISA cards, but the same person couldn't help with this particular PCI card.

      Most probably it's a matter of time before this approach does work, but this has taken too long already.

  63. Re:Comedi gooooood, APM baaaad..... by meowsqueak · · Score: 1

    Oh yeah and Comedi supports a wide range of PCMCIA data acquisition cards that DO fit in a laptop.

  64. the politics of IT change by spasm · · Score: 4, Interesting

    There's two basic tricks I've discovered over the last couple of years of slowly incresing the use of open source platforms and tools in our research (ok, we do behavioral science stuff, but the politics of IT change are the same).

    First, re convincing colleagues that open source / free software has a role in your work: do something they envy. Produce a tool they want to use, or find some existing software that does something useful and cool, or even just do the great unix thing of tying a bunch of small programs that do one or two things well together to do something that no existing monolithic package really offers. Then point out that it either can't be done on the current platform of choice, or, while it can be done, it requires spending $$$ on some proprietary solution. Doing something like this tends to legitimize the use of the toolset you'd like to use, and gives you a good foot in the door for more abitious moves later.

    Second, re working with third party suppliers who don't currently produce software or drivers or whatever that work with non-MS platforms. If there's more than one vendor who supplies something that does what you want, pick the smallest one. They're more likely to be interested in finding niche markets, less likely to be bogged down by bureacracy when it comes to doing something new or different. And a three-person company is more likely to have two of the three who've recently been working in your field & remember what it's like trying to do the usual research thing of trying to get an existing tool to do something that no-one's done before - hence more likely to give you access to the kind of more detailed information you might need, even if they can't really expend the effort themselves right now.

    Anyway, that's my take on 'what worked' after a couple of years of win-some, lose-some politics around research and IT.

  65. What hardware by Camel+Pilot · · Score: 4, Interesting

    I work for a Navy research lab and we use Linux, Perl, C, Apache, Mozilla, Gnome, Perl/Tk, GnuPlot, etc almost exclusively for our control and monitoring systems. We have had no difficulty controlling Opto22 devices, GPIB, RS422, R485, and one-wire devices. The only windows we use is on the desktop which is unfortunately mandated (see NMCI).

    If you need real-time look into QNX.

    BTW we operate what is probably the deepest running webserver. We have a vehicle monitoring system that is controlled via a Linux/Apache machine setting at depth reporting topside via fiber connection. This system controls power reports temperatures, pressures, inclination, depth, smoke, leak, etc.

  66. imagine by Tuxinatorium · · Score: 0, Offtopic

    imagine a beowulf cluster of clusterfucks of beowulf clusters of free research labs!

  67. Not quite Quantum Computing, but... by mtnharo · · Score: 3, Interesting

    I've been working with one of the Physics profs at my school (U of Rochester) for the past year, helping him update the software they use for cosmic particle experiments. We use a data aquisition board and particle detectors designed by FermiLab. The software runs on Linux, and accesses the DAQ board through the serial port. My job has mostly been adding a GUI to the program, so that the students running the experiments can concentrate more on getting results than understanding the weird command line interface for the program. For more info on the project, see the FermiLab page for the QuarkNet project, and the PARTICLE project page at the university.

  68. Our lab is entirely Linux by bigberk · · Score: 2, Interesting

    We set up a small undergraduate research lab at the University of Manitoba's EE Dept. For the summer we are doing research in networking and telecommunications. All of our workstations are running slackware linux and we find most of what we need in this distro. OK, so this is slightly contrived (we're doing networking after all) but we rely big time upon iptables, tcpdump, iptraf, Sun's java, and lotsa unix utilities. I think people underestimate how many useful tools are in linux.

  69. quick security question by appleLaserWriter · · Score: 0, Offtopic

    How do you check for a buffer overflow on a quantum computer?

  70. My Experience by muon1183 · · Score: 2, Informative

    I'm currently working for a small research group which is part of a particle physics experiment and we are running entirely on Redhat systems, using many excellent open source tools made available by CERN. In my experience, a Unix like environment works orders of magnitude better than a windows environment, especially when it comes time to automate events. I can't even imagine trying to do what we do in a windows environment. It would be an absolute nightmare trying to run most of the program we write.

    --

    There's no sig like SIGSEG
  71. Re:Debian GNU/Visual Basic? by d_i_r_t_y · · Score: 0

    I'm not the only one around here getting frustrated, but all before me have been defeated. It seems I am to be as well, for today I have started to learn Visual Basic.

    While I know Visual Basic (or just 'VB' as it is know in inside circles) isn't highly regard amongst the GNU/Slashdot population at large, it is often unfairly maligned and accidently lumped in with truly worthless languages like Scheme and LISP.

    You mention that you would like to use Free software in your laboratory, but the preponderance of VB seems to preclude that. This doesn't have to be the case. As a counterexample, I give you win-apt-get, which is a Win32 port of the popular Debian apt-get package management program. I am porting this application to provide the Debian community with a third OS base, alongside GNU/Linux and GNU/Hurd: Debian GNU/Windows XP.

    Sure, I had to resort to hand-optimised x86 assembler for some performance critical components of win-apt-get, but I was also able to get a lot of less speed sensitive parts of apt-get, like the Beowulf-clustering code and the paper-clip installation assistant coded quickly with VB.

    I have a feeling that you are overlooking the potential synergistic benefits of Free Software and VB together. In fact, please contact me via e-mail if you are interested in collaborating on win-apt-get. It would be great to see how the world's greatest GNU/packaging system would benefit from the addition of quantum computing concepts. It's behaviour could change depending on how it was observed! Does it install the new update or not? Does it actually install both, but on a Debian GNU/Linux box in a parallel universe? Is there really a quantum copy of Bruce Perens somewhere in another dimension still employed at a pre-Compaq merger HP?

    Sincerely,

    Debian Troll

    damn that's funny, debian troll. wish i had some moderator points. shame about these stuffy moderators...

  72. A couple great alternatives by ZxCv · · Score: 5, Insightful

    My first choice is Delphi. I don't think I'd ever say Delphi is better at creating quick`n`dirty apps than VB, but I would most certainly say that it is completely on par in that area, with the added benefit of being much more powerful. (My opinions here are based on VB6 and Delphi5, which are the last two I used heavily before being liberated from Windows GUI work.)

    The other alternative I can think of is RealBASIC. Their development environment used to only run on Mac OS, even though it could compile apps for either Mac OS or Windows. Nowadays, the environment itself as well as the apps it creates all run on both Mac OS 9/X and Windows, although I've never used the Windows development environment. I've only had limited exposure to RealBASIC, but based just on those few hours, I would highly recommend any fan of VB at least give it a shot--I know if I ever have to go back to Windows GUI work, I certainly will. (It seems it would especially shine for quick`n`dirty apps because it seems to focus more on simplicity and cross-platform rather than feature bloat.)

    --

    Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
    1. Re:A couple great alternatives by Yuioup · · Score: 2, Interesting

      I've been using Delphi for over 2 years now and I can say that Delphi is on par with C++. In Delphi you're not limited to the handful of functions that VB gives you and you can choose to go deeper if you want to, straight down to the assembly level.
      Everybody here on /. knocks Delphi down as another "Quick 'n dirty" development environment but it most certainly isn't.
      Yuioup

    2. Re:A couple great alternatives by ZxCv · · Score: 2, Interesting

      My point was that Delphi is the best of both worlds: it was equally powerful whether you needed it for a quick`n`dirty GUI app or an extremely complex project.

      --

      Perl - $Just @when->$you ${thought} s/yn/tax/ &couldn\'t %get $worse;
    3. Re:A couple great alternatives by dna_(c)(tm)(r) · · Score: 1

      But the question wasabout FREE software choices, delphi isn't (in both senses) AFAIK. More of a politicaly correct alternative, maybe ?

    4. Re:A couple great alternatives by j-pimp · · Score: 1

      Auctually you can call assembly DLLs in visual basic. I've seen my friend, a mechanical engineer do it. The man could do more with a 133Mhz pentium running Windows95 than I could do with an ultrasparc

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
    5. Re:A couple great alternatives by LordKronos · · Score: 1

      Auctually you can call assembly DLLs in visual basic
      Yes. But the DLLs are written in something other than VB. With Delphi, you can write inline assembly. No need to learn or use another language so you can write an assembly DLL.

    6. Re:A couple great alternatives by slimak · · Score: 1
      No need to learn or use another language so you can write an assembly DLL.

      just need to know asm (in either case)

    7. Re:A couple great alternatives by red_gnom · · Score: 1
      Do you want free Delphi? No problem.
      Kylix is a Delphi for Linux. If you don't mined to develop GPL code, then Kylix is 100% free.


      Kylix

    8. Re:A couple great alternatives by j-pimp · · Score: 1

      I hardly think that learning enough C to write DLLMain() ( __asm{ foo eax, ecx;}} is really that big an issue. Also, anyone who is serious about VisualBasic know enough C to understand how to do API calls.

      Now while I never used Delphi I realize that it is a "Real Language" that compiles to real executables. So in that regard it is a better solution. However, if your number crunching code is written in assembly, C, perl, lisp, or whatever "real" language you choose, it don't matter what your user interface is written in as long as it don't takje a gig of your ram up.

      --
      --- Justin Dearing http://www.justaprogrammer.net/ We're just programmers.
  73. Why not Gambas? by Anonymous Coward · · Score: 1, Informative

    Why not use Gambas for the VB stuff in Linux?

  74. C++, great suggestion by CaptainSuperBoy · · Score: 1

    There is only one reason to use managed C++ in .NET, and that is if you already know C++ or you want to bring in existing C++ code. That's it. If you're going to do .net development, and you don't know either language, there's absolutely no reason to learn C++ over C#. The only reason it's there is for compatibility. Also if you have a Java background C# will be much easier to pick up.

    And one more thing, drop the elitism. Maybe VB isn't the answer to your programming questions, but when I need a graphical app done in a couple of weeks I can think of no better tool. I'm not going to restrict myself to perl or whatever language is en vogue with the free software community.

  75. So... if it works then nothing needs to be done. by fireman · · Score: 0

    Does that mean that just having windows means that the job has been done?

    --
    M.
  76. I know. by twitter · · Score: 2, Interesting
    The main thing is you need to have specs for the card. Such things don't seem to exist outside of NI's vaults.

    Ah, that's what my knee jerk reaction was all about. Discresion is the better part of valor. Use hardware that's got drivers already for new projects and use the old junk till it blows up. I presume someone will have sucess stories that I was only able to dream of four years ago.

    I get ill thinking of VB. Learning C++ and the win95 API was easier for me. One week of happy brainwash VB training tape scarred me for life, "methods" twitch. I saved myself from that hell with a nice little "windows XX API how-to" book with examples and a watcom compiler. It made sense and offered greater control. MFC was required to talk to devices and it was a step in the wrong direction but control, display and communication modules were still seperate Others were lazy or stupid and spageti code VB was used on many other projects with horrid USB interfaces.

    Good luck, you suffer a legacy of bad choices and are going to be forced onto VB. So you enter the downward spiral of the M$ maze, chasing mindless changes, befudled by tools that don't work the way they should and mysterious crashes, delays and poor data rates. You shall suffer nights of rebuilding win3.1 machines to take care of those old DA boards that don't have win2k much less XP drivers. If you can even read the poorly commented and ill disciplied spagetti code you have, you will suffer the pain of "porting" VB 4, 5, 6 to whatever is the current version, which might require complete re-writes to save time. Read letters to the editor in VBmagazine if you don't believe me. The more you learn, the worse it looks. Don't gripe too hard, the boss might have written some of that crap.

    When it's all said and done, using a seperate machine listen to the device and learn how to talk to it might save you time. Selecting reasonable hardware for future project surely will save you time. Once you get aquisition working once you will be able to replace legacy stuff that breaks. The VB/disposable hardware route can hardly be called a success story.

    --

    Friends don't help friends install M$ junk.

  77. federal law requires commercial over development by rpalmeira · · Score: 2, Interesting

    In some cases, esp. where federal monies are concerned, law requires that if a commercial solution exists already that they be used over development of similar/same alternatives. So is the environment is primarily windows (or some versions of linux) then development with free software, where similar commercial products are available, can be illegal.

  78. ummm by geekoid · · Score: 1

    "Visual Basic [seems to be] the preferred solution for controlling the experiments"

    all I can say it:
    msgbox "EEEEeeeek!",4112,"Error!"

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  79. VB solutions on OSS by micker · · Score: 1

    I did a concise writup of the available solutions for using VB in Linux over at the linuxcult (linuxcult.com) site.. While the slashdot dictators didnt see fit to post it, you may find it an interesting read. It's entitled Basically Speaking... You can find it in an index over there....

    --
    Words are only yours until someone else uses them...
  80. To: ALL; Is Linux important to you? by geekoid · · Score: 1

    Really important?
    Then get an MBA, study business and become the decsion maker at a large company. We must have people in those positions for Linux to really move.
    You need to be playing golf with CEOs.

    Most of you seem bright(at this threshhold) so I bet you can do it. Sure, you can't do what you love dureing working hours, but that is the sacrifice.
    Besides, how much of your job do you love? If its like any job I have held, its about 10%. Which is all the coding and design I usually get. Most the time I'm in meetings, or over in QA exlaining to them, yet again, that it is there job to catch problems and send it back to the developers. The developers can not reasonble do an accurate test on a development box. that is why we do a 'development' tests.
    yeesh.
    sheesh

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  81. I wrote some programs to do QC simulations by jfern · · Score: 1

    I'm also doing Quantum Computing research, particularly, quantum error correction. I a program that simulated a the process of quantum error correction in terms of the Quantum state. That's rather inefficient, since you need a vector of 2^n elements to simulate an n qubit system. But after using that I was able to figure out when quantum error correcting codes are corrected, and then wrote a specific program to calculate those.

    Here's the paper I wrote:
    http://arxiv.org/abs/quant-ph/0209058

  82. Free Your Minds! by Anonymous Coward · · Score: 0

    The /. editors are controlling what you see, and therefore what you think. Blog Slashdot!

  83. mono::project and .NET by BillsPetMonkey · · Score: 0, Offtopic

    ASP.NET is nearly finished, and there's already an alpha (?) ASP.NET server available for Linux here. Code new apps in as web-based services or in C#/Windows .NET Forms and port to GTK# or Qt# when ready.

    That's the way we're doing it.

    --
    "It's not your information. It's information about you" - John Ford, Vice President, Equifax
  84. Re:My experience with the Linux. by Anonymous Coward · · Score: 0

    I remember this same troll from a couple of weeks ago.

    Get a life. Loser.

  85. Cygwin is a good ice-breaker by warriorpostman · · Score: 1

    If the issue is convincing colleagues to switch over to non-conventional-Windows solutions, I would at least spread the word about Cygwin, which is a good switch over environment. It gives them a chance to use Linux (and assorted "free" software) on top of Windows.

    I used to work for a company that did government contract work distributing radio frequency calculations, and we basically all had dual-booted linux/win2k boxes with Cygwin running on the Win2k side. Cygwin was where I got my walking-feet for eventually pursuing the use of Linux whereever I could manage.

    As for Visual Basic...ewwwww! I work in an all Windows shop now, and they are all anti-Unix, for no good reason other than they are intimidated by the command line. However, using Cygwin (setting up your build system, versioning, etc), would be a good way to convert people slowly, and still be able to fall back on Windows-related development apps. The more I look around on the web, it seems like there's so many ports of popular, quality Unix development packages/apps to Win32, that the mythic oppositional relationship of WindowsVsUnix doesn't really exist so much. Everything's so hybrid. Have you seen all those jokes on Slashdot where people post about running Cygwin on top of Wine on top of Unix...etc etc...?!

  86. In my experience... by mhfs · · Score: 4, Informative

    I'm working in a lab doing "Quantum Chaos" experiments (manipulating cold atoms to investigate the difference between quantum and chaotic physics). We use the free (as in beer) version of RTLinux to run all our experiments, as timing is important and we didn't want to implement a hard real-time system. I coded most of the gui for the experimental interface using Borland Kylix and everything works quite nicely (apart from some evil memory leaks).

    The real problem is the hardware - a real guru set that up for us. He wrote the "drivers" for the I/O cards himself (although that's meant to be a little easier in RTLinux than for normal linux) and also got a scientific grade CCD camera working even though the only linux drivers available were outrageously outdated. Sadly, we will definitely face some issues in the future if we want to upgrade to a new kernel!

    Personally, I think the only way to move data files around is with a decent shell. Rename is perfect for all those times I put the wrong parameter in the file names of 160 different data sets. Most of the time our lab works quite smoothly with regard to the OS itself, and it's certainly an improvement on the old Win95/Scientific workplace combo of the past!

  87. Re:Offtopic?? by Anonymous Coward · · Score: 0
    What does this have to do with running a lab?

    Seems like the moderators are on prolinux crack again. Not that I have a problem with Linux but a +5 for an offtopic subject? Come on.

  88. Write an Interface by invckb · · Score: 1
    Computers are cheap, proprietary hardware is not. Your hardware does something and outputs data. Cobble some kind of software/hardware interface between a second computer of your choosing and the equipment, and have at it with whatever tools strike your fancy.

    I used to work (not too long ago), with systems that run Microsoft/SCO Xenix 286. They are still in service, and I get a consulting job out of them every so often.

    The main thing is to control the equipment, and get the data out. Process it somewhere else. Don't waste your time or the vendor's time.

    The time to specify things like OS and computers is in the purchase order.

  89. Another way (with Python) by lolop · · Score: 1

    We have developed a data acquisition and device control system in my laboratory (LURE - Orsay, France).
    I work from 1997 on this project, it is an extensible system with focus on physical elements of the experiement (not on devices to realize the work) with a 'linear' view of the experiment, and with a (maybe complex) system to ensure parallel processing of tasks when it can be.

    It is written with Python (so has no platform dependancy in its kernel).

    It is on the way to be LGPLed (I does the legal stuff for that request and wait for the reply). More news in Python announce when (and if) I get a positive reply.

    --
    -- Laurent Pointal
  90. Different industry, different experiences by Anonymous Coward · · Score: 1, Informative

    I work for one of the larger visual effects companies, and from our direct experiences, and from what I know of our competitors, linux is now basically a given. Over the past 6 months, we have yet to talk to a vendor who doesn't have a package for both windows and linux, or has a concrete "in 3 months" type schedule for their linux product line. We just got a product demo for a new software package written by a startup company, and the 2nd/3rd thing coming out of the rep's mouth was "linux version in 2 weeks". That's an amazing contrast with the laboratory field, I guess - It's been amazing how much the studios have jumped on the bandwagon. To guess, I think a lot of that driving force is the general cost savings - labs that are less "profit"-driven have less incentive to try new ways of doing things, but the visual effect industry is so cutthroat, everyone's always switching to the next "great" thing, and right now, that thing is linux. Will it stay that way? Almost definately, but you never know...

    Now, if only someone could beat the SCO guys with a clue stick, we'd be all set. I haven't had any allback yet on that crap (no senior management wandering over asking me for comments), but it's bound to come if there's any serious setbacks in the case. Here's hoping that IBM works 'em over.

  91. Use Winelib? by Anonymous Coward · · Score: 0

    Shurely with winelib you could compile a program that used the windows dll in linux... not too sure of the details, but I spose thats what theyre mailing list is for.

  92. Northwestern University uses... by the_truk_stop · · Score: 1
    GNU/Linux in some situations.

    Almost the entire math department (i.e., the 4th floor of a massive building called Tech) uses GNU/Linux with Gnome for their research projects and simulations. Down on the ground floor, at least one lab is loaded up with GNU/Linux and IceWM (see Intro to EE lab instructions under the "Hardware" section), because they needed real-time responses while running some simulations and such. It's heartening to see my university using OSS.

    -- Kurt

  93. Problem: stupidity by dos_dude · · Score: 0, Flamebait

    There may be (as always) technical solutions to this problem. But they won't touch the core of the problem: There doesn't seem to be a free market for scientific equipment. If you get a grant, you buy what you need. You don't have to care about the price. And that's why scientists will shell out incredible amounts of money to some company for a bunch of wires they could buy at Radioshack. I think that the same line of reasoning holds for the software scientists are using. As long as they do get their data they don't care about the quality or price of the software. They just use it. If the scientific community would be more aware of the kind of shit they are putting up with right now, they could force the companies that live of their money to do almost anything. Today, however, scientist are the most stupid flock of sheep you are likely to meet. Stupid software for incredible prices, and just think about the stupidity with which they publish their papers, granting publishers the right to hide their work from the public and sell it for (yes, again) incredible prices.

    1. Re:Problem: stupidity by dos_dude · · Score: 0

      100% Flamebait??? May be I should have noted that I myself am one of those stupid scientist. What we are doing is stupid. Trust me, I must know.

  94. Repeatibility??? by Mooncaller · · Score: 1

    I've been doing instrument control for nearly 20 years. I have always seen better duplication of results from machine to machine with HP-UX, Linux, and SunOS ( even between machines running different Unicies) then I have with any Windows machine with itself.

  95. control or log by Anonymous Coward · · Score: 1, Informative

    control = embedded space (eurotherm or others for temperature control)
    log = whatever (chose labview...errr my boss chose labview ;-) but I couldn't care less)
    As an engineer, safety is one of the first things that should come to mind.
    And in my experience embedded space provides this with much higher accuracy than any OS on any PC.
    Ofcourse on Slashdot you read this extreme data logging things like over 6 months-extreme weather: to me those people did the right thing: linux-labview-comedi drivers.
    But for logging-in-the-lab: anything goes.
    e.g. log temperature and pressure every minute: we use qbasic-talking about cost control ;-)
    No, we're not a russian lab...
    For controlling motors and controlling through extreme high frequency daq: guess I would drop anything of the above and go with labview and the OS with the decent-driver-at-the-moment

  96. Re:When I was a work study [OT] by Anonymous Coward · · Score: 2, Informative

    This is going OT but is importand none on the less

    Windows NT, 2k, and XP have different users as well but the internal access rights are different. Any program can access the registry in Windows no matter what the user priveldge is. Thank Windows95 for making this standard.

    There I was typing away on a post marking you as a troll and then it hit me... You have been using regedit.exe on winnt based systems! Have a look at regedt32.exe, Done? You must have noticed the "security" menu on top. Here you can set full acl`s on every value or "directory" you want. All sorts of fine tuning options there. This beats the unix configuration system by like a hundred times on security. Its more complex (very bad in security land) but also offers great posibilities being able to limit acces to each induvidual value with an ACL with options (dis)allowing induvidual users (or programs run in their context) from querying the value, setting the value, creating subkeys,listing subkeys,"reporting","linking",removing, writing DAC data,writing owner and reading security info. (can`t translate them all from my localized version)Compare this to the crude all or nothing mechanism split by owner, one group and everyone else on a whole config file.

    Then add the fact that NT kernels have had full filesystem ACL`s (and remote filesystem acls) as well as basic mandatory acces controll (user rights policies) while linux has been strugeling to get even minor posix suport for ACL`s and has been doing nfs by default for a while now... And lets not forget the full acounting features posible on all of the objects with ACL`s on them in winnt.

    Now dont get me wrong any OS that comes with a webserver that has had a plain dotdot bug in its filehandling (same bug in win95 remote filesystems) enabled by default is to be laughed at first befor being considered for use on the internet, but blame everything microsoft (office apps, "servers", scripting features, shell, manuals, patching policies, backward compatibility policies, monkey-see-monkey-do training, source distribution policies) for that except the security design of the NT kernel

  97. Specifications and how to get them by Hellkitten · · Score: 4, Insightful

    [Hardware Manufacturers] seem to get very upset when somebody asks them what the register-level interface to their card is.

    What exactly did they say when you asked? Have you made sure that they understand what you want to do? (Create a driver that makes the card work on linux, that anyone can get, potentially increasing the sales for the card). The key is to present the request not as "we need this" but as "you will get this if we can get that". They may still not be willing to help and then you explain that whenever you do the purchasing decisions you will prefer a company that provides specifications (or linux drivers). They still might not listen so you may have to wtick with windows, just make sure you remember who foreced you to it whenever you get a budget to buy new equipment.

    --
    - We are the slashdot. Resistance is futile. Prepare to be moderated -
    1. Re:Specifications and how to get them by HeyLaughingBoy · · Score: 1
      What exactly did they say when you asked? Have you made sure that they understand what you want to do? (Create a driver that makes the card work on linux, that anyone can get, potentially increasing the sales for the card). The key is to present the request not as "we need this" but as "you will get this if we can get that".

      Speaking as someone who spent a few years working for a manufacturer of data acquisition/control interface hardware, this is not very likely to work. The mfr has a much better idea than the average customer of what the market is like. He has to in order to stay in business. That customer only knows his own needs; the manufacturer hears from many customers across a broad spectrum each day. Now, an intelligent company will try to give you all the information you need to write your own driver so you're appreciative and more willing to deal with them again, but they're not likely to take the time to write and support one just because you say their market share might rise.

      I started my career as an EE working in customer support before I was allowed to design anything; I've heard all these issues before many times. In fact, I was surprised at National Instrument's attitude: about 10 years ago I was designing a GPIB interface card and NI very kindly lent us (lent, not leased. Free!) a GPIB bus analyzer for about 6 weeks or so for debugging. Other than a few possible customer referrals, there really wasn't anything in it for them.
    2. Re:Specifications and how to get them by Hellkitten · · Score: 1

      Now, an intelligent company will try to give you all the information you need to write your own driver

      There are really only two possible reasons to keep the specification secret:

      The specification would reveal how the hardware is made, and enable people to steal the design. (but if the disign is so unique they could patent it so why bother)

      The specification would reveal that the hardware is a piece of shit and the supplied drivers use dirty trics to code around it.

      --
      - We are the slashdot. Resistance is futile. Prepare to be moderated -
  98. On the plus side by jfern · · Score: 1

    You don't have to worry about Windows crashing. Decoherance amazingly is usually a problem before Windows would crash by itself.

  99. A mixture of Open Source/Commercial Unix/Windows by grahamlee · · Score: 2, Interesting

    I'm a Physics UG at the University of Oxford, and have done the odd part-time job writing code for some of the groups (I worked for CMP last year and will start in the Teaching Course next month). All of the code that I have written was released as OSS, because other research groups can then modify it and use it in their experiments, without affecting the originality of our work.

    The systems I worked on in CMP were almost entirely Red Hat, and some of the code I had to work with was being ported to C/Linux from Delphi/Windows it was stupid to ask people to pay for Delphi licenses just to tweak a few lines of code in a detector controller. Some of the older computers were running Win95 with X11 and SSH clients and were just used as terminals for the beefier Linux boxen.

    The computer I'll be using in my next project is a little meatier, a four CPU Sparc box. There are a couple of these in the department, each with a few dozen SunRays attached. The code developed on here will still be OSS, and the box has a fair amount of the GNU userland sitting side-by-side with the Solaris rubbish.

    Other than that, my knowledge is a bit sketchy and is inferred through what I hear or see around the department. There are a number of Windows workies around, because software like SPSS or Origin or Minitab only exists on Windows, and there either don't exist Unix or Linux alternatives, or they aren't yet mature enough to want to switch onto. Many of these workstations also have Cygwin or at least DJGPP.

    But the main point to be answered is whether or not a research group should be OSS. My opinion is yes as far as in-house code is concerned, because this facilitates collaboration between groups using similar code, hence quickly smoothing bugs. OSS also neatly fits the philosophy of shared information many scientists have.

    Should the computers all use Open Source operating systems? I just don't think this should be a requirement in most cases. Yes Linux and the BSDs are stable and mature enough to be used in a research environment, but then so are Slowlaris and Mac OS X, and you can develop and build your code on both of these systems too. The only situation OTTOMH in which having an OSS OS would be directly beneficial is when custom-built embedded devices are required, for instance in HEP detectors or beam controllers. In these circumstances the ability to modify the OS kernel would be useful, but if you're just developing your C code in a Unix environment to be used on bog-standard Unix or Linux machines, then a good set of manpages and a functional cc is really all that's needed.

  100. Ever try LabView? by nzyank · · Score: 1

    I wrote a program for a commercial researchers' data collection tool in LabView. Still shipping so I won't mention the name, but MAN did it suck. Anyone who's written anything in LabView can just try imagine writing a major commercial product in it. Try debugging pictures....lots of fun. Just stick with the bloody VB stuff. At least Basic was designed to do stuff. Delphi is pascal which was meant for teaching programming. If you really want to do stuff use Visual C++. At least it's mature and certainly has more people to ask for help than GCC. I hate MS, too, but I'm a realist. Stick with it. Suck it up.

  101. LabVIEW SUCKS for serious projects. by nzyank · · Score: 2, Interesting

    Great for prototyping. Horrible for large projects. Try debugging nested loops. What a friggin mess. Anyone who suggests LabVIEW for anything other than a one-day project should be shot. I spent (wasted) 1 1/2 years doing a commercial project with it. Seems nice at first, but slowly you very quickly get diminishing returns from it. I'd rather do stuff in assembler. At least I can see what the fuck's going on. Optimization sucks because who the hell knows what NI does under the hood. Go with VB or C/C++ or ANYTHING before LabVIEW. Please.

    1. Re:LabVIEW SUCKS for serious projects. by Anonymous Coward · · Score: 0

      Same here. NI makes LabWindows/CVI, which has C under the hood, but makes it really easy and nice to make a GUI and do all the instrumentation stuff

  102. Try wxWindows + Python by mrkh · · Score: 1

    I've had good experiences using Python + wxPython (wxWindows) for control tasks (and this was a few years ago, so the toolkits are more mature now). We were interfacing to a PCI A/D card and another card we made ourselves - the control side was hacked up as a C DLL, then exported with SWIG.

    Granted, I did this more because I didn't like VB and it seemed cool rather than a free software thing, but it works well and I'll use the same combination again. This was on a Windows 98 platform, but only the control side would be platform specific.

    However, using Python (which most people have never heard of) and wx can be hard to justify if people are looking over your shoulder demanding you use VB, so be careful.

    1. Re:Try wxWindows + Python by tvaught · · Score: 1

      Yes, yes...and with SciPy you can do signal processing, optimization, charting, etc. all in one environment.

  103. GPIB cards by johannesg · · Score: 4, Interesting
    I have been doing my own little battle with Agilent for several years. I want to have a Linux driver for their GPIB cards, but they are utterly unwilling to provide it.

    Recently this went so far that I had a very candid talk with one of their sales people. I made it clear I would move to a different manufacturer if they would not provide drivers or some means for me to write them. He would ask within their organisation. Several days later I received an email titled "Solution to your GPIB driver problem". To my astonishment, it gave contact details for several other manufacturers of GPIB cards!

    So, isn't this weird? They'd rather lose our custom than provide us with a driver, or sufficient details to write our own! And given the amount of stuff we are buying from them that's a pretty big decision.

    So now we are talking with National Instruments, and they are very pleased to have us as customers. Moreover, they have Linux drivers for their GPIB cards. I haven't seen these drivers yet, and I sure hope they will be of acceptable quality.

    I'm interested in hearing what experiences other people here have had with GPIB cards under Linux - especially those of NI, which we are about to buy. When you mention lousy Linux support, does that include their GPIB cards?

    1. Re:GPIB cards by JGski · · Score: 2, Interesting
      The fact that the rep steered you to NI and other vendors is an indication that Agilent still have the ethics of the HP Way! If they can't provide, they didn't lead you on; they told you how to solve your problem, regardless of the immediate economic impact. In my book, that earns them brownie points for the future even if it isn't GPIB cards. I can't say the same for HP ethics now but that's another posting. That "weird feeling" is the astonishment of seeing ethical behavior!

      As a 9yr veteran of Agilent/HP T&M (now ex) I can tell you some of the reasons why they won't support Linux or, at least, offer "NoMAS" information (No Manufacturer Available Support: "accepting this information constitutes a legal contract agreeing to never request support or otherwise use any company resources regarding this information") like the old HP Corvallis used to for "insider information" about ultra popular calculators (HP41, et al).

      The number one reason is: support cost or concerns about support cost regardless of such a NoMAS. There is this admirable concept at Agilent (hell, I was heavily involved in creating the first formalized version of it, so it must be good ;-) ) once called "Intrinsic Support" which basically asks "What do we owe a customer contact who simply possesses one of our products regardless of its current support life status or whether this is the original purchaser of the product (assuming not stolen, right)?". Well, it isn't nothing. It's at least "best effort", that is, other product support issues are the priority but if nothing else is on the burner... The "Real" HP always did this anyway. It's sometimes hard to assess those support priorities though so there is a risk of "cost leakage" that can be scary.

      Unfortunately one of the side-effects of insisting on observing a more ethical customer relationship has been reduced incentive to innovate or allow customers to innovate in hard times for these kinds of cases.

      The other element in this is that the key R&D lead/influencer for these products has been enamoured with the Evil Empire for sometime and has gone completely Cult Koolaid on .NET at the expense of rationality, IMO. You might have "picked up" on this phenomena on their web site! :-p

      BTW I've had the same request rejected also, and I had the power of an entire Agilent product division pulling for my cause. Hence, we're going with NI for our product development and an NI GPIB card will be bundled with this Agilent-sold product which will be available on platforms other than Windows! This sounds paradoxical but Agilent, like HP, has product line profit & loss so product line managers are free to "do what it takes" to make their numbers even if that means using a component that competes with another division. It's actually a wise strategy overall.

      To the GPIB-hater: if you want to foot the bill for replacing the vast installed base of both HW and SW that is based on GPIB, please, write the check now (easily in the ten of billions of $) and everyone who currently slogs GPIB code will gladly switch to some other standard. Until then, this is what we've got. USB would be nice but no one is going to pay to replace equipment that is perfectly functional, fully depreciated and still generating value despite being purchased decades ago. On top of that, in most cases, it's the physics of the measurement that determine throughput and not the i/f to the computer, so GPIB ends up being perfectly acceptable on all counts but programmer comfort! That darn HP/Agilent and other vendor stuff were made with too much reliability! Some of the newer stuff has various newer i/f but for products that have a use life of 20-30 years, even USB is new and untested in the grand scheme of things - it could become a has-been i/f in a blink like Mac ADB is now.

      JGSki

    2. Re:GPIB cards by Rich0 · · Score: 1

      My guess is that the Agilent GPIB card exists in the product line so that they can make an end-to-end solution. Their profits probably aren't in the GPIB card but rather the $50k piece of equipment it talks to. They don't mind selling you an overpriced adapter cable or interface board for their equipment, but it doesn't ruin their day when you find you can get the same product for less money.

    3. Re:GPIB cards by JGski · · Score: 1

      Yes, it's they're pretty much me-too product line filler for them - I'm sure the PL manager will deny it, but it's been since the late 80's that there was a compelling value prop for HP's HPIB controllers. Imagine what the margins are on PC GPIB cards, especially with the overhead and support - definitely a loss-leader. As for cables, et al., you can almost always find them cheaper. However it may not be cheaper when you consider the overhead of a typical corporate purchasing department. I know that the cost-per-PO at HP in the mid-90s started at roughly $200 for simple purchases. If the vendor was new even higher due to setup time, credit checks, reference checks, etc. This wasn't even excessive by Fortune 25 standards back then. This why companies typically start using P-card (corporate credit cards) - even with the possible lossage, it's still cheaper. Only control freaks who don't know accounting usually resist instituting them in big companies. Suddenly just throwing in a $100 cable that could be had for $30 isn't so wasteful. There were times when a customer would want a LaserJet for their equipment added in with an instrument purchase. We'd tell them that it was cheaper to just go down to Fry's, since HP didn't warehouse them themselves but would simply order one from a local wholesaler or retailer (even Fry's!), slap a standard 40% uplift to the price for "handling" and ship it 2-4 weeks later. A lot of the time was still easier and internally cheaper for them to take the hit than deal with purchasing through another vendor. Also you could avoid IT oversight and "buy-the-3-year-old-printer-because-it's- our-standard" rules that way. JGSki

    4. Re:GPIB cards by Neurotensor · · Score: 1

      Actually the NI GPIB drivers didn't look too bad OTOH, although I've been warned that they might not build under Linux 2.4, you may need 2.2. But porting 2.2 to 2.4 is usually pretty easy.

      Fortunately the NI GPIB cards seem to use the same chips as their competitors, and that means you might be able to use any other GPIB driver. I've seen other GPIB card manufacturers who do give nice drivers.

      The NI website, in a hidden corner, advertises that NI has Linux support. Then they link to Comedi. But you can be pretty sure they don't support Comedi in any way.

      All I can say is you should be wary of NI's Linux support, and maybe they don't deserve your custom anyway if that's the only product with support. There are competitors who seem to be helpful, plus the cards are pretty similar. Maybe even NI's own Windows drivers will work on competitors' cards? (at least the ISA ones?)

  104. Over 20 years in an Aerospace Research Lab ... by Erudil · · Score: 1

    ... and all I've got to show for it is this lousy Linux Journal Article

    Although we use LabView on Windows for most of our low-level instrument control, we couldn't get through a single day's testing without Perl, Linux, and Apache.

  105. Running a Research Lab on Free Software by fireweaver · · Score: 2, Insightful

    All I want to know is why the fuck are the hardware makers so damn reluctant to tell you how to use thier products (as in write drivers for them)? Does Microsoft have that much of a stranglehold on them or is there some other consideration (such as possible appropriation of trade secrets or some other such nonsense.)

  106. Matlab! by erf · · Score: 3, Interesting

    I was in a similar position...I was using Linux to run a laser tweezer setup in our small research group. Linux was such a pain - inconsistent libraries, poor support, flaky drivers unsupported by vendors, etc.

    I switched to Windows 2000 Pro for the vastly superior support for data acquisition hardware, framegrabbers, and so on. Along the way I switched from doing GUI stuff in wxWindows/C++ to Matlab. The GUI stuff in Matlab 6.x is pretty good. It's got a bigger learning curve than LabView but it can also be used to implement much of your data analysis as well, with its vast libraries of mathematical functions and decent performance.

    With the new hardware coming out, our lab now has a standing policy to only purchase items with USB or FireWire interfaces whenever possible, so the PCs don't even need to be opened up anymore. These drivers are rarely if ever available for Linux.

    Use whatever makes your lab the most productive. Standard lab software like LabView, Matlab, and Mathematica are a safe way to implement software since they're so popular and they're more efficient and productive than C/C++ or VB. If you need high performance computing, then go consider F90, C++, etc., but instrumentation should never be controlled like that. You need real time? Buy a real time board.

    1. Re:Matlab! by trtmrt · · Score: 1
      Use whatever makes your lab the most productive. Standard lab software like LabView, Matlab, and Mathematica are a safe way to implement software since they're so popular and they're more efficient and productive than C/C++ or VB. If you need high


      I will be slightly off topic but...
      I would agree with the first sentence. I am not sure about the rest. While gui's and standard functions (fft for example) are easier and "safer" to work with in the applications you mentioned I have had problems in Matlab and Mathematica that made using them not so safe. Mathematica has basically a huge memory leak. In every function you define everything that is ever evaluted in that function is stored (standard calls to clean up things in Mathematica's "main loop" don't work in functions). This means that a simple for loop that sets a variable equal to the counter can drain your memory! Something similar to this happend to me. It took me months to solve this problem (in the end Mathematica support told me about a developers functions that clears the cache). This problem is aboput 10 years old - a friend of mine told me that he had the exact same problem a long time ago which was one of the reasons why he decided against geting licenses for Mathematica for the university he works at. The other reason was the silly price and endless password reregistrations that Mathematica requires. For such expensive software this seems like a bug that should have been fixed in 10 years (or it means that nobody really uses functions in Mathematica). I like many things about Mathematica and I will use it again along with Matlab and LabView since they are good at many things but stupid bugs like this in very expensive software drive me crazy.
  107. Re:Developing GUIs in Linux by ximor_iksivich · · Score: 1

    People would have you believe that to develop GUI applications in Linux, Qt is the way to go. But what they don't mention is that the Qt library is unstable and has no support (for the non-commercial version). So if you have any problems like I did you have to fix it by hook or crook. Better to switch over to GTK.

  108. LabVIEW also runs on OS X by daveschroeder · · Score: 2, Insightful

    ...as does IGOR, which someone else mentioned:

    LabVIEW

    IGOR

    1. Re:LabVIEW also runs on OS X by mounce · · Score: 1

      LabVIEW also runs on OS X, and LabVIEW 7 Express just came out, but how well does it integrate with instruments and old vi's? What has been the experience with VISA and PCI boards on Mac OS X with LabVIEW?

  109. I HATE GPIB by wowbagger · · Score: 1

    I HATE GPIB. I loath it. I am forced to support GPIB when my project has a perfectly good Ethernet port.

    National Instruments has a "driver" for their cards under Linux, but their "driver" does not do things in the One True Unix Way - the driver is more of a shared library you link against your program that provided a slew of functions to manipulate the card. What it does NOT provide is a /dev/gpib interface that you can select(), poll(), and such on.

    I would ask this: if your goal is control, why not use TCL/Tk for the control? That way you get an environment that your end user (the scientists) can play around in without edit/compile/link/curse cycles. You also get a degree of portability.

    Yes, the problem is that most hardware venders do not provide a lower-level programming model - a) because they are afraid of the competition cloning their board and b) because most folks developing software with them want a LabView|LabWindows|HPVEE|DCOM interface.

    However, there is a small ray of hope: the government JTRS (Joint Tactical Radio System) (the new software defined radio standard The Men In Green are wanting) uses CORBA to do all the module communication. Now, if we could just pursuade industry to follow that trend! I'd love to provide a CORBA interface for my network enabled device, rather than the current solutions!

  110. Running a Research Lab on Free Software by Anonymous Coward · · Score: 0

    I work with a research lab and we moved a lot of stuff to linux but we had to write a lot of SW on our own.
    One magic is the use of ascii for communication and data. We also created a pcb with a MC on it that dumps data (our raw data are mainly counts) in ascii. Attach it directly to a monitor ; it solves a lot of problems.

    For display we use plain old X11. Strong learnig curve but VERY powerfull if mastered.

    We had also some comercial prodructs but they were generaly a disapointment.

  111. WTF? by Anonymous Coward · · Score: 0

    "My lab is researching quantum computing, and I don't like the fact that Windows / Visual Basic [seems to be] the preferred solution for controlling the experiments. It's not just a pride thing, unlike many colleagues I know what I'm missing out on, in the free software world."

    Quantum computing with VB? Are you ripping the piss?!! A pride thing? Nice troll. I think you'd better hurry back to CS101.

  112. Some straegic thoughts by Mendenhall · · Score: 3, Insightful

    I am a physicist at Vanderbilt University, in the Free Electron Laser Center, who has been doing various kinds of distributed data acquisition and control for about 25 years. I have run into many of the same problems with closed interfaces the author describes, and am slowly developing a strategy to minimize the impact of this problem.

    First, I try to avoid products which depend on a closed library/DLL/whatever to control them. This has resulted in my shifting away from a lot of PCI-card devices to (when possible) external devices which communicate via GPIB/IEEE-488, rs233/422/488 interfaces, USB interfaces, network interfaces and (I hope soon) FireWire/IEEE-1394 interfaces. For such devices, one can often find programming specifications, although not always. Obviously, using the slower interfaces may result in lower performance in high-bandwidth environments, so it won't always be an option. However, the fastest current IEEE-1394 looks very promising, as it can support speeds that only a few years ago would saturate a PCI bus.

    I have also discovered another interesting phenomenon: 'hidden' standards. In the past year, I became aware of a little-advertised standard, VXI-11, (www.vxi.org), which is a protocol for communicating with GPIB-like devices over TCP/IP. Although one almost never hears about it, a lot of devices support it. Tektronix and Agilent Infiniium scopes use it, and Ethernet-GPIB converters from Agilent, Tektronix and National Instruments all use this. The protocol is open, sunrpc based, and quite easy to implement. However, each company hides any reference to it deep inside the documentation, and basically provides their own Windows dll for communicating with their devices. The Agilent E5810 Ethernet-GPIB converter (a very elegant box) even calls itself a GPIB-LAN interface for Windows, as its official product name, even though it is almost fully VXI-11 compliant and can be used from any platform. I have no idea why they actively _hide_ its cross-platform compatibility.

    <slight advertisement> I am trying to address some of these issues by releasing a lot of the code I am working on to interface various devices. I am a python fan, so I have a sourceforge project PythonLabTools which is a library of open-source code to implement communications with various types of devices which are effectively GPIB devices but run over the net via TCP/IP. I am also adding other classes of interface support to this library. An example is the Verinier Software LabPro, a low-end but quite nice and inexpensive a/d, d/a, and digitial i/o box which communicates via serial and USB. There are also data analysis tools in this package (fitting, et.c), and support for the National Instruments DSTP protocol, which allows LabVIEW to share data over a network, and (in this case) allows a Python program to directly interact with a LabVIEW program. This allows separation of the fancy user interface capabilities of LabVIEW from more intensive data analysis which can be executed in Python. <end advertisement>

    I am looking forward to a day when more and more external devices with published interfaces become available. Internal devices (PCI or whatever), of course, take a lot of work to make drivers, but since communications with external devices can be carried out in userland, they are easier to provide cross-platform support for. I am alos watching as bandwidth on external interfaces rises to the point where there may not be any need for internal cards and the hassles they create.

    I spent a fair amount of time a couple days ago lobbying our National Instruments representative for opening up the interfaces to more of their devices, especially their FireWire/1394 based products, which are right now only supported on Windows (which _really_ galls me, since Apple and Sony spearheaded this interface!). We are a fairly significant customer of theirs, and I think they actually listen.

    1. Re:Some straegic thoughts by WINSTANLEY · · Score: 1

      Mod this up. This is one of the most relevant/useful pieces of info I have seen in a slashdot discussion.

      (and I'll just assume you're attractive)

      --
      It is by coff... er, will, alone I set my mind in motion...
  113. Re:Comedi gooooood, APM baaaad..... by Pxtl · · Score: 2, Insightful

    Speaking of NI, some labs I've worked with use LabVIEW. Yes, its prohibitively expensive (especially compared to VB) but its spectacular for scientific RAD. Plus, the programming is wholly graphical, which should be refreshing to those scientists that have no experience with text-based programming.

    An opensource group would do well to attempt some sort of "workalike" to the language - the ease-of-use is stunning.

    That being said, part of the reason it is popular is that instrument companies are pretty good for providing drivers for LabVIEW. An open-source project would lack that unless they also implemented their driver system, which would probably get that project in big trouble.

  114. What the hell are you doing? by Call+Me+Black+Cloud · · Score: 1

    At least it sounds like you're starting to get some work done, which is a good thing.

    "[Hardware Manufacturers] seem to get very upset when somebody asks them what the register-level interface to their card is. Who could blame them? Their Windows DLL is the perfect solution under [most] circumstances.

    "Very upset"? Really? Did they yell at you? "Who could blame them?" Why do you think the response you received is related to their use of DLLs? Do you think there is some sort of Microsoft-lab equipment conspiracy?

    First, I don't believe anyone got "very upset" at you for asking. Second, perhaps you should consider it from another point of view. It is possible that the equipment you are using is more complex than just reading a register to get a value. Perhaps there is software processing required to extract accurate data. These companies live and die by reputation - if their products don't produce research grade data the companies are out of business. Then up walks Joe FreeSoftwareIdealist who thinks it is just a matter of reading a few registers. Let's say they give you what you want and you botch the implementation of the driver (do you have time to test your software rigorously to ensure results are repeatable and you are getting results within the specs for the equipment?). Not only is the research wasted but the company runs the risk of looking like they provide unreliable equipment.

    Using the software provided with the equipment removes an unknown from the work, and that's a good thing. Your first allegiance should be to the research and what's best for the work at hand. There is no "conventional wisdom that it's OK to ignore your ideals, so long as you get the experiment working", just conventional wisdom that without good results you are nothing. Pick your battles, and if this is so important to you go elsewhere.

    Here's another tip. You wrote, "Has anyone had any *positive* experiences..." Why don't you want to learn about cases where people have failed? Given the vague whiny description of your problem (you don't even list the equipment used in the lab) it is highly unlikely that anyone's postive experience will help. You are far more likely to learn from the failures of others in this case. It rather sounds like you just need some hand holding or a hug. Ok... [[[[neurotensor]]]], you go boy!

  115. Kmax by Eowaennor · · Score: 2, Informative

    I have been working with Kmax for as long as I can remember... It is platform independant, Java based data acquisition software that allows you to build graphical toolsheets to interface with many different bus types. It can talk to GPIB, CAMAC, VME, and any other bus that you can write a JNI driver for. You can get a free version of Kmax at Sparrow Corporation, and I think the only thing that is disabled is the Save feature...

    From my experience, Kmax has been the most versatile data acquisition software I have ever used. The way it is designed, if you want something more, just write your own KmaxDevice or KmaxDriver (interfaces are documented) and you're all set! It even has options for remote connections over TCP/IP for client-server connections, useful if you want to take a look at your data from home or if you feel like changing some parameters without walking down the hall and mucking with your racks of equipment.

    -Eowaennor
  116. slavery is the key by aggieben · · Score: 1

    I work in a research lab at a very large research university ( > 45,000). We use almost exclusively open source software. RH 8/9 is the order of the day for our OSs. We rarely have to control any custom or obscure hardware, however (we do research on networks and security,hardware evaluation, and virtual teaching techniques). This is neither here nor there; the real key to success for any research lab is technically skilled slave labor ( == graduate assistants)!

    --
    Don't become a regular here, you will become retarded. -- Yoda the Retard
  117. GPIB? by Andy+Dodd · · Score: 2, Insightful

    Not sure what protocols your company uses, but at my company, nearly everything is GPIB controlled. Most stuff in the past was either done using LabVIEW or manually - In my lab it's almost all Perl these days thanks to me.

    http://www.mock.com/gpib/ has an excellent library for GPIB in Perl. It only supports older equipment, but at least in the GPIB world, nearly everything has a published command set, and the library makes adding support for other instruments extremely simple. (I have yet to find an instrument that didn't have detailed programming info. It takes me an average of an hour to implement most of the funcionality of a new piece of equipment. Sadly, the work I've done on that lib will most likely stay in-house.)

    Now if only Octave had the external interfacing capabilities that Matlab did. (Even with some of the "Matlab compatibility" libraries like octave-forge, Octave is still missing a ton of signal processing toolkit functions like psd() - Octave will also not interface with any of our digital I/O cards). Even Matlab under Linux won't help us here.

    In short: We've basically replaced LabVIEW with Perl here (to much rejoicing - People at this facility are more familiar with text-based programming than GUI programming.), but I don't forsee us replacing Matlab any time soon.

    --
    retrorocket.o not found, launch anyway?
  118. Linux DAQ hardware by confused+one · · Score: 3, Informative
    National Instruments, as a company (no, I don't work for them) has been very good about supporting Linux. All of their software is available in Linux versions, All of their hardware has Linux drivers. And they release I/O port maps and hardware specs for those who want to develop their own drivers.

    There's a lot of VME/VXI hardware out there that will also work well with linux kernels (I've done it). Compact PCI (cpci) should work as well, although much of it seems to be driven by x86 / Windows embedded computers...

    Any hardware which communicates to the workstation via a standard interface (ethernet, usb, gpib, serial, etc) should work just fine.

    The real issue is simply checking the vendors of your hardware BEFORE you make the purchases to see if the hardware is supported. This should be true with any hardware purchase. (It is possible to buy hardware that doesn't work with Windows...)

    If you're trying to use legacy instruments (which you already own) whose manufacturer does not support Linux and who refuses to release interface information (because of it's proprietary nature); well then, you're out of luck unless you can kludge an interface with a Windows PC talking to the device(s) (acting as an ad-hoc interface) and a Unix system doing the rest of the work. You'll get better performance this way than trying to have the Windows PC do all the work.

    I'd urge you to use Unix or Linux variants for data acquisition and controlls. Windows is not deterministic and DOES NOT do real-time (I don't care what Microsoft says or how fast the machine runs).

    that's just my 2cents worth...

    1. Re:Linux DAQ hardware by confused+one · · Score: 1

      Replying to myself... Oh well, I've been accused of talking to myself before. I havent' used NI for a year or so (havn't needed new hardware). Now that I actually check their site, I have to retract the "All of their software has linux drivers" It appears that they're linux support isn't as strong as it once was (has Microsoft gotten to them too???) Anyway, they did have the specs published in the earlier manuals. Check into this. I have had success with their hardware. In some cases, you may (or may not) need to use labview to get the device drivers (it would seem). good luck

  119. *boo hoo hoo* by Anonymous Coward · · Score: 1, Insightful
    So, the company goes through a lot of trouble to work around their own bugs and inadequacies in hardware by writing a higher level API for you to use, and you bitch and moan because you want to program it at the *register level*?

    Yeah, if I worked as an application engineer for that company I definately want a phone call from you ever ten minutes "hey this doesn't work right... how do I do what your software already does?"

    See, they *advertise* the cards and hardware as what they are... They work, they have windows libraries. If you don't want to play by the rules, don't buy their hardware. But don't buy the stuff, then give the poor people who work there a hard time because you're a nutsack.

    Call them up, "Do you have FreeBSD/AmigaOS libraries for your product?" "No, we don't" "okay, I will find a product that does". If enough people were calling them with that, they'd be making FreeBSD/AmigaOS libraries for their hardware.

  120. Why are you wasting your time? by Anonymous Coward · · Score: 0

    I would have thought it much more productive to invest your valuable research time on the task at hand, rather than change your software for what appears to be aethetic reasons.

  121. Try GNUPLOT and GNU SCIENTIFIC LIBRARY by Anonymous Coward · · Score: 2, Informative

    gnu scientific library

    and

    gnu plot

    Absolutely killer apps !!!

  122. What exactly are you missing out on? by Junks+Jerzey · · Score: 3, Insightful

    not just a pride thing, unlike many colleagues I know what I'm missing out on, in the free software world

    Like what, for example? Under Windows you can run Emacs, Vim, Perl, Python, Ruby, etc. You can get bash or another UNIXy shell if you like, and all the same command line tools. Putting together GUI interfaces for little tools with Visual Basic is a *great* idea. You could use something else, of course, like Tcl/Tk, or a free VB-like system, but VB is very good at what it does.

    Reliability isn't an issue, if you're running Windows 2000. I have never had a single crash doing heavy software development under Windows 2000.

    To me, it sounds like you just want to avoid Microsoft and Windows at all costs, but you don't have a real reason. In fact, you're even attempting to move away from the OS that most of your peripherals are designed to run under. Very strange.

  123. PSU Physics / OSS by XtAt · · Score: 2, Informative

    At PSU Physics , we use a variety of OSS for research. Most notable is our computing cluster which runs particle simulations and such on Linux. I'm unawae of any who have reversed drivers for their instruments to run on OSS in my department, however many researchers use PERL to analyze the results.

    --
    - about me
  124. dont you think you shoud think? by tshuma · · Score: 1

    I am maybe in misundertsanding.. but i always diapointed when i see people trying to solve the problem, but not once analyise the real problem..
    (maybe i just say it because i just see the matrix 2.. :) )
    But when i read this article, i was wondering.. are you talking about the problem? or only a problem.. which is not the real one..
    I mean:
    You're talking about what kind of software, os, and so on you need, or laud, or can use for your projects.. but wait a bit..
    don't you sould fisrt.. before anything else.. plan your system?? I am not talking about os, i am talking about system which is designed for your company, for your projects, for your emloyees and so on.. Or do you think is it harder to make, than a tools for a choosen os? or an extension for a tool??
    So i think, first you should think about a system, make it realy clear.. and simple.. and if you can write it down, than you can make it..
    And if you reach that point, you can select the perfect os, tools, or people who can write to you what is not have in the market.. or configure one of them..
    I first give time to make a good, and easy managed system for my work, and than I started to work inside of that.. and it is realy dosent matter, tools are free or not ( until I have enough money.. ), becasue I WILL NEED EXPERT to the job, project, system, and so on..
    Finaly, if you know what you want.. i mean if you know what is your perfect system of your job/projects/company, you can easily find the tools, or EXPERT for that.. and the chippest way always the "first looking expensiest"..
    So get as many experts as you need to make a system which is the best and simliest, and of course the "long time chipest" , and make tham.. after all.. you can be very very effective

    OR NOT :)

    --
    There is only one good solution: The simpliest!
  125. Re:Big, proprietary instruments=propritary softwar by stm2 · · Score: 1

    You are right. The same thing happens with automatic DNA sequence machines. Applied Biosystems (AB) sells the ABI sequences line with a DELL (with flat panel monitor!) with WinNT. The Windows has ServicePack 5, and they (AB) tell you NOT TO UPGRADE it to SP6.
    There is also a training course, and basically they explain that if there is any error on the screen, just reset the computer! (that is their troubleshooting procedure).

    --
    DNA in your Linux: DNALinux
  126. What're you doing tonight? by Anonymous Coward · · Score: 0

    I think you're really attractive. Would you go out with me?

  127. As far as science goes ideals are a bad thing by Anonymous Coward · · Score: 0

    Sure movies such as Real Genius, have science being used in the wrong way and most people would say that it is wrong. But even Richard Feynman saw the possibilities of the knowledge gained at Los Alamos. He even had patents on nuclear powered aircraft.

    The way I look at science is that it should be done for the pursuit of knowledge. Wasting the resources, such as grant money, becasuse you don't like the philosophy behind the tools (which happen to work) is not a productive thing to do. If it were a simple task, sure why not, but it sounds like you are wasting lots of time and money for an altruistic goal, that doesn't really matter.

    And on another note, if I had built the hardware, and provided the software tools to access it, there is no way in hell I'd turn over the specific hardware details. Once the product has been EOL'd then I might but not a minute sooner.

  128. Use OSS, think OSS by TheSwirlingMaelstrom · · Score: 2, Interesting

    I'm an astrophysicist in a non-profit research institute. We have very few 'special' hardware requirements like the poster, and so are not as limited by what OS hardware vendors are willing to support, but I've come across similar situations.

    When it comes to proprietary hardware with proprietary drivers on a limited number of (non-free) OSes, you're stuck. Everytime you talk to the vendor, or the support staff, you need to ask them about Linux (or BSD, or whatever) support. Be the bee in their bonnet that gets them thinking about supporting other operating systems. They don't necessarily have to GPL their software and drivers (I know, sacrilege!), but the ability to use your hardware on Linux means your one step closer to moving the lab over to Linux. Also, even if the data-acquisition is on, for example, Windows, that doesn't mean the data-analysis has to be on the same OS.... (Unless the data format is proprietary =8-( )

    However, being a researcher, you should be used to the concept of peer-reviewed publications: nothing is published in established journals without having being scrutinized by other researchers in the same field. The same concept applies to OSS: open source software, at sometime in its public life, is viewed by enough people that bugs, cheats, etc., will probably be caught (things slip through, as they do in the scientific peer-review process, but the idea is sound). If you're doing research in the uncharted regions of physical science, you can't expect that someone would have written all of the software you need to get there and understand what you discover. This means that you, the researcher, are obligated to write the software. This software should be open sourced and peer-reviewed, saving your collegues and other researchers the same headache. What is done in scientific research is often governed by the 'publish or perish' doctrine. But keep in mind that what you publish might not have to be scientific papers: if everyone in quantum computing labs around the world knows of or makes use of your software, you will have more exposure than publishing a few obscure papers.

    Also, despite the fact that you might be analysing unique data, I would hazard to guess that large amounts of the mathematics and statistics you would be using are not unique. Save yourself time when writing your software and don't re-invent the wheel: use publicly available mathematical and statistical packages. There are enough out there that I'm not going to bother giving URLs...

    I look forward to seeing your project (not in VB or C#) on sourceforge =;-)

    (Oh, and when your Windows-bound collegues ask about using your software on their OS, you can say "Sorry, it's only supported on Linux." That'll make you feel better, trust me =8-)

    --
    #include "cunning_plan.h"
  129. Re:Comedi gooooood, APM baaaad..... by CoolVibe · · Score: 1

    Oh, that I did not know. I stand corrected. :)

  130. What your lab is missing out on by mr_z_beeblebrox · · Score: 1

    I am sure that you know what you are missing out on by not using OSS software personally. However, have you thought about what your lab is missing out on or would be if they moved. Bear in mind as you read this, I am a Linux user and this is not a flame.

    In a research lab statistics are important. You probably use JMP, Matlab or some other large stats package. Their is not yet one in existence on OSS. If there were, there would not yet be a talent pool familiar with that software.

    By coding in visual basic, they assure themselves that even if you leave they can find a lot of programmers to work on your project. Look at a directory in a major city for vb developers and then find someone (with a talent pool of more than 2 guys in a basement) advertising GCC development.

    The fact is that significant development dollars will not be spent on OSS until an OSS OS (like Linux) has much deeper penetration into your work environments. Unfortunately, those uses are what would gain it that penetration.

    1. Re:What your lab is missing out on by dlakelan · · Score: 1

      GNU R an implementation of the "S" language is about as good as it gets for statistics.

      For a matlab type clone there is octave, which won't run all the fancy toolkits, but then it doesn't cost $15,000 either.

      If you need to do some heavy algebraic formula crunching to solve model equations, YACAS, Maxima, and Jacal are all good.

      If anything, the data analysis arena is where Linux is completely taking over many labs. It's the hardware that's hard to talk with.

      Oh and not to mention that Matlab, Mathematica, and S-Plus were all available under Linux last I checked. (proprietary of course)

      --
      ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
    2. Re:What your lab is missing out on by mr_z_beeblebrox · · Score: 1

      Having been out of college for a while I did not know Matlab etc....were yet available on Linux, that is good news. As for using new languages it still stands that getting support from anyone other than the original programmer is exponentially more difficult than using a (yuck) well marketed language.

  131. Linux GPIB drivers by Enrique1218 · · Score: 1

    Try these site for linux gpib drivers http://pcitco25.cern.ch/SI/lvbv/lvbv_drivers3.htm http://linux-gpib.sourceforge.net/

    --
    You don't have to be smart to use a Mac, you just have to be smart enough to buy one
  132. Cathedral and bazaar reversed? by geekee · · Score: 1

    Proprietary software has been compared to a cathedral, but in some sense, OSS has become the new cathedral, while proprietary software is the new bazaar. Look at this case. A researcher is wasting time trying to reinvent the wheel using open source to solve a problem that has been solved with proprietary software. I understand the advantages of OSS, but I'd like to point out that he seems not to beinterested in modifying soure code, as was Stallman's motive, but instead wants to use OSS for it's own sake. This is like a cathedral in his "worship" of OSS that leads him to want to use it despite the fact that it's more diffiult. On the other hand, proprietary sw vendors want to write and sell software that works "good enough", a bazaar (free market) style approach, and makes them some money in the process.

    --
    Vote for Pedro
  133. I'm going to try to help. by twitter · · Score: 1
    The astro turfing around here is out of hand. Because I'm interested in an answer, I'm going to wade through all this shit from 6xx,xxx posters recomending XP, Internet Exploder, the equipment you hate and all that.

    Barf, that's all I can stand and I can't stand no more.

    I feel your pain and I'm not laughing. It sucks that you are faced with such problems for something as simple as stepper motor control. You can at least avoid VB and learn C. If you can't get $2,000 bucks for labview, you can at least use the manufacturer's C code for control. Almost anything that has a VB thingy will also have DLLs and tell you how to link to them in C. Start with simple command line interfaces that read files to do your work and stick a VB face on it if you have to. On this project you are stuck with dinky hardware. Good luck and get going!

    --

    Friends don't help friends install M$ junk.

  134. Windows/Python in Scientific Environments by rockmuelle · · Score: 1


    I work at a biotech where Windows is the platform on every scientists desktop. Additionally, all the software provided with the instruments (plate handlers, HPLC, Mass Spec, NMR, etc) is Windows DLL/ActiveX based.

    Python is a great solution for mixing open source development tools with Windows based vendor tools. All of our applications are written in Python using wxWindows as the GUI toolkit. Most applications use 3rd party ActiveX controls. We have had no problems integrating these with the open source tools.

    Python also has the advantage of a very powerful scientific environment, SciPy and Numeric, both of which we use for all our data processing.

    The one caveat is that occasionally a little C/C++ hacking may be necessary to work around COM issues. In one instance, I did have to implement a COM method call in C and call it via a Python function (eg, callCOMMethod(comObj, args...)). Also, for performance reasons, a little C hacking can be useful when dealing with large data sets.

    -Chris

  135. A little search by dlakelan · · Score: 1

    Jones on stepping motors found via google

    Seems like stepper motors are not that difficult to control. A simple darlington transistor, resistor, and diode are all that's needed for the driver, for the control circuitry I suggest Atmel AVR microcontrollers, some of them have built in A/D etc, they're cheap, and they are programmable via GNU C compilers available under linux.

    Get a Dontronics rAVeR to run the control circuit.

    An AVR running at 10 mhz gives you a lot of processing power, and plenty of i/o to step 2 motors forwards and backwards. The main question is how to tell the AVR what to do.

    It depends on how complicated your control algorithm is, ie. do you just need to run through a set of rote steps, or are you doing feedback control, or responding to the outside world?

    If you're doing feedback control, then get an AVR with A/D channels built in, if you're responding more complicatedly then perhaps use the sound card output of your computer to tell the AVR what to do?

    Admittedly all of this is likely more trouble than installing windows and writing your software in VB, but once you've done it, you've got a system that you can have some control over vs. an off the shelf solution from a non-responsive vendor (ie. there's not necessarily a guarantee that the thing works all that well under windows either)

    Plus, with this kind of experience you will rapidly find other uses for a general purpose microcontroller platform, you'll be able to bypass buying expensive proprietary PCI cards and build some of the simpler control systems you need yourself.

    NOTE: if you're building things yourself you have to deal with debugging the hardware and the software. Keep focused on the cost to benefit ratio of doing it yourself vs. buying off the shelf. Remember you're trying to do research, which means you need the flexibility of do-it-yourself, but you've also got a hard enough time doing the research, so adding hardware design and debugging on top is added hassle.

    Getting an undergraduate electronics engineer to work with you for work-study credit is probably a good idea.

    --
    ((lambda (x) (x x)) (lambda (x) (x x))) http://www.endpointcomputing.com a scientific approach to custom computing.
  136. A little advice... by Anonymous Coward · · Score: 0

    A computer, it's OS, and the software that runs on it for controlling, recording or analyzing your experiments are just tools. Not socio-political icons, symbols of oppression, freedom or status.

    What you run in your dorm room might be. What you encounter in school or at work are not. You will live longer and go further if you learn that using the best tool for the job is the best way to get the job done.

  137. Particle physics both big and small by DoctorNathaniel · · Score: 1

    I've got some experience with this. I work on medium-scale (i.e. 100-200 collaborator) particle physics experiments, and I've built and used smaller test-bench apparati as well. I always perfer to use a linux-based system.. if the hardware allows you.

    That's the bottom line, of course: if you're going to go the Linux route, you have to buy equipment that you can talk to. Your job, of course, is to get research done. Frequently, the best case is to go ahead and use the windoze solution, export your data file and do your processing on whatever platform you like.

    That said, I've had some reasonably good experience. You can use linux to get a CAMAC or VME-based data aquisition systems if you're willing to do the hacking and have the right interface board, if you're doing high-throughput stuff.

    On the low end, like running a stepper motor or reading a simple device, the serial port is your best friend. Although it sometimes requires much hacking to get more than two serial ports working, you can do it, and most low-tech equipment can be accessed through a serial interface.

    The great thing about using linux is that you can write in whatever script or language you want with whatever front- or back- end you want. You can output your data direcly into the analysis format that you want, rather than having to do things like export and massage and import and such. (This is important if your little test stand is generating gigabytes of data a day!) You can do stuff like imbed a simple version of your analysis for prompt feedback. You can use well-established tools to do your I/O (our system is based upon ROOT ( http://root.cern.ch ) which has some nice features if you're doing lots of ntuple-based data.

    The problem comes if you find yourself needing to talk to USB or, even worse, a card in a slot somewhere... here, you're likely to get creamed. Five years ago companies would often ship products will a full technical description, but now they're just too lazy.. even if you're willing to do all the leg work, they can't be bothered to document their codes and data structures for you.

    So: if you have the option, it's really nice, but be prepared to do a lot of work to get some badly-documented things working, and give up if you just can't find the supplier.

  138. Off-topic? Never heard of .NET / mono then? by BillsPetMonkey · · Score: 1

    I don't have enough time to explain the abstraction between an application layer and an OS, so I've just showed the mods reply to my boss at the Imperial College biochem labs. He laughed. And laughed. And laughed.

    Then he told me to stop posting to student-run websites (and do some work).

    I'm going to take his advice.

    --
    "It's not your information. It's information about you" - John Ford, Vice President, Equifax
  139. In nuclear and particle physics... by Anonymous Coward · · Score: 0

    As one of my professors put it once, "I don't know what you would do with Windows at an accelerator." We're running entirely Linux, except for some Windows when we're developing hardware (which leads into the next point...)

    The problem is not hardware manufacturers providing drivers for only Windows; the problem is that they provide only drivers. I know an undergraduate in astrophysics whose lab job is to fight companies for their specs and implement them on linux (that lab recently switched entirely to Debian).

    So, as an answer, large parts of the physics community -- and the math community as well -- run unix. Often a lot of stuff has been written, especially for things like CAMAC controllers.

    You might have a look at ROOT (http://root.cern.ch) as an example of a major project in high energy physics which might be useful. You can use it to write the quick and pretty interfaces, and you can link in libraries and drivers to access hardware. A lot of places use it as their experiment control tool. No FFT, but I hacked FFTW onto it in about an hour and half, including learning how to do it.

  140. good point. VB is good for certain things. by zymano · · Score: 1
    Using VB to build gui's for experiments is perfect.

    Python and glade ? Don't know much about but VB does the work and is easy.

    Some microsoft products are good like office(pricey but good) and developer tools.

  141. OT Sam McGees by betis70 · · Score: 1

    Hey have you noticied that Sam McGee's message board is all messed up lately? The 'latest' page on the Chile Garden Forum shows messages from 1998. :-/

    --
    I forget...are we at war with Eurasia or East Asia?
  142. drat, missed the Camel Pilot. by twitter · · Score: 1
    --

    Friends don't help friends install M$ junk.

  143. You gotta be nuts. by twitter · · Score: 2
    VB and LabView are the defacto standards.

    Au Contrere, my silly AC frere. If you got stuck with some fancy device that only works in windblows, the least you can do for youreself is learn to use it's C interface. Almost anything that has a dumb VB interface also comes with one that works with C. While VB works for M$ and only M$, C is everywhere and a much better thing to learn. All VB can add for you is a dinky interface and loads of heartache and rewrites.

    Lab view might be useful, but real labs don't hamper themselves with vendor lock in nighmares like VB.

    --

    Friends don't help friends install M$ junk.

  144. The entire article is a troll, of course by Vertex+Operator · · Score: 1

    I've never known a mathematician or physicist
    who didn't use Linux or a Unix variant (like
    Solaris). The same goes for theoretical
    computer scientists.

    --
    San Diego Padres, 100 Park Blvd, San Diego CA 92101

    It is pitch black. You are likely to be eaten by
  145. Win4Lin by notnew_backwards · · Score: 1

    I have used linux for many years now, and the only reason I still keep Windoze on any of my computers is so my son can play his games. Even for Windoze-only supported hardware, I use Win4Lin, available from netraverse. As long as a program does not use the DirectX drivers, there are very few programs that fail to run through the Win4Lin environment. I have several oscilloscope cards and various hardware that is not supported outside of Windoze, and they all seem to work just fine. Win4Lin just released version 5. I've been using version 4, and have not yet purchased my upgrade. For the price, this is an excellent product. One great advantage is, any files used in the Win4Lin environment is available in the user's $HOME/data directory (or however the drive is mapped - see Win4Lin documents), so these files are immediately available within both the Win4Lin environment AND the linux environment, even simultaneously!

    For any manager to claim that free software is not worth the time or effort, I'd suggest you tell him/her that by the same logic, your time and effort is clearly worth a raise! They obviously have money to burn.

    As a reminder, most linux software is coveres under the GNU Public License (GPL) and "Free software" does NOT neccessarily mean "free of cost." Visit the Free Software Foundation website and follow links. There are many excellent links that discuss how to deal with people who only believe that, "you get what you pay for, and free software is worth what you pay!" Such beliefs are foolish and quickly becoming outdated.

    But that'sjust my opinion.

  146. use java by Anonymous Coward · · Score: 0

    seriously ... use it and quit complaining

  147. We're using Linux/Python by Anonymous Coward · · Score: 0

    I'm working in a national research center associated with an ivy league university, and we're using Linux and Python for data acquisition and process control in 'my' spectrometer development project. Python is extremely flexible and interactive, allowing us to create/modify experiments and visualize data immediately. I can also do quite a bit of data reduction and initial analysis right in the lab.

    Slower GPIB hardware is accessed via the GPIB driver by Jens Toerring, and some custom hardware is currently controlled via the parallel port. We use 1GS/s PCI-based digital averagers from Acqiris - Acqiris not only provides (alas, non-open source) Linux drivers, but so far has also been quite helpful with respect to getting things running. We are planning to replace some of the current hardware with a VME system (running Linux on m68k) which is linked to the main computer via ethernet.

    So far, the system works better than I dared to hope, and I'm pretty sure commercial integration tools like LabView would be much more cumbersome and much less flexible. I'm pretty certain that it was the switchover to this environment (from an earlier CVI based Windows solution) which enabled us to get the spectrometer operational in record time.

    I'd also like to point out that the "research grade" commercial spectrometers from one of the major players in our field have been switched from Irix to Linux recently (Windows is used for the low-cost "appliance" models).

    While certain big players in the data acquisition field have subscribed to "any operating system as long as it's Windows" in the past, I think they are now realizing their mistake. Multi-platform support is rapidly becoming an important buying argument.

    On a side note, our theory group members who are doing simulation work -- all primarily Windows users -- have indicated recently that they'd prefer a Linux based cluster to get their number crunching done. They don't want to use our university's Microsoft-sponsored Windows cluster-based "supercomputing center" any more because of permanent reliability issues...

  148. Oh Sure by perdelucena · · Score: 1

    "My lab is researching quantum computing, and I don't like the fact that Windows / Visual Basic [seems to be] the preferred solution for controlling the experiments."

    In related news Iraqui people found to have WMD, and I am running a nuclear plant over my Windows Pocket Edition. Sure.

    --
    No my sig is not a troll.

  149. ASIC is your problem, fix it. by bluGill · · Score: 1

    In a perfect world it would be a part of your requirements that you can release ASIC register data to customers. If they insist on a NDA, then you find a different supplier. In your world where customers are requesting that data, customer service requires that you provide it.

    Of course I understand the world isn't perfect, if there is no second choice for a ASIC, or the second choice sucks in every other way, there is much you can do. Add in general office politics (joe in upper management doesn't like foo, so we won't buy their stuff) and it is hard. Still you should insist that purchesing have a line item "All chip programing (register) data nessicary to interface to this chip can be released to our customers." It is a simple item, and it might be negociated away, but you should get a break from them for getting rid of it if nothing else. (and when salesmen say they are having a harder time getting a deal because of this issue things will change)

  150. Why I wrote the GUI by bluGill · · Score: 1

    I'll answer your question as soon as you answer my question: why are you writting an app that you will throw away?

    In most cases the answer will either lead directly to my reason to write the throw away GUI, or I will agree it isn't worth it.

    Reasons to write a throw away GUI: a prototype used to demonstrate it to management before the a lot of decisions have been made. A prototype used for human interface testing so that the real GUI is useable. A program that will be used for a couple days by many people and then thrown away. To prove to yourself that you can write a GUI just as easially as a CLI, or you think it is easier. (with the right toolkit GUIs are not hard to make, and input checking may be easier)

  151. Use Google, Luke. by anon+mouse-cow-aard · · Score: 1


    wondrous google is.
    http://www.google.com/linux?hl=en&lr=&ie=ISO- 8859- 1&q=laboratory+instrument+software&btnG=Google+Sea rch
    gives...
    seismologists' tools on linus is: http://www.seismo.unr.edu/ftp/pub/ichinose/LINUX/s eismolinux.html

    A cool article about an linux-based instrument for use in U-2 spy planes.
    http://www.linuxdevices.com/articles/AT62 74728044. html

    A linux journal article about linux in a lab.
    http://www.linuxjournal.com/article.php?sid= 2596

    which, in the resources link, includes a link to
    the "Scientific Applications on Linux" page...
    http://SAL.KachinaTech.com/index.shtml

  152. usb? by Anonymous Coward · · Score: 0

    I don't really know that much about computers but...

    why can't everything just work through usb or some sort of nuetral interface? Then there would be nothing special about any hardware, it would just all use the same input/output.. very easy to write software for.. right?

    1. Re:usb? by meowsqueak · · Score: 1

      Because different devices have different communications requirements, cost restrictions and intended purposes.

      Maybe one day we'll have a ubiquitous communications interface that *everything* uses (we are getting closer to that all the time with USB, firewire, etc), but only when the cost becomes so low it doesn't make sense to use something slower/simpler/easier-to-write-software-for.

  153. Re:Labview okay, Igor Better by Anonymous Coward · · Score: 0

    I would have expected by now to see a LabVIEW open source clone. The problem such a product might have would be similar to our considering IGOR. It looks good, but the investment is big when we already use LabVIEW, and if other groups with whom we want to collaborate use LabVIEW...well, ya know.

    A common thread here also seems to be the interface protocols. NI is supposedly getting away from boards in their devices to support connections, and might rely more on plug-in cards separately purchased. These changes are good if you're just starting out, but they do create a legacy for running labs that require stable data acquisition and processing to meet a milestone.

    We watch the COTS and RTC journal for open source developments. Some of it is out there, like a Matlab function that requires Mozilla, and the government does seem to be generally interested to investigate this route of open source.

  154. WINE that bastard by Anonymous Coward · · Score: 0

    If it's just DLL's use wine!

  155. LabVIEW Abuser by Anonymous Coward · · Score: 0

    Hello. Sorry, no time for registration. However, I have used NI LabVIew extensively to control Data Acquisition cards, and GPIB. I had also at one time asked them about Linux, and got a so-so response. HOWEVER, last I heard, NI had finally released a Linux version of LabView. Now, granted, LabVIEW is not cheap, but it includes all the software you apparently would need for your control applications, and if NI supports it on Linux, you shouldn't need any Win based crap software.
    Also, I agree with the guy who posted about Win2k - MUCH more stable, you should definitely consider switching to it, if you don't go to Linux.
    Regarding your comment that emails to NI don't even get a response, I find this to be Very odd. Typically, I call in, and I've found NI tech support to be one of the most responsive (of course, I'm usually asking them questions about things they support, not how to use a competitor's product with one of theirs, etc.)

    I would really really recommend you think about using Labview, you can get a free 30-day eval (fully functional apparently) version by going to the website www.ni.com. I don't know how great their Linux support is, but you should be able to tell quickly enough, since LabView is their flagship product, so it shouldn't take so much investment on your behalf. And if you do, please post on your findings, I would love to know how test and measurement and control apps work with Linux.