Our data collection software starts slightly earlier than our experiments do, so we'd like to eliminate that lag time in the JMP data in the following way:
1. User inputs date-time of start of each experiment ( can be multiples that start at different times in the same data table). This part I've got scripted with a List Box.
2. Parse date-time.
3. Find range of rows correlated to each specific experiment based on matching the string identifier in Column A
4. Remove all rows prior to starting date-time.
5. Change the elapsed experiment time (in decimal time) to start at the input date-time.
I've been succesful at everything up to #5, where I keep getting error messages. Ideally, I'd just subtract the number in the now first row of the range for each experiment from each cell in the elapsed time column. Would a loop make the most sense here? Should I just create a new column for each experiments elapsed time and then recombine? Thanks for any help and scripts.