LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

instrument drivers

Hi frens,
 
I need help to develop a driver for Gigatronics 8651A power meter. I have downloaded its software driver and have found that all of its functions come in different VIs respectively (eg. a VI just for turning on the meter). Any idea on integrating those particular functions I want into a single VI?(eg. putting the on/off, offset frequency, self calibration functions together).
 
Pls advise me on where to startoff.
 
Thanx!!  
 
 
0 Kudos
Message 1 of 11
(4,339 Views)

Hi

you usually find that an example is provided with the instrument library -so I would use that as a starting point.

If you are going to impliment just 'one ' vi  I suggest that you create sub vi's so that your BD does not become so complex that you lose the overview.

A state machine solution would be smarter.

xseadog

0 Kudos
Message 2 of 11
(4,325 Views)

Hi I dun reli understand this. So after I put in the subVI into the original, I copied manually the subVI's front panel into the original(since it does not automatically appear.) Hence I hafta begin wiring... is this procedure correct or usual?

However I do have some problems after I wired up: The error out cannot be connected....

Any idea?

0 Kudos
Message 3 of 11
(4,305 Views)

Well

if you post the code plus instrument driver

then I can have a look

 

xseadog

0 Kudos
Message 4 of 11
(4,300 Views)
0 Kudos
Message 5 of 11
(4,297 Views)

Hi

NO instrument driver -no helpSmiley Surprised

xseadog
0 Kudos
Message 6 of 11
(4,290 Views)
Sorry, I forgot. Thanx again!
Download All
0 Kudos
Message 7 of 11
(4,287 Views)

Hi KK

Amend your diagram:

connect visa session output from Initialise vi to input of Channel configuration.

 likewise do the same for error terminal.

Connect  dup visa session fromChannel Configuration to appropiate shift  register on while loop.

Repeat for Error terminal

See attached gff
xseadog
0 Kudos
Message 8 of 11
(4,278 Views)

Hi x,

Have tried, but not working. Attached is the particular sub VI driver tt I wanted to put. If I just run this driver alone, everything will work.

There's quite some internal wirings... haf a look. Channel operation config is the one I want to integrate into Getting started VI.

My apologies tt I did not attached these particular drivers.

Many thanx!

Download All
0 Kudos
Message 9 of 11
(4,249 Views)
Attached is my wirings.... Let me know if I din do anything correctly
 
0 Kudos
Message 10 of 11
(4,243 Views)