LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data type mismatch for code from labview 7


@RavensFan wrote:

In that case, you may just want to continue maintaining the code in LV7 with traditional DAQ on an older PC with an older OS.  Of course there will be some point of time where something is going to break and you will be forced to start upgrading.  It will be in a rush with no time to do it properly and you'll be under all sorts of pressure to do it quickly and correctly.  (Good luck with that!)

 

Rereading your earlier post, you said you just installed LV 12 to be able to read the code.  Copying the traditional DAQ VI's from older LabVIEW was probably a bad idea.  But if you are just doing things to read the code to see what the VI's do, without trying to make it run unbroken, you are probably just fine.  You shouldn't care that much about certain broken wires.  Note that there is a version of traditional DAQ you can install on your LV12 PC.  NI-DAQ and LabVIEW Version Compatibility (for Windows) (Version 7.4.4)  It looks like traditional daq 7.4.4 will work from LV7 to LV 12.  However, there are no guarantees about 64 bit versus Win 8 or anything like that.

 

Make sure you maintain a safe copy of your code elsewhere.  You don't want to accidentally open a VI in LV12, save it, then be unable to use in in LV7.  Trying to migrate backwards would be a bigger pain than you are already experiencing.  So don't expect to make code modifications in LV12 to save back to LV7.  Theoretically possible, but really not worth the trouble.

 

I would recommend starting a process to upgrade that code now while you have a chance.  Fix the bugs that needed to be fixed and the previous programmers got around to.  Do it now while you have a chance to prove out everything before releasing it for actual use.  That way you are forced to do it under pressure when the running applications finally break.


Thanks for the suggestion. I really want to do the upgrade by myself when I got a chance. But before that, could you please show me some clue what's the advantage to do the upgrade? Since our system is pretty big and it broken into more than 50 modules, each one contains lots of subvis. It is quite stable but the code speed is not as good as we expect. Do you think upgrading will improve the speed too?

0 Kudos
Message 11 of 12
(229 Views)

Upgrading computers will likely help your processing speed.  But you will likely get more performance boost from refactoring the code.  From what I remember, DAQmx worked more efficiently than the Traditional DAQ as well.

 

I recommend taking one module at a time and upgrade it and get it working the way you want and then go with the next.  It will be a long process, but will be much worth it when you have to make additional changes later on.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 12 of 12
(220 Views)