From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically enable citadel data logging?

Hi everyone,

 

I've been using LabVIEW for a few months now and I recently set up Citadel data logging. It took a while to figure out a few snags with it but I got it working in the end. Anyway my question is this; is there a way to programmatically enable/disable citadel datalogging? It seems whenever I open my project it immediately logs data, so before I have begun my process I have a whole load of temperatures and pressures at ambient conditions, which is of no interest.

 

Ideally I would like to have a button on my Front Panel as "Logging ON" for example for when I want to begin datalogging. I shopped around for some solutions to this, there was a suggestion about a VI that could do it, but it doesn't seem to exist, at least not within the DSC module.

 

Any suggestions are greatly appreciated, thanks in advance!

0 Kudos
Message 1 of 3
(2,460 Views)

Deploy your library with datalogging disabled, then use the DSC vi Configure Logging to enable/disable logging at runtime.

I never used it but it should work.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
Message 2 of 3
(2,446 Views)

That's great, thanks a lot for this!

0 Kudos
Message 3 of 3
(2,412 Views)