ni / niveristand-custom-device-build-tools

Tools for automating builds of NI VeriStand custom devices.
MIT License
17 stars 28 forks source link

VI template is not properly diffed/rendered #18

Open csjall opened 5 years ago

csjall commented 5 years ago

We have template files for our test cases. Diffbot makes separate VI instances for these which can be confusing. See example below for new file testExample.vit.

image

buckd commented 5 years ago

The Open VI Reference in VIDiffUtilities.lvlib:OpenVIs.vi probably needs to have the correct flag set to open the template. The options input needs 0x02 in order to open the actual .vit.

rtzoeller commented 5 years ago

We should look at fixing https://github.com/ni/niveristand-custom-device-build-tools/issues/44 before fixing this, as VI templates in classes will fail to diff at all if the required changes to fix this are made without addressing https://github.com/ni/niveristand-custom-device-build-tools/issues/44 first. I believe the existing behavior is better than no diffs for the templates being generated.