LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW 2019 and niDitigal

Solved!
Go to solution

I wrote a driver to control my Digital Pattern Instrument in my PXIe chassis in LabVIEW 2017.

I would like to upgrade to LabVIEW 2019, but I am experiencing issues with the niDigital driver. Is this driver supported in LabVIEW 2019? Has it, or is it, being phased out?

Here is what I tried:

  1. Install LabVIEW 2019
  2. Open the project in LabVIEW 2019. The project cannot find the niDitital VIs.
    1. Use NI package manager to install the niDigital driver (latest version is 18.5).
    2. Retry opening the project, but LabVIEW still cannot find the VIs.
  3. Check the instr.lib directory and see the niDigital and niTClk folders are not there. I searched for them, but could not find them except in LabVIEW 2017.
    1. Copy them from LabVIEW 2017 instr.lib to LabVIEW 2019 instr.lib
  4. Project now opens without issue, but "niDigital Get Session Reference.vi" is broken because the niTClk SessionReference constant cannot be wired to the polymorphic refnum input on "Register Session.vi"

I thought perhaps I could fix the niDigital Get Session Reference.vi, but I can't seem to find the correct refnum to use.

0 Kudos
Message 1 of 4
(2,369 Views)
Solution
Accepted by topic author EnthusiasticStudent

Hi 

Please don't try side loading drivers, i.e. copying the files from one LV version to another. There are usually other files beside just the VIs you'll need to transfer and that probability of error is high. 

"Is this driver supported in LabVIEW 2019? Has it, or is it, being phased out?" 

niDigital is not being phased out, the release of version 2019 is just lagging behind a bit. Should be released any day now. 

 

Best Regards

 

David

Message 2 of 4
(2,318 Views)

Hi

Thanks for the update on the niDigital, I couldn't find any information about release schedule, but do remember receiving some information about opcode issues.

Thanks for the advice about side-loading drivers. It makes a lot of sense.

 

Best Regards,

ES

0 Kudos
Message 3 of 4
(2,304 Views)

"Project now opens without issue, but "niDigital Get Session Reference.vi" is broken because the niTClk SessionReference constant cannot be wired to the polymorphic refnum input on "Register Session.vi""

 

I am having the exact same issue in LabVIEW 2018.  I'd like to be able to use the niDigital Close.vi but cannot with niDigital Get Session Reference.vi in the current condition.  How can I fix this vi?

0 Kudos
Message 4 of 4
(1,955 Views)