LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Documentation for NI DLLs

The manual simply says there are two modes available and the help for the driver function does not mention which mode is used.

 

By selecting to install the cvi version of the driver, you get the source code and in the initialize function when the defaults are set, is the command 'LANG:SCPI".

0 Kudos
Message 11 of 19
(1,475 Views)

The default language for the instrument when it gets initialized is SCPI.  I did set it to COMPATIBILITY mode, and still could not get any of the sub VIs working.  Not sure what's going on.  The info on the page where you go to during download indicates that it was tested on the HP6623, but I have even put that on the GPIB bus, and still the sub VIs do not work.

0 Kudos
Message 12 of 19
(1,468 Views)

OK - switched over to trying the IVI drivers, as I'm up against the wall on attemping to use the drivers downloaded from here:

http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E947E659CE034080020E748...

\

 

Here's what I'm getting, when trying the IVI drivers for DC Supplies out of the Functions -> Instrument I/O -> IVI Class Drivers -> DC Pwr Supply -> Initialize.  The first IVI driver I'm using is the Initialize routine, and below is what shows up in the Error Out box.

 

IviDCPwr Initialize With Options.vi<ERR>
Primary Error: (Hex 0xBFFA1203) The session name or logical name could not be resolved to a session or driver session.
Elaboration: IVI Configuration Server C API: The '"GPIB::5::INSTR"' logical name or driver session does not exist.


<b>Complete call chain:</b>
     IviDCPwr Initialize With Options.vi
     IviDCPwr Initialize.vi
     HP6614C_Manual Vset Iset_New Drivers Loaded.vi

 

Can someone tell me where I'm going wrong?  Is there something that might not have got installed properly on the download of the drivers?

0 Kudos
Message 13 of 19
(1,462 Views)

Hi newenglandguy,

 

the error you are getting is saying that it can not connect to GPIB instrument 5. Can you see and communicate with your instrument in Measurement and Automation Explorer?

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 14 of 19
(1,450 Views)

JoeD - I do have the instrument at Address 5 and I can communicate with the instrument through MAX and across the GPIB interface.  I tried another address, and still same response.

0 Kudos
Message 15 of 19
(1,442 Views)

I've attached some results I get in NI Spy.  I inititally opened a VISA session and sent the Over Voltage Protection to Address 5 the value 12.3.  In the fourth line, is the result of using the OVP IVI driver, using "GPIB0::5::INSTR" as the Resource Name.  It does appear to be getting an address of 0.

0 Kudos
Message 16 of 19
(1,429 Views)

Hi guys,

 

It appears that we have two seperate issues here, unless you too work together?

 

newenglandguy - it appears that you have a problem with the IVIDCPOW_ConfigureOVP. If I had to guess I think it has alot to do this the 0x00000000 in the command that you were sending.

 

djpritchard - The best help I can give you right now is to check the dicumentation that is part of the drivers in LabVIEW to see what they are doing.

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 17 of 19
(1,415 Views)

JoeD - I was just trying to help djpritchard out, but it appears I have run in to a similar issue.  The line tying in to the Library node that carries the address is going in as "GPIB0::5::INSTR".  As you can see, I can get the appropriate SCPI command sent through MAX, I just don't understand why the address ends up 0.

0 Kudos
Message 18 of 19
(1,413 Views)

Hi Guys,

 

Lets take a look here. And let me know if that helps

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 19 of 19
(1,382 Views)