LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I create a LabView driver with existing driver vi's?

Solved!
Go to solution

I am trying to create a 1553 driver for LabView. I received all of previously created 1553 LabView driver files from the manufacturer. I have also used Tools->Instrumentation->Create Instrument Driver Project to start a new project. I used a new template and the block now shows up under Instrument I/O. I moved all the previously created 1553 driver files to the data folder in the project located at C:\Program File\National Instruments\LabVIEW 8.6\1553Data\Public\Data.  I don't see any of the driver vi's available under the Instrument I/O->1553Data. How can I make these vi's available for use?

 

I am also unsure of which folders my files should go in (Configure, Data, Utility, etc.).

 

Thank you.

0 Kudos
Message 1 of 8
(3,425 Views)

"atcooper" <x@no.email> wrote in message
news:1234465816735-852236@exchange.ni.com...
> I moved all the previously created 1553 driver files to&nbsp;the data
folder in the project located at C:\Program File\National
Instruments\LabVIEW 8.6\1553Data\Public\Data. &nbsp

If you want them in your palette, you need to put them under the instr.lib
directory: C:\Program File\National
Instruments\LabVIEW 8.6\instr.lib\1553Data\Public\Data

>I am also unsure of which folders my files should go in (Configure, Data,
Utility, etc.). &nbsp;Thank you.

VI's that are used for configuration of your device go under Configure.
VI's that are used for reading or writing data to or from your device go
under Data.
VI's that are convenient, but don't fall into the other caragories, under
Utility.

Regards,

Wiebe.


0 Kudos
Message 2 of 8
(3,403 Views)

I have moved my files to the location you have listed and have opened up some of the Read vi's to make sure all their dependencies are properly linked. I still don't see their icons under Instrument I/O->Instr Drivers->1553Data->Data.

 

Did I do something incorrectly when creating the driver project?

 

Thank you.

0 Kudos
Message 3 of 8
(3,393 Views)

"atcooper" <x@no.email> wrote in message
news:1234530617176-852726@exchange.ni.com...
> I have moved my files to the location you have listed and have opened up
some of the Read vi's to make sure all their dependencies are properly
linked. I still don't see their icons under Instrument I/O-&gt;Instr
Drivers-&gt;1553Data-&gt;Data. &nbsp;Did I do something incorrectly when
creating the driver project? &nbsp;Thank you.

Did you restart LabVIEW?

Regards,

Wiebe.


0 Kudos
Message 4 of 8
(3,380 Views)

Yes, I have tried a few times and the computer was shut down overnight, so everything got restarted.

 

Do you think there could be something in the vi's themselves keeping them from displaying? They all have icons, but maybe there is a setting that I don't know about to have them show in the menu.

 

Thanks again.

0 Kudos
Message 5 of 8
(3,378 Views)
All the directories in instr.lib should show up in your palette. But I
checked, they are under Instrument I/O>Instr Drivers>, not directly under
Instrument I/O.

You should not have to do anything special.

Regards,

Wiebe.


0 Kudos
Message 6 of 8
(3,368 Views)
Solution
Accepted by topic author atcooper

I figured it out. Here is how you insert the vi's into the palet:

 

Tools->Advanced->Edit Palette Set

 

I went into the data section and right clicked. There is an option to insert vi's. I clicked this and picked my vi to insert and now it shows up.

 

Thanks for you help.

0 Kudos
Message 7 of 8
(3,363 Views)

"atcooper" <x@no.email> wrote in message
news:1234537821842-852850@exchange.ni.com...
> I figured it out. Here is how you insert the vi's into the
palet:&nbsp;Tools-&gt;Advanced-&gt;Edit Palette Set&nbsp;I went into the
data section and right clicked. There is an option to insert vi's. I clicked
this and picked my vi to insert and now it shows up. &nbsp;Thanks for you
help.

You shouldn't have to do that... It should insert instr.lib vi's
automatically.

Anyway, have a nice weekend.

Wiebe.


0 Kudos
Message 8 of 8
(3,346 Views)