02-27-2013 06:25 AM
Hi,
I have downloaded a driver project that was developed with Lab View 2009sp1. Now I will this project use with LV2010.
To do this I have the library installed in instr.lib. But when I opened some VI's I discovered that Lab View have added control elements.
Why is it so and how can I stop this behaviour?
Solved! Go to Solution.
02-27-2013 06:31 AM
What do you mean by control elements? Controls in the front panel palette?
02-27-2013 07:06 AM
Yes, Lab View adds a numeric control to this VI.
I have attached a screen shot of this VI. One time opened with LV2009 and on time opened with LV2010.
02-27-2013 07:28 AM
Rightclick on the control>> Visible Items>>Uncheck Digital Display.
Its the digital display from the same control, its not an extra control.
02-27-2013 07:54 AM
I doesn't mean the Operation Mode enumeration. I mean the control below with the label "Value (0)". This control is generated by LabView.
And also in some other VI in the same library are different changes who are made by Lab View.
02-27-2013 07:58 AM
Wait. What?
Your advice that "Its the digital display from the same control, its not an extra control." is not true.
Look at the PDF the OP provided. Clearly someone modified the VI in question to add an extra floating-point parameter to be passed to the instrument after the mode-setting command. This is an NI-supplied instrument driver for a family of Höcherl & Hackl electronic loads.
I'm not sure where the OP got the earlier version of the driver. I just checked the IDN, and there is only one release listed, and the VI in question has the "Value (0)" parameter on the conpane and wired in to the Format Into String node. So, there's no telling where the OP got the prior version.
Dave
02-27-2013 08:10 AM
Surely that didnt just happen because you saved it in 2010. You downloaded a new set of drivers for 2010 from here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=AFAA2CBD85041C96E04400144F1EF8...
The second driver has more features.
Also, note that the two modes are different, in the second case you are specifying the current where as the first one is a constant current configuration for the load.
02-27-2013 08:14 AM
You weren't explicit, but based on what I am seeing, you downloaded the LV2009 and then downloaded the LV2010 ersions of the driver here right?
It looks like they made some revisions between the driver and didn't update the LV2009 version. Just use your 2009 version and move it into the LV2010 instr.lib directory. LV will upgrade it and you will have the same code you used in 2009.
02-27-2013 08:20 AM
This driver was made with Lab View 2009sp1. And if I open it with the same Lab View version then all VI works well.
But when I will use the same project in Lab View 2010 then I get this additional floating point element. And as result the load who should work with is getting an syntax error.
02-27-2013 08:25 AM
.aCe.,
Now I'm curious - I followed the download links for both the 2009 and 2010 versions of that driver - carefully, into separate folders - and in both zip archives the file in question has a modified date of 2011-12-15, and a file history version of 74. Where do you see the OP's older version without the extra parameter?
Further down on that page, there are links for the individual instruments supported - and some of those lead you to an older-style driver "0604" enclosed in an LLB. But those look completely different.
Dave