Hello,
I am new at creating macros on excel. I am trying to create a macro on excel to take data out of a file that one of my machines create. I work in the biotech field, and it is irrelevant and probably just complicate then actually help.
Basically I put a sample into the machine, and it spits out a trace file. This trace file has 100s of lines, and its the data of what the machine is doing.
But through this mess, there are a few places of data that I really need. For example, there will be a sequence that goes,
"2012-11-20 17:09:04> Microlab® STAR IVD : 1000µl Channel Dispense (Single Step) - complete; > channel 1: DWP_1600ProcessingUnit_Pipette_Home, A1, 73 uL > channel 2: DWP_1600ProcessingUnit_Pipette_Home, B1, 73 uL > channel 3: DWP_1600ProcessingUnit_Pipette_Home, C1, 73 uL > channel 4: DWP_1600ProcessingUnit_Pipette_Home, D1, 73 uL > channel 5: DWP_1600ProcessingUnit_Pipette_Home, E1, 73 uL > channel 6: DWP_1600ProcessingUnit_Pipette_Home, F1, 73 uL"
I need that time, 17:09:04 to be recorded, on an excel sheet. And this data is apart of the "VIC Addition", which is written much much before. I will show you the whole data now for the VIC addition. First it is aspirating, and then it is dispensing. This is how the whole sequence goes,
So I need it to record the name, "VIC Addition" and the time of dispense which is shown above.
Here is the whole sequence, there are many of these for different functions.
2012-11-20 17:08:52> USER : Trace - complete; ASPIRATE#############VIC_Addition#############
2012-11-20 17:08:52> AspirateErrorHandler : CheckAspirateResult() - start;
2012-11-20 17:08:52> AspirateErrorHandler : CheckAspirateResult() - progress; i_WellPattern=11111100 i_Type=1
2012-11-20 17:08:52> AspirateErrorHandler : CheckAspirateResult() - progress; in_WellPos=0 in_Positions=6
2012-11-20 17:08:52> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; ErrorFlag=0 BlockDataPackages=8
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 1. BlockData: ChannelNumber=1 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=2 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 2. BlockData: ChannelNumber=2 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=3 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 3. BlockData: ChannelNumber=3 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=4 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 4. BlockData: ChannelNumber=4 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=2 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> Microlab® STAR IVD : Firmware Command (Single Step) - start;
2012-11-20 17:08:53> Microlab® STAR IVD : Firmware Command (Single Step) - complete; > RF: er00/00rf7.1S 2010-08-03
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 5. BlockData: ChannelNumber=5 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=3 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 6. BlockData: ChannelNumber=6 LabwareId=RGT_CAR_24_51 StepData=480.0 MainError=0 PositionId=4 RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 7. BlockData: ChannelNumber=7 LabwareId= StepData= MainError=0 PositionId= RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AnalyzeStepReturnStrings : Pipette_StepReturn_StringAnalysis - progress; 8. BlockData: ChannelNumber=8 LabwareId= StepData= MainError=0 PositionId= RecoveryBtnId=0 SlaveError=0
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; tmp_ChannelsCount=8
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=1 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=2 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=3 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=4 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=5 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:53> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=6 tmp_ChannelUsed=1
2012-11-20 17:08:53> Pipetting_Constants : Get_Asp_PipState() - progress; inMainError=0 inSlaveError=0 inRecoveryBtnId=0 outPipettingState=1 (PIPETTING_OK)
2012-11-20 17:08:53> AspirateErrorHandler : GetPipettingState() - progress; inLabwareId=RGT_CAR_24_51 inVolume=480.0 inPipState=1 outPipState=1 PIPETTING_OK
2012-11-20 17:08:54> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=7 tmp_ChannelUsed=0
2012-11-20 17:08:54> AspirateErrorHandler : CheckAspirateResult() - progress; Handle tmp_ChannelNumber=8 tmp_ChannelUsed=0
2012-11-20 17:08:54> AspirateErrorHandler : CheckAspirateResult() - complete; return=0
2012-11-20 17:08:54> TipPattern_Calculations : Map_ChannelNumber_To_ChannelPattern() - progress; o_ChannelPattern=11111100
2012-11-20 17:08:54> Dispense : Dispense() - start;
2012-11-20 17:08:54> Dispense : Dispense() - progress; in_Stage=48 in_ChannelPattern=11111100
2012-11-20 17:08:54> Dispense : SequenceState() - progress; io_TargetSequence Total=32 Count=32 CurPos=1 Max=6 UsedPositions=0 Name=Destination
2012-11-20 17:08:54> Dispense : Dispense() - progress; StageDescription: VIC_Addition
2012-11-20 17:08:54> Dispense : Dispense() - progress; SequenceCounting: 1
2012-11-20 17:08:54> Dispense : Dispense() - progress; ChannelUse: 2
2012-11-20 17:08:54> Dispense : Dispense() - progress; Volume: 73
2012-11-20 17:08:54> Dispense : Dispense() - progress; LiquidFollowing: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; DispenseMode: 2
2012-11-20 17:08:54> Dispense : Dispense() - progress; FixedHeight: 2
2012-11-20 17:08:54> Dispense : Dispense() - progress; cLLD: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; SubmergeDepth: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; LiquidClass: MTS_Viro_IC_SurfacePartVolume
2012-11-20 17:08:54> Dispense : Dispense() - progress; MixCycles: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; MixPosition: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; MixVolume: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; SideTouch: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; TouchOff: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; AboveTouchOff: 0
2012-11-20 17:08:54> Dispense : Dispense() - progress; ZMove: 0
2012-11-20 17:08:54> Microlab® STAR IVD : 1000µl Channel Dispense (Single Step) - start;
2012-11-20 17:08:56> Microlab® STAR IVD : Firmware Command (Single Step) - start;
2012-11-20 17:08:56> Microlab® STAR IVD : Firmware Command (Single Step) - complete; > RF: er00/00rf7.1S 2010-08-03
2012-11-20 17:08:59> Microlab® STAR IVD : Firmware Command (Single Step) - start;
2012-11-20 17:08:59> Microlab® STAR IVD : Firmware Command (Single Step) - complete; > RF: er00/00rf7.1S 2010-08-03
2012-11-20 17:09:02> Microlab® STAR IVD : Firmware Command (Single Step) - start;
2012-11-20 17:09:02> Microlab® STAR IVD : Firmware Command (Single Step) - complete; > RF: er00/00rf7.1S 2010-08-03
2012-11-20 17:09:04> Microlab® STAR IVD : 1000µl Channel Dispense (Single Step) - complete; > channel 1: DWP_1600ProcessingUnit_Pipette_Home, A1, 73 uL > channel 2: DWP_1600ProcessingUnit_Pipette_Home, B1, 73 uL > channel 3: DWP_1600ProcessingUnit_Pipette_Home, C1, 73 uL > channel 4: DWP_1600ProcessingUnit_Pipette_Home, D1, 73 uL > channel 5: DWP_1600ProcessingUnit_Pipette_Home, E1, 73 uL > channel 6: DWP_1600ProcessingUnit_Pipette_Home, F1, 73 uL
Bookmarks