Bedi,
You can connect a cable from your 6024E to the SC-2345. Within the SC-2345, you can install a FT-01 module in J19 or J20 to access the counter lines. In LabVIEW, you can find example programs to help get you started by going to Help>>Find examples. Please post again if you have specific questions about any of these components. Good luck with your application!