Good morning TQ,
Yes you can by using the CV replacement in the CopyD Destination command
The DT8x has a number of system variables and there ate three you need for this.
20SV hold the Current day
21SV hold the current month
22SV holds the current year
Add these to your code and assign them to channel variables. Then uses these channel variables to build up the data in your unload command.
e.g.
Begin
RA1S LogOnA
RefT ' Measure something
RB1D ' Email data every day
20SV(1CV) 'Read Current day
21SV(2CV) 'Read Current Month
22SV(3CV) 'Read Current Year
Do(CopyD Format=CSV Dest=a:\?(1CV)?(2CV)?(#CV).CSV)
End
Cheers
Roger
Good morning TQ,
Yes you can by using the CV replacement in the CopyD Destination command
The DT8x has a number of system variables and there ate three you need for this.
20SV hold the Current day
21SV hold the current month
22SV holds the current year
Add these to your code and assign them to channel variables. Then uses these channel variables to build up the data in your unload command.
e.g.
Begin
RA1S LogOnA
RefT ' Measure something
RB1D ' Email data every day
20SV(1CV) 'Read Current day
21SV(2CV) 'Read Current Month
22SV(3CV) 'Read Current Year
Do(CopyD Format=CSV Dest=a:\?(1CV)?(2CV)?(#CV).CSV)
End
Cheers
Roger