Signal Conditioning

cancel
Showing results for 
Search instead for 
Did you mean: 

use reference trigger for cyclic recording data

Solved!
Go to solution

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

0 Kudos
Message 21 of 27
(3,775 Views)

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.

Regards,
Jim Schwartz
0 Kudos
Message 22 of 27
(3,769 Views)

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

0 Kudos
Message 23 of 27
(3,763 Views)

Hi HW,

 

I have made some adjustments to the code that I think will make this work the way you want. Basically, I just played with the logic a little until it worked.  I think that what you were seeing was because our digital lines are active high, so it was continually counting. 

Regards,
Jim Schwartz
0 Kudos
Message 24 of 27
(3,751 Views)

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

0 Kudos
Message 25 of 27
(3,744 Views)

Hi HW,

 

We like to keep one issue per thread to help with searchability and support.  Could you please post this question in a new thread?

Regards,
Jim Schwartz
0 Kudos
Message 26 of 27
(3,731 Views)

Hi, Jim:

 

I've posted the questions in another thread.

 

Thanks again for your great support!

 

 

Best Regards

HW

0 Kudos
Message 27 of 27
(3,721 Views)