07-24-2013 04:37 AM
Hi,
my mission is the transferring a programme written by another person.
the old computer has
a version of system exploitation XP(32 bits) and
LabVIEW 8.5 and card PCI 6024E and
NI-Daq traditionnel
the new computer has
a version of system Windows 7(64 bits) and
LabVIEW 2012 and card USB 6009 and
NI-DAQmx version 9.7.0.f.0
What can I do to make my program work in the new pc?
Helpppppppppppppppppppp please,
07-24-2013 04:39 AM
could be worth posting to this board
http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion
07-24-2013 05:13 AM
The simple part is converting the code itself. LV2012 will open the old code and save it in the new version. The hard part will be updating all the traditional DAQ calls to DAQmx. Depending on how well, or how poorly, the code was written, that part of the job could be huge.
My recommendation is to dig into the DAQmx examples and learn about how they work. Then go into the old code and try to rewrite ot using the new DAQmx techniques. I'm sorry I can't be more precise, but without an example of the code it's impossible to give more specific answers.
Mike...
07-24-2013 08:01 AM
Hi,
you will find the code in attachment
Can you help me please?
Thanks,
07-24-2013 08:21 AM
Two problems:
1. You need to get rid of the sequence structure. Assuming the operations can't be performed in parallel, the execution of the subVIs should be gated by the passing of error data from one to the next.
2. The subVIs are apparently where the daq code is, and you didn't send any of those.
Mike...
07-24-2013 08:40 AM
Hi,
thank you for having answered me quickly.
for a first probleme of sequence, I am new developer so it seems to me easy to use sequence
the second probleme, you find the vis are missing in attachment
thank you for your hlep
07-24-2013 08:45 AM
Sequences are never a good idea, better to learn to not use them in the beginning.
More inportantly though, none of the VIs you posted use any DAQ. They all make calls to some custom DLL.
Mike...
07-24-2013 08:54 AM
Hi,
but how i can use this bll and how i can put Orbit_if.dll in my computer?
I try to put Orbit_if.dll in System 32 but he does not work, so i do not know how i use this dll
07-24-2013 09:03 AM
can you tell me how i do not develop with sequence, any site?
07-24-2013 09:42 AM
Each oone of those DLL calls can generate an error in the form of a numeric code that is in the "return" value. Typically a value of 0 means no error - but check the dll documentation.
Give that a try and post your results.
Mike...