08-22-2018 04:40 AM
Hello
My setup was Windows 2000 + PCI6024E card.
My new setup will be PCle6321 card +Windows10.
What change does it have to do on the VI?
This Vi has already been converted to LabVIEW 11
Thank you for your help
08-22-2018 05:49 AM - edited 08-22-2018 05:51 AM
Hi platine,
there are two options:
1. Rewrite the VI from scratch using DAQmx functions (and also adding a proper programming scheme).
2. Try to use those TradDAQ (you need to install it seperately) or some other TradDAQ replacement libraries.
I would suggest the first way as that VI could gain a lot from proper programming schemes!
There's no need for (and sense in) code like this:
08-22-2018 05:59 AM
@GerdW ha scritto:There's no need for (and sense in) code like this:
Actually, local and terminal refer to different controls. Which, in a sense, make things even worse.
08-22-2018 11:12 AM
The *best* thing to do is what GerdW already said: rewrite from scratch. You *cannot* use the existing code as-is because the legacy NI-DAQ driver will not support your new PCIe-6321 (and for that matter, it may not be compatible with Win 10 either).
However, if you're quite new to LabVIEW and data acq programming and need a stop-gap, it *appears* to me that your posted code uses only the very simplest DAQ functions to perform single-sample I/O at discrete times. No clocking or buffering going on.
Consequently, you may very well be able to "get away with" dropping in DAQ Assistants as substitutes for each of the discrete DAQ function calls in the code.
That won't be a *good* end result, but it may let you get back up and running while working on the rewrite.
-Kevin P