by
Karen01 » Fri Dec 17, 2010 1:58 am
@lmh--You lost me.
I'm just a geek working code on contract for a customer. They have an MS Access Based LIMS application that does not interface with ChemStation. The chemists are printing a list of results from their GCMS analysis and manually typing them into a spreadsheet which is then manually stored in LIMS.
I am chemist/chromatographer who is just learning ChemStation, but who does some coding, and (many years ago) was involved in a LIMS installation and wrote a module extending that LIMS.
For a good workflow ideally samples should first get logged into a LIMS and have the tests assigned there... That way it is possible to track the status of all samples once they come into the lab and they can be assigned to specific product, project or study for reporting/review/comparison to specs/statistical purposes.
When it comes time to do the chromatography, a 'worksheet' gets transferred into the CDS somehow... When there is no direct link the simple solution is for the LIMS to print a paper worksheet with the sample ID's assigned there as barcodes, and enter them into the sequence 'manually' via barcode reader. This still a timesaver, and ensures that the ID's entered will be the ones the LIMS expects to link the data.
Not sure if you are or have addressed that part. If the lab is not doing that, you can just have the samples 'originate' from the CDS export. In that case any other information (product, project study etc) would either have to be entered into the LIMS afterwards (ugh) into the Sequence in some existing or custom fields as part of the export.
I am thinking of doing something like the latter ... I work for small startup that really does not need full blown LIMS (nor would pay for one) and i like doing this type of thing as i miss the DB functionality of Empower and in the long run it would make my life easier.
What i'm thinking of is getting data out of Chemstation and transferring it to an SQL database, so I can make data available immediately, preferably through a web interface that can query the DB.
What i envision is having Chemstation produce text files/reports of some sort (be they XML, CSV, or Tab delimited or simply text- i don't think XML is necessarily a time saver in creating something like this if the exported fields are always the same) during or after the run and save the file to a server volume (or locally and have a background app copy them every 5 or 10 minutes to the server so there is no issue with ChemStation if the server goes down ).
Then I'm thinking of having an app run in the background on the sever and check that directory for new export/report files every few minutes and when found parse them and put the digested data into the DB.
I'm just simplifying the task.
I know ... So am I!
I have a partial solution in place, but the ultimate solution would be for ChemStation to export an XLS or XML file with the information I need already in place and saved with the sample ID as part of the file.
I believe you can add custom sample fields, but unfortunately the operator has to enter them in a separate dialog. In nay case additional sample info can be in the data file.
ChemStation has a macro language which looks to be a weekly typed BASIC variant that knowns nothing of OOP.
The macros can be run from a command line or as part of a ChemStation Sequence...
I suspect you (or I ) could easily create CSV, or tab delimited files (i don't know if the language has support for XML) with it IF we had the right documentation (if you find out where it is available please let us - me - know!) . If I have to I can parse text report output files
I plan to do as little coding as possible in the ChemStation environment itself as i prefer a strongly typed OOP language.
When I'm done, what currently takes up to 4 hours daily, will take less than a minute. I'd say that's an improvement.
Back when i was running a lab (rather than running samples), I did mange to get significant productivity enhancements and eliminate drudgery by writing some code to help workflow... that made both my direct reports and manger happy!