LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disable signal output from HP33120A

Hello guys,
In my project, I need to use HP33120A to generate an arbitrary waveform which will be output to other device.
I downloaded the HP33120A driver from here: http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E96B8659CE034080020E74861
I found something wired in using this driver which are listed below, hope some one can help me out.
1. I can not disable the signal output of HP33120. There are some vis within the driver which seems should be able to disable or stop the output, such as "hp33120 abort  generation.vi" and  hp33120 configurfe output enabled.vi". When I use configure output enable.vi" to disable the  device (seting the input parameter to false), I always get an error.
2. After I set the device to be in burst mode and send one software triggle to the device, the device will output a 1v dc level after generating the waveform I created. The output arbitrary waveform is corret, but I do not want the device to generate the 1V DC output after that. (The offset seting of my device is correct, BTW).
3. The "hp33120a Error-Query.vi" can not capture error. When there is error, this vi always report no error and I have to used "hp33120 error message.vi" to show the error.
Thanks for your help. I attached a simplified Vi I developped to show the error I am talking about. Thaks for your help!


0 Kudos
Message 1 of 8
(3,139 Views)
What is the actual error and code that you get? Your VI has no message in the error string. When you want to post code that shows indicator values, you have to go to the Edit menu and select Make Current Vaues Default. Save the VI and then post it.
0 Kudos
Message 2 of 8
(3,136 Views)
The error message is "Invalid value for parameter or property"
And the error code is -1074135024
I reuploaded the test vi.


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

Thats a VISA error and naturally, querying the instrument is not going to show anything. According to your option string, it looks like you are using simulate mode. See exactly where the error is being generated by probing the error wires. If it's from the inialize function, try changing it to Simulate=0.

If there is a bug in the driver with setting an IVI property, you are going to have a hard time fixing it. Have you tried the LabVEIW driver instead of the IVI one? Curious why you would be using the instrument specific IVI driver anyway. If you need IVI, you should be using the class driver.

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

I found the same problem. Maybe there is a bug in the driver. But if you use the other driver http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=103, you can solve this out.

0 Kudos
Message 5 of 8
(2,790 Views)

You replied to a four years old post. The link to the driver doesn't exist anymore and this driver was replaced by this one age33XXX Series. First thing you should do is update your code with the newer driver.

 

Ben64

0 Kudos
Message 6 of 8
(2,785 Views)

thanks.

 

Actually, I have installed several drivers for the fuction generator. I can stop the output of the function generator by Age 33XXX driver but I found it takes more than 0.1 s to complete the communication. (I have to change the frequency and amplitude of the function generator in real time).

 

As for the driver hp33210a, it can run at 0.01s per loop but it cann't stop the output by 'Output ennabled.vi'.

0 Kudos
Message 7 of 8
(2,781 Views)
First you say the disable function works and then you say it doesn't. Which is it? A 100 ms wait for the relay to open/close does not seem very long to me. That is a spec from agilent, not LabVIEW in any case.
0 Kudos
Message 8 of 8
(2,770 Views)