10-22-2013 03:53 PM
I'm completely new to labview and I want to do a compression tests with MTS frame
I got a code that is written in labview 3 but it doesn't work (I believe it's a compabality problem) in labview 2011 (the version that I have access too and my DAQ works with)
I do need to fix it as soon as possible since I'm doing my research and I don't have enough time to understand the code. I'm using PCI-MIO-16E-4 and I need 3 channels for loadcell, extensometer, and crosshead displacement.
I do appreciate if someone give me a direction to do that
Thanks
Roozi
Solved! Go to Solution.
10-22-2013 04:06 PM - edited 10-22-2013 04:11 PM
Hello roozbeh 492,
First off- this is unlikely to be an extremely quick upgrade; you may get some assistance with porting the code in the Version Conversion forums here:
http://forums.ni.com/t5/Version-Conversion/bd-p/VersionConversion
however, LabVIEW 3 is quite old (1993, not 2003), and the conversion will have to be done in stages. Reference this compatability chart for the path required:
How to Upgrade or Revert a VI to a Different Version of LabVIEW
http://www.ni.com/white-paper/8387/en
If your VIs only contain logic to process the data from your DAQ, then it may work. If they interface with drivers required by your test frame, then it is unlikely that simply upgrading the VIs will do you any good.
Regards,
10-22-2013 04:07 PM
10-22-2013 04:25 PM
I'm not really sure is 2003 or Labview 3 cuz I got this code from our mechanical test lab technician. I can open that with Labview 2011 and it seems there is no error come up when I run it i can track it through execution, some strings and output indicator and graph don't show anything but in the ouput file I will get some data
10-22-2013 06:01 PM
10-23-2013 08:52 AM
As I said I'm not sure what the version is and because of that I can't give any more information to convert forum also
Attached is the code, I'm wondering how I can recognize the version!
10-23-2013 10:34 AM - edited 10-23-2013 10:50 AM
@roozbeh492 wrote:
Attached is the code, I'm wondering how I can recognize the version!
VI properties show that it is version 10.
That said, the VI seems to be much older originally. Certain clues (Icon style, absense of "stop of true" loop condition, heavy use of stacked sequences and sequence locals (so the code can fit on a 640x480 screen :D) shows me that this code was originally written in LabVIEW 4 or even older.
10-23-2013 03:40 PM
somebody just saved the file to version on the computer. Can you also tell me what this one's version is
Thanks
10-23-2013 03:46 PM
10-23-2013 03:54 PM
@roozbeh492 wrote:
somebody just saved the file to version on the computer. Can you also tell me what this one's version is
I just showed you how to get the source version of any VI via the "VI properties... general" panel. Is there anything preventing you from doing this for any other VI you are looking at? Seems faster than attaching VI after VI here in the forum. 😄
Anyway, the VI is in 7.1, but as Dennis said, it is really irrelevant as long as you can open it in the version you currently have.