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.

Distributed Control & Automation Framework (DCAF)

cancel
Showing results for 
Search instead for 
Did you mean: 

Archived: Installation and Getting Started with DCAF

Also make sure you have the right paths on the editor: to get here you need to go to Tools>> Edit Pluggin Search Paths

In here you shoudl at least have 2

<LabVIEW 2015>\vi.lib\NI\DCAF

and

<LabVIEW 2015>\examples\DCAF Examples

Benjamin C
Principal Systems Engineer // CLA // CLED
Message 11 of 30
(4,388 Views)

I followed the deinstall/reinstall steps recommended by Burt_S and still have the same results when I try to load the project. Also, I am still unable to launch the DCAF Standard Configuration Editor - it error's out. I will PM Burt_S

0 Kudos
Message 12 of 30
(4,388 Views)

Problem is solved. It was not a DCAF issue. Looks like the root cause  was an addressing issue(s) caused when I moved all LabVIEW software from the 😧 to the C: partition on my development computer after a hard drive upgrade.

Many thanks to Burt for the help in tracking this one down!

0 Kudos
Message 13 of 30
(4,388 Views)

Hi,

I'm trying to evaluate DCAF for a customer,but the installation seems to fail on a fresh LV2015 install.

Installing DCAF core went OK, so does opening the example.

But when I launch the DCAF editor and try to open the example configurations I get the follwing error for the simulation config

SimulationConfigError.PNG


Loading the FullSystem config gives me another error

FullSystemConfigError.PNG

I also cannot specify Linux x64 as TargetType in a new configuration, but I'm guessing this is due to the same iisue I see with the example files (something missing in the installation?)

I'm probably missing something big, but any help is greatly appreciated.

/J

0 Kudos
Message 14 of 30
(4,388 Views)

Hi Mellroth,

When you open the DCAF Configuration Editor, make sure to include the appropriate search paths for the example folder. This allows the editor to load the classes it will need. Do this by going to Tools>>Edit Plugin Search Paths. Then click "Add" and navigate to the Example directory which may look like this:

C:\Program Files (x86)\National Instruments\LabVIEW 2016\examples\DCAF Examples\RT Temperature Controller

Application Engineering Specialist
National Instruments
0 Kudos
Message 15 of 30
(4,388 Views)

I'm also having problems installing the DCAF modules on my laptop.

I reimaged my computer and installed just Labview and then DCAF core module from VIPM. At this point the RT Temperature Example opens fine.

Then I ran the NI CRIO 16 installer.

After that, when I try to open the RT Temperature example, I get a bunch of errors saying that certain VIs cannot be found.

It appears that labview is now expecting the DCAF VIs to live in "C:\Program Files (x86)\National Instruments\LabVIEW 2015\Targets\vi.lib" instead of  "C:\Program Files (x86)\National Instruments\LabVIEW 2015\vi.lib"

Did I mess up the sequencing of installers? What's the best way to correct this?

Screen Shot 2016-10-18 at 8.02.52 PM.png

0 Kudos
Message 16 of 30
(4,386 Views)

I managed to sort out my issues.

It turns out that somehow the CEF framework and tag bus framework files didn't actually exist on disk, even though they showed installed in VIPM.

I had to uninstall them and then reinstall to get things working. I'm not sure if the errors occurred during my initial install of DCAF or if the CRIO installer deleted the files somehow?

0 Kudos
Message 17 of 30
(4,388 Views)

Hmm...I can't think of any reason why RIO would tamper with the DCAF files in vi.lib. VIPM is also really good about grabbing dependencies automatically. Unfortunately I don't have many theories as to what could have happened here. I'd understand if you don't want to continue investigating now that you've been able to move past this, but if you do happen to have any additional steps for reproduction we could use them to do more investigation. Without them I'm not sure what our next steps would be.

0 Kudos
Message 18 of 30
(4,388 Views)

I was able to reproduce it twice with the following steps from a clean windows install:

  1. Install Labview 2015 SP1 (32 bit)
  2. Install Labview 2015 F5 Patch
  3. Install DCAF Core via VIPM
  4. Install CRIO 16

At this point, the example was broken for me both times.

0 Kudos
Message 19 of 30
(4,388 Views)

Thanks! A few more questions and then we should be able to look into this more easily.

After installing DCAF in step 3, did you confirm that the example works as expected? In other words, is step 4 the only step between a working and a broken example?

Does the process of installing LabVIEW in step 1 include LabVIEW Real-Time?

One issue may be that the shipping example expects RT to be installed even though the framework only requires Windows. If you still have a system setup that is broken, and that doesn't have LabVIEW RT installed, could you try creating a new project from the simple execution template to see if that also has linking issues? The code there is very similar to the shipping example.

Sorry if these questions are any extra trouble. Issues like this can be a pain to track down so its nice to have plenty of good information before getting started.

0 Kudos
Message 20 of 30
(4,390 Views)