These software installation notes are for the north cold seal apparatus computer, new as of 2019-Oct-31 and replacing the original ~2006 Dell unit running WindowsXP. Here, Windows 10 Enterprise and Labview 2018

- This PC is based on a Gigabyte GA-H270-Gaming3 motherboard. It was selected because it has two adjacent legacy PCI slots to accommodate the two National Instruments PCI interface cards that are tethered to one another with a ribbon cable:
PCI-7330 for motion control
PCI-6220 for data acquisition

- PC motherboards with two PCI slots are becoming much less common, as PCIe is the current technology.
- The computer was custom built by Virtual office Systems, Eugene. Purchased with Windows 10 home for initial testing.

A short email exchange with a National Instruments rep reveals that:

- The current DAQ device model is PCIe-6320.
- NI will be phasing out their motion products next year, so certainly don't go that route.
- NI motion control hardware is still available as of Nov. 2019.
- However the last version of LabView supporting this motion hardware is LabView 2018.
- LabView 2019 does not support motion hardware products.
- If the computer or NI motion PCI hardware fails in the future, options include:
        • Use third-party controllers that can interface with NI products via serial or ethernet
        • Use standard/serial C Series modules and create all motion control code in FPGA
        • Work with third-party local distributors like Kollmorgen and Applied Motion Products, Inc. (AMP).
        • Use EtherCAT drives with the NI EtherCAT driver instead of SoftMotion
        • More information can be found in this article:
           https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000015CT9SAM&l=en-US
             Reads like Sanskrit; sounds like fun.

- Since the computer is UO property, we hand it off to CasIT, who install Windows 10 Enterprise, AV, and other standard UO software.

- UO site license does not allow download of any NI software other than the current 2019 version.

- The UO computer software licensing staff obtained for us a 60GB ISO file with the 2018 software, and separately the data acquisition driver NI_DAQmx_18.6_driver.zip and motion controller driver NIMotion180.exe. These can be found stored on the computer where installed in desktop directory NI-LabView2018.
               _________________________
               _________________________
- Install Virtual Clone Drive and extract all of the files from the ISO file.

- YOU'LL NEED A NATIONAL INSTRUMENTS USER ACCOUNT BEFOREHAND TO PROCEED WITH THE FOLLOWING. You will be asked for your username and password.

- UO site license ser. no. for all National Instruments products: M61X95766 as, in 2013

- Find autorun.exe and execute. Follow the directions. You will be presented with a dialog allowing selection of optional modules:
   -Turns out NI_DAQmx_18.6_driver is in the base install file. Keep the separate zip file just in case.
   -So then select NI_DAQmx_18.6_driver
   -Select (...actual name of the fuzzy logic/PID option)
   -Select (...actual names of other options selected from config report, when done)

and then start the install. If during the installation the interface asks to accept updated modules from NI, indeed take them.

- After install, National Instruments Data Acquisition Devices/PCI-6220 should show in device manager

- Find NIMotion180.exe and execute.

- After install, National Instruments Motion Controllers/PCI-7330 should show in device manager

- Run "NI MAX," NI Meaurement and Automation Explorer
        -right click "Devices and Interfaces," and select "Create New..."
        -Expand "NI-DAQmx SCC connector block"
        -Select SCC-68 and double-click or click finish
        -SCC-68 now appears in "Devices and Interfaces"
        -Click on it, then on the configuration tab in the right pane bottom, then configure at the top.
        -Select the following:
                SCC Mod1: SCC-AI03
                SCC Mod2: SCC-TC02
                SCC Mod3: SCC-TC02
                SCC Mod4: none
        -click OK

END LabVIEW NON-THIRD PARTY ITEMS________________________________

- Plug the motor interface cable into the motor and a USB port on the PC. Drivers for the USB cable and the motor should be installed automatically. Not sure where the drivers are found.

- If that does not work, we have already downloaded files for manual installation:
     CP210x_Universal_Windows_Driver_v10.1.8.zip.

END THIRD PARTY ITEMS____________________________________________

ONE LAST TWEAK TO THE VI:

An error is seen upon reading file setpoint.txt; incorrect values can be seen in the probe watch window. Sub-vi "Untitled 2 (SubVI).vi" contains a another canned sub-vi, Read_From_Spreadsheet_File.vi: "LabView no longer supports this VI. Use the Read_Delimited_Spreadsheet.vi instead.

- Find the new canned VI on the I/O pallete and insert into our sub VI. Delete the old VI and wire in the new. Not sure but I think the main difference it that the old allowed only space delimited text, or a real spreadsheet. Now, we can select space, comma, or tab, and possibly others as delimiters. A comma, for now.

At this point, everything appears to work.
____________________________
____________________________

MAX Configuration Report
1/10/2020 2:35:04 PM
MAX Summary

    My System
        Data Neighborhood
        Devices and Interfaces
            ASRL1::INSTR "COM1"
            Network Devices
            NI Motion Devices
                PCI-7330 (1)
                    Default 7330 Settings
                        Axis 1
                            Axis Configuration
                            Motion I/O Settings
                            Trajectory Settings
                            Find Reference Settings
                            Compare & Capture Settings
                            Digital I/O Settings
                                Port 1
                                Port 3
                            ADC Settings
                                ADC Channel 1
                                ADC Channel 3
                            Encoder Settings
                                Encoder 1
                                Encoder 3
                            PWM Settings
                                PWM 1
                                PWM 2
                        Axis 2
                            Axis Configuration
                            Motion I/O Settings
                            Trajectory Settings
                            Find Reference Settings
                            Compare & Capture Settings
                            Digital I/O Settings
                                Port 2
                                Port 4
                            ADC Settings
                                ADC Channel 2
                                ADC Channel 4
                            Encoder Settings
                                Encoder 2
                                Encoder 4
            NI PCI-6220 "Dev1"
                0: NI SCC-68 "SCC1"
                    1: NI SCC-AI03 "SCC1Mod1"
                    2: NI SCC-TC02 "SCC1Mod2"
                    3: NI SCC-TC02 "SCC1Mod3"
            PCI-7330 "PCI\VEN_1093&DEV_70C6&SUBSYS_00000000&REV_00\5&3A890093&0&0800E0"
        Scales
        Software
            LabVIEW 2018 SP1 f4
                Database Connectivity Toolkit
                NI SoftMotion
                Real-Time
                Real-Time Trace Viewer - LabVIEW 2018 Support
                Report Generation Toolkit For Microsoft Office
            LabVIEW Runtime 2014 SP1 f11
            LabVIEW Runtime 2015 SP1 f12
            LabVIEW Runtime 2016 f6
            LabVIEW Runtime 2017 SP1 f3
            LabVIEW Runtime 2018 SP1 f4
            LabWindows/CVI Runtime 2017
            Measurement & Automation Explorer 18.5
            NI I/O Trace 18.5
            NI PXI Platform Services Configuration 18.5
            NI PXI Platform Services Runtime 18.5
            NI System Configuration 18.5
            NI-DAQmx ADE Support 18.5
            NI-DAQmx Device Driver 18.5
            NI-DAQmx MAX Configuration 18.5
            NI-Motion 18.0
            NI-PAL 18.5
            NI-USI 17.0.1
            NI-VISA 18.5
                NIvisaic.exe
            NI-VISA Runtime 18.5