LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data acquisition using NI cDAQ 9191

Hi Jawad,

 

Actually code do not give an error, it simply do not save a tdms.

When you want to discuss your actual state of the code you NEED to attach it!

 

May be placing all the DAQ VIs inside loop was correct.

Surely not!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 31 of 36
(822 Views)

The code is attached with this post.

0 Kudos
Message 32 of 36
(818 Views)

Hi Jawad,

 

the logging mode of the DAQmxConfigureLogging function is set to "off", so there is no TDMS file to expect.

 

When your own TMDS writing does not write any data you should debug your VI: do you actually get any data at all? What happens when you run your code with highlight debugging enabled?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 33 of 36
(813 Views)

For both"log" and "log and read" modes of this function no TDMS is saved

0 Kudos
Message 34 of 36
(808 Views)

How to highlight debugging enabled?

The data can be seen from thr eaveform but i am not sure that is it correct or not.

 

0 Kudos
Message 35 of 36
(805 Views)

Hi Jawad,

 

did you take any of those training resources mentioned on top of the LabVIEW board?

They surely explain basic debugging techniques…

 

Do you see the lightbulb in the tools menu of your block diagram window? Switch it on and see the DATAFLOW working…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 36 of 36
(802 Views)