Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

hp34401a_measure fn

Help everybody!!
 
Just down to the one Undefined symbol error - '_hp34401a_Measure@16' referenced . . . . this is after I added the below line to hp34401a.h since it was not present and we have alot of old functions that use measure.
 
ViStatus _VI_FUNC  hp34401a_Measure (ViSession vi, ViInt32 measFunction,
                                     ViInt32 maxTime, ViReal64 *reading);
 
 
 
Is there any thing else I have to change or modify to get this one sorted?
 
Many Thanks
Paul
 
0 Kudos
Message 1 of 10
(3,916 Views)
HI Paul,

I have checked our database for any issues found while using the with the HP34401A.  I will need some more information before I can help you further. 

I.   Are you communicating via GPIB or Serial.
2.  What Operation System are you using.
3. What Version of LabWindows are you using.

Thanks,

Seamus
0 Kudos
Message 2 of 10
(3,858 Views)
Hi Seamus
1.   Are you communicating via GPIB or Serial.  Now using GPIB, through a USB-B, was using GPIB through the ISA, but I had problems with the drivers for the ISA
2.  What Operation System are you using. Win2000
3. What Version of LabWindows are you using. Lab8.0

Thanks,
Paul
0 Kudos
Message 3 of 10
(3,846 Views)
Hi Paul,

I have a 34401A set up on my machine at the moment.  I do not see any problems.  If you want to send in your code I can have a look at it here for you.

Just attach it to this fourm.  If you have any other questions or if you want to supply some more information about your application, you can add that to your post also.

rgds,

Seamus
0 Kudos
Message 4 of 10
(3,813 Views)

There are IVI-C and VXIpnp drivers available for the 34401A on NI's Instrument Driver Network.  Make sure that you are using the correct one that your application was developed with.  You should not have to add any entries to the header file, as it would already exist in the driver  you developed the application with.

 

Jason Hobbs

0 Kudos
Message 5 of 10
(3,796 Views)
Hi Jason,
How can I check if I have the correct  IVI-C and VXIpnp drivers installed?
Thanks
PAul
0 Kudos
Message 6 of 10
(3,788 Views)
My understanding is that your application was developed with a driver; in particular, a driver with a function called hp34401a_Measure.  You can download the VXIpnp and IVI-C drivers for the 34401a from our site and look for this function in the header file.  Agilent may also provide a different VXIpnp driver for this instrument, so you can check that one as well.
 
For the future, it would be best to document in your code which driver you are using and where to get it.
 
Good Luck,
Jason
0 Kudos
Message 7 of 10
(3,772 Views)
My understanding is that your application was developed with a driver; in particular, a driver with a function called hp34401a_Measure.  You can download the VXIpnp and IVI-C drivers for the 34401a from our site and look for this function in the header file.  Agilent may also provide a different VXIpnp driver for this instrument, so you can check that one as well.
 
For the future, it would be best to document in your code which driver you are using and where to get it.  Just
 
Good Luck,
Jason
0 Kudos
Message 8 of 10
(3,772 Views)
My understanding is that your application was developed with a driver; in particular, a driver with a function called hp34401a_Measure.  You can download the VXIpnp and IVI-C drivers for the 34401a from our site and look for this function in the header file.  Agilent may also provide a different VXIpnp driver for this instrument, so you can check that one as well.
 
For the future, it would be best to document in your code which driver you are using and where to get it.  Just a
 
Good Luck,
Jason
0 Kudos
Message 9 of 10
(3,773 Views)
My understanding is that your application was developed with a driver; in particular, a driver with a function called hp34401a_Measure.  You can download the VXIpnp and IVI-C drivers for the 34401a from our site and look for this function in the header file.  Agilent may also provide a different VXIpnp driver for this instrument, so you can check that one as well.
 
For the future, it would be best to document in your code which driver you are using and where to get it. 
 
Good Luck,
Jason
0 Kudos
Message 10 of 10
(3,771 Views)