LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while capturing miliseconds value in particular test condition using CDAQ

Solved!
Go to solution

Hi all

      I have an application which is using to capture and storing analog value (1000 datas for sec) and storing an value in text file when the pulse input is captured(analog value go to max ).The pulse input duration min is 1 miliseconds.

While trying to do the above storing the value is not stored in notepad..

0 Kudos
Message 1 of 6
(1,665 Views)

Hi kps,

 


@kps001 wrote:

I have an application which is using to capture and storing analog value (1000 datas for sec) and storing an value in text file when the pulse input is captured(analog value go to max ).The pulse input duration min is 1 miliseconds.

While trying to do the above storing the value is not stored in notepad..


Then you made something wrong!

 

Some comments:

  • I would not store data in "Notepad", but in text files on my harddrive.
  • When you have problems with your code you should attach your code (but not just images of code)…
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(1,659 Views)

Thanks for the reply

      Actually  I was store in .txt format only, What happened means initially when I did that project that was working and data also stored in Text file. Now  that project pc is updated with windows 10(from windows 7) .
I don't understand why the same application is not working similarly

0 Kudos
Message 3 of 6
(1,632 Views)
Solution
Accepted by topic author kps001

Hi kps,

 


@kps001 wrote:

What happened means initially when I did that project that was working and data also stored in Text file. Now  that project pc is updated with windows 10(from windows 7) .
I don't understand why the same application is not working similarly


Well, I guess something changed in this whole setup - like the OS which is used to run your executable!

 

You (should) know the code, so you can debug it!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(1,626 Views)

Did I read correctly that you're trying to capture a 1 ms pulse while sampling at a rate of 1 sample/ms? You should be sampling at a higher rate. In any event share your code and perhaps you will get better help. I have some guesses about what might be going on, but to see your code would help to narrow down those guesses.

0 Kudos
Message 5 of 6
(1,599 Views)

Solved...

Actual Problem is Compatibility issue

 

 

Thank You all for your supports😍 

0 Kudos
Message 6 of 6
(1,544 Views)