10-20-2009 12:15 AM
Hi, Jim:
I tested your 'numbers of files' idea but it is not getting the file number saved! It recorded the huge number of loops since the recording data iterate, which results either hundreds or thousands depending the measured periods.
I attached my VI to show how I want to do it (see the attachment). I like to record the file in cyclic no. from the started cycle no. However, I found the Vi does not increase the cycle_no. at all even there is an 'add.vi' there! What happens is that it just records the original input start cycle no. The key issue is that how you can keep the last added cycle no. for next adding; I tried scrip, formula etc. but not getting there. Would be a varible able to be kept inside the loop and then used? And how?
For getting implicit time, I just want a column to show the elapsed time since the beginning of the acquisition. Since I need record hundreds of cycles, it would be convenient to have the implicit time already there for data handling instead of adding it for every file.
Best Regards
HW
10-20-2009 02:51 PM
Hi HW,
I think we needed some more logic in this in order to get the number of cycles saved. I have attached a modified file to show you how to do this. Also, writing to spreadsheet file might be a better way of showing implicit time. TDMS is very good for graphing, but writing to a spreadsheet or another measurement file might offer some more flexibility for viewing the files.
10-21-2009 01:02 AM
Hi, Jim:
Yes, it works with more logic in for your sample VI. However, I got large numbers when I tried my VI. I think this is mailnly because I need the loop to keep going with the tested signals whilst your 'simulated signal.vi' doesn't. If you see my attached VI, you can find out clearly. My understanding is that the 'shift register' is returning the last iteration times and I can't do without looping. Not sure if there is other way to do this?
Thanks for your patient.
Regards
HW
10-21-2009 05:55 PM
10-23-2009 12:36 AM
Hi, Jim:
I did adjustments like you and replaced the write file with speadsheet so now the program works perfectly! Thanks for your help.
My further question is about the stabalization of my Nanmac 'eroding' thermocouples. Before connecting to SCXI-1303, I measured the K-type thermocouples with Omega thermometer (Model CL23A) which consists with room temperature. However, after I connected the thermocouples to SCXI-1303, I found some of them being noise (hardly working).
I chose 'Build in' for CJC choice since I'm aware there is CJC sensor inside. Am I right or is there any setting for chasis SCXI-1000 or the terminal block?
Best Regards
HW
10-26-2009 08:47 AM
10-27-2009 01:43 AM
Hi, Jim:
I've posted the questions in another thread.
Thanks again for your great support!
Best Regards
HW