Jump to content

Maca

Members
  • Posts

    65
  • Joined

  • Last visited

Posts posted by Maca

  1. Thanks Jcarmody, thats an awesome link.

    Suvin the connection string will be something like:

    Data Source=filename;Version=3;

    Where filename will be something like "\\server\share\directory\databasefile" or "x:\directory\databasefile" (assuming you have mapped \\server\share to X:)

    You just need to setup a share on the "server" that serves up c:\something\directory\databasefile (which will be the SQlite database file you are using).

    It can be done quite easily (especially in comparison to setting up MS SQLserver) but its just not the nicest way to do it.

  2. Have a read of the SQLite documentation:

    http://www.sqlite.org/docs.html

    SQLite is NOT by architecture a client/server style database, but this can be achieved by placing the database on a network share (I.e. SMB, but note the documentation specifically advises not to use NFS due to bugs in some NFS implementations) See:

    http://www.sqlite.org/faq.html#q5

    You should consider using Postgres or Mysql (both open source) instead, as these are designed as client/server style databases.

    http://www.sqlite.org/whentouse.html See the section titled "Situations Where Another RDBMS May Work Better"

    http://www.postgresql.org/

    http://www.mysql.com/

  3. Personally I started every computer in my workshop and left all my lights and equipment on.

    I even went in to heavy lab and started at least 5kW of Hibay lighting and the hydraulic cooling pumps.

    QUOTE

    Dear Colleagues

    **** is supporting Earth Hour, on Saturday 28th March from 8.30pm – 9.30 pm by switching off all non essential lighting around the **** ****.

    Staff are encouraged to support this event by ensuring that your workstation or office is not using any unnecessary energy. Collectively, simple activities like leaving lights on when you leave a room or leaving appliances on standby are direct, unnecessary contributors to climate change.

    Earth Hour is about raising awareness of climate change, the more people who turn off their lights for the hour, the stronger the message we all send that we are committed to action on climate change.

    We can all make a difference by switching off all electrical equipment – including microwaves, computer monitors, photocopiers, air conditioning units, and any unused lighting.

    This event serves as a good opportunity for us all to think about how we can all reduce our carbon footprints for earth hour and beyond. For more energy saving tips please see Energy saving tips or visit the Earth Hour website.

    So don’t forget to support Earth Hour by ensuring all lights and appliances are switched off when you leave your office at the end of today.

    Kind regards

    I hope the SCADA system shows an increase in power over this period, that will show em!! Dam hippies.

  4. Iam for option D:

    "Buying a full blown server (with at least RAID 6 and tape backups) and installing Ubuntu Server Edition"

    Remember your business relies on this server and the data it holds, so don't skimp.

    You just need to ask your self, how much will it cost if your server goes tits up and you lose all your data?

    Failing option D, go option C.

    For a good list of SVN hosting providers see: http://www.svnhostingcomparison.com/ (remember to set "OSS only" to no)

  5. I have a question Crelf.........

    Do you actually do any "work" while at work?

    You always seem too come up with all sorts or weird (but always funny) stuff, where do you get it all from?

    I forward on most of your finds and my boss ups me because "I must just sit around surfing the net because of all the shit I forward on"

    Perhaps you are a lot smarter than me and don't forward your finds to your boss, one day I might learn, one day.

  6. What are your experiences with TEDS and vTEDS?

    Mine so far haven't been so great, in fact lately Ive been having nightmares about it.

    All the problems I seem to be having relate to vTEDS specifically NI's TEDS library and how it talks to DAQmx.

    There seems to be very little "real" documentation on the subject, lots of marketing pages and a couple of really simple examples but other than that not a thing.

    My work around has been; instead of using the TEDS DAQmx Create Virtual Channel, I have been reading the properties out of the vTEDS files and using the standard DAQmx Create Virtual Channel.

    This approach while clunky seems to solve most of my problems BUT not all of them, especially when the NI TEDS library is incomplete and has some major bugs.

    Some examples are as follows:

    Only a few of the template controls have been included.

    Vaild data ranges are rejected by some of the library VI's.

    and NO DOCUMENTATION

    I am seriously regretting giving in to the marketing hype and adopting TEDS over our old in house calibration standard, but unfortunitaly have gotten far enough into the project that I really don't to turn back now.

    What are your thoughts and experiences?

  7. ICP sell a lot of main boards that will do what you want (they still even sell ones with ISA buses on them).

    http://www.icp-australia.com.au/

    They are marketed as industrial main boards but are generally nothing more than cheap consumer grade gear with a CF card slot on the board.

    But they are relativity cheap as well

    They also sell other "weird" form factors as well I.e. Passive backplane and ETX.

    Have fun

    Note:

    I have no affiliation with ICP at all

  8. QUOTE (PaulG. @ Jan 31 2009, 07:18 AM)

    That's a bit of a stretch, LabVIEW controls the collimators.

    http://sine.ni.com/cs/app/doc/p/id/cs-10795

    I would be sure it is used for other things aswell but "runs" probably not quite.

    I would of tried to reply on slashdot but the responses I would of got are:

    "Imagine a cluster of those"

    "In Russia LabVIEW programs you"

    "yes but will it run LabVIEW"

    etc..

  9. So what you want to do is as follows:

    • Use LabVIEW to acquire and save some data.
    • Use MATLAB to analyise the data.

    Is this correct?

    The problem you are having then is getting the data from LabVIEW to MATLAB?

    First up:

    A *.m file is a MATLAB script file, while they can contain data as well, they typically are not used for storing large data sets.

    And in regards to getting the data into MATLAB:

    If your LabVIEW code saves the data to an ASCII "spreadsheet" file MATLAB can directly import it (using a wizard).

    You could also programing fill an array from the spreadsheet file if you so wished, but its been way to long since Ive used MATLAB and while I have done it before for the life of me I can't remember how to do it.

  10. If you are really keen you should be able to get that info off the SMBus (see: http://en.wikipedia.org/wiki/System_Management_Bus).

    I think it is also accessible through a win API (see: http://msdn.microsoft.com/en-us/library/aa394493.aspx).

    A quick Google search also revealed the following link: http://temperature.myweb.hinet.net/index_en.htm , but I havent tested or even looked at the source code, so I have no idea if it works or not.

  11. My invasion day celebrations consisted of a barbie, a couple of games of cricket (I only spectated due to the next activity) and SHIT loads of beer with some cask wine thrown in for good measure, and because the cask is an Aussie invention.

    And I didn't even have a hangover the next morning..............because the hangover couldn't wait, by 10 that night I already had a shocking head ache.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.