LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I read the X register for HP 4194

I downloaded the driver for the 4194 from the NI website. The manual for the 4194 mentions a X register that contains the x values of my sweep. I would like to read this register rather than create another loop to generate the x quantities separately.

I am trying to do a logarithmic sweep of the frequency for conductance measurements, so that I can do a larger range of freqencies without being limited by the maximum limit of 401 data points.

I could write the code to generate the log sweep of the freqency, but it would just be much easier to get the X data off from the instrument.

There is a sub-vi in the driver that can read all the other registers, but I could not find a selection for the X register. This might be a case of simply putting an X instead of another register name there, I will try that, but if anyone has already done this before, I would like your input.

Thanks

Sachin
0 Kudos
Message 1 of 3
(2,835 Views)

Hi Sachin:

I have not used this driver before and do not have the instrument in front of me, but I do have one suggestion.  First, what VI are you talking about that reads the other registers?

If there is some functionality of the instrument that is not in the driver you can write VISA code for this extra functionality.  If you know the command to send to get these register values you can add a VISA write and a VISA read in your code.

One more suggestion would be to post to the Instrument Driver forum and not the LabVIEW forum.  If you create a new thread and choose Instrument Drivers instead of LabVIEW this may reach more people that have possibly used this driver before.

Regards,

Emilie S.

0 Kudos
Message 2 of 3
(2,818 Views)
I tried to use X instead of the other register strings and it worked for me, thanks anyway.

I will post to the device driver board next time

Sachin
0 Kudos
Message 3 of 3
(2,810 Views)