From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
05-13-2019 07:56 AM
05-13-2019 08:08 AM
For the counter is OK.
For creating an other TDMS file, I did what cbutcher said but I'm not sure if I did the right thing.
And, for reading the current tdms file in serial communication, t tried to use read tdms but it doesn't work. Can you plz see my file and tell me where are the mistakes. thank you
05-13-2019 11:05 AM
A few brief comments:
05-13-2019 11:13 AM
It seems like from your private messages that maybe you'd prefer the counters to continuously increase (i.e. give the cumulative total, not the number in this iteration), so to do that you can add a shift register (one for each is probably simplest) and then use the Add node to increase as needed.
Something like this:
05-13-2019 11:18 AM
For the counter, I devide by two because I would count number of times where data is above threshold. My signal is clean (generator signal) i change the witdh from 1 to 10 but always I have problem in detecting the threshold.
For serial communication i will do what you suggest and see what it will gives.
05-13-2019 12:25 PM
And why the counter stops counting the thresholds values? It count just for the first miliseconds?
05-14-2019 02:19 AM
for serial communication, I use putty on other computer, so no labview!! I can't use this conversion of tdms file
05-14-2019 03:04 AM
What do you want the output on the other computer to look like?
Please give a detailed description with a (made up is fine) example, like:
i=0, countA = 0, countB = 0, countC = 0, meanVoltage = 1.213V i=1, countA = 1, countB = 0, countC = 0, meanVoltage = 4.215V i=2, countA = 1, countB = 1, countC = 1, meanVoltage = -3.213V i=3, countA = 1, countB = 1, countC = 2, meanVoltage = 1.121V i=4, countA = 2, countB = 1, countC = 2, meanVoltage = 5.213V ...
or similar.
Regarding your earlier post, what do you mean about the counts stopping working? Again, please be specific and describe exactly what you mean, or show screenshots if you believe it shows the problem clearly.
The continuous guessing as to what you want or mean just slows down the ability of others to provide sensible help/advice.
05-14-2019 03:34 AM
I would something like that, the indice_counter_increase is just extra.
For the counters, the signal is sinusoidal, I apply it for 5s and the counter counts just the threshold where were in the first milisecondes, I Know that by time indices of threshold. Normally, the counters should count the threshold until the final of acquisition because this threshold exists even after the first milisecondes(sinusoidal signa).
05-14-2019 03:43 AM
Did you have any luck trying this?
@cbutcher wrote:
It seems like from your private messages that maybe you'd prefer the counters to continuously increase (i.e. give the cumulative total, not the number in this iteration), so to do that you can add a shift register (one for each is probably simplest) and then use the Add node to increase as needed.
Something like this:
In particular, note that it's the "count" output that you're adding to the shift register, not the threshold value (and you need a Shift Register, not just a tunnel).