ni.com is currently experiencing unexpected issues.

Some services may be unavailable at this time.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

instrument driver not updated in palette menu

Hi,

 

I created new instrument drivers in the .lvproj library but when I tried to use those driver VIs they don't appear on the palette menu. How do I fix this?

 

Thanks 

0 Kudos
Message 1 of 7
(4,200 Views)
I don't completely understand "in the .lvproj library". Doo you mean you created a library? Did you place the instrument driver into the instr.lib folder in the <LabVIEW>\instr.lib folder? The code itself should be in its own folder. You can see this if you look in the instr.lib folder.
0 Kudos
Message 2 of 7
(4,190 Views)

Hi,

 

To answer your question, I'm not really sure. I'm confused. I thought I placed the drivers in the instr.lib but it doesn't seem that way. I've attached the file.  

I want to upload the drivers in this project to the palette menu. 

0 Kudos
Message 3 of 7
(4,182 Views)

Hello Mbdeck,

        The recommended way to create a new LabVIEW Plug and Play instrument driver is by using the Instrument Driver Project Wizard.  The wizard generates instrument driver code that gives you a starting point for development.  The VIs that it generates already show up in the pallets also.

 

        To edit the pallets, go to Tools>>Advanced>>Edit Pallet Set

 

Cheers,

 

NathanT

0 Kudos
Message 4 of 7
(4,160 Views)

Hi Nathan T,

 

I started with the instrument driver project wizard. When I tried to name the project, an interactive window popped up saying that a similar name exists and it didn't allow me to save the project as "oscilloscope project" so I had to change it to OSC as you can see in my earlier attachement. 

 

Just to give you the full picture, I had done this exercise before but with an evaluation copy of labview 8.6 without problems and the evaluation software has already expired.  I'm now repeating the same exercise with labview 2009 that I recently purchased and installed on the same computer. I don't know if this has anything to do with the current issues I'm having but I just want to mention it.

 

Anyways, everything seemed to work well and I was able to create and edit VIs that came with the project. I only started having problems when I tried to build an example VI using a "configure" driver I created. I couldn't find that driver under the configure sub-palette for the "OSC instrument driver" palette eventhough the driver exists in the project.

 

 

0 Kudos
Message 5 of 7
(4,153 Views)

Hi Mbdeck,

 

I just walked through the Instrument Driver Wizard in LabVIEW 2009 SP1 and it seemed to work for me.  Is it just the configuration VIs that you are missing in your palette or are there others missing as well?  I tried using your files, but with only the .lvproj files posted I could not use it in my instrument library, it requires the .lib files as well.  This could also be your issue if you were copying it over from a different version of LabVIEW.  You will need a folder inside of the instrument library with both your .lvproj files and your .lib files.

Ryan T
National Instruments
Applications Engineer
Message 6 of 7
(4,137 Views)
Thanks Ryan T for your response.  I was able to resolve the problem after speaking with an NI application Engineer. I just had to go to tools>>> advanced>>> update palette menu to fix it.
0 Kudos
Message 7 of 7
(4,131 Views)