Chemstation macro ChromReg SampleName field wrong

Discussions about chromatography data systems, LIMS, controllers, computer issues and related topics.

2 posts Page 1 of 1
Hi,
I wrote a macro exporting all selected chromatograms in Chemstation to .csv.
This works well, the only field that does not yield the expected results is ObjHdrVal(ChromReg, "SampleName"). In Chemstation the sample name field shows specific names, when exporting, however, I only get strange numbers.

Any input would be greatly appreciated.

Best,
Michael
answering my own question because I just found the solution:

Instead of "ObjHdrVal", one has to use "ObjHdrText$" because of the distinction in the macro programming language between strings and numerics.
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 1117 on Mon Jan 31, 2022 2:50 pm

Users browsing this forum: No registered users and 1 guest

Latest Blog Posts from Separation Science

Separation Science offers free learning from the experts covering methods, applications, webinars, eSeminars, videos, tutorials for users of liquid chromatography, gas chromatography, mass spectrometry, sample preparation and related analytical techniques.

Subscribe to our eNewsletter with daily, weekly or monthly updates: Food & Beverage, Environmental, (Bio)Pharmaceutical, Bioclinical, Liquid Chromatography, Gas Chromatography and Mass Spectrometry.

Liquid Chromatography

Gas Chromatography

Mass Spectrometry