04-28-2021 08:49 AM - edited 04-28-2021 09:05 AM
Updating the installation script to target LV2021 and execute it with sudo privileges.
#!/usr/bin/env bash
folder="DAQmx Base Files"
nidir="/Applications/National Instruments"
lvdir="$nidir/LabVIEW 2021 64-bit"
if [ -d "$lvdir" ]; then
echo "Installing NI-DAQmx Base to LabVIEW 2021..."
cp -r ./"$folder"/ "$lvdir"/
echo "Completed succesfully!"
exit 0
else
echo "LabVIEW 2021 not found in default directory." >&2
exit 1
fi
Works with USB 6009!
Should work the same on Big Sur
04-30-2021 03:40 PM