LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to (easily) set up many-channel data logging with the DSC module

Hi all,

 

Let's say I want to continuously log and monitor 1000 channels of data obtained from a CompactRIO. A scenario could be:

 

  1. Create I/O aliases for each channel on the cRIO side
  2. Create networked shared variables for each channel on the PC side, bind them to the IO aliases, and enable logging

This process works well and doesn't require code, which is very nice. However, the process of setting up the variables themselves is quite tedious. It's no fun either, if we ever need to change a bunch of names.

 

Manipulating CSV files does make things a bit easier, but I was wondering if anyone has any other tips on streamlining the setup process? Or tips on how to keep both sets of variables synchronized?

 

 

Thanks!

Certified LabVIEW Developer
0 Kudos
Message 1 of 2
(2,107 Views)

Hi JKSH,

 

You might want to take a look at this community example.  Depending on your application, programmatically creating and binding your variables might save some time.

 

https://decibel.ni.com/content/docs/DOC-5929

 

The DSC Module also enhances the capabilities for programmatically manipulating your variables.

 

The link below also shows how to bind these variables using invoke nodes:

 

http://digital.ni.com/public.nsf/allkb/2E8BAD0EA218A7558625712E0003F044

Andrew T.
National Instruments
Message 2 of 2
(2,089 Views)