Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

33120 IVI-C step Send SW trigger fails

Solved!
Go to solution

I'm using NI driver for the HP33120 in TS 4.0 IVI-C step send SW Trigger.

I configure the device with no problem for burst 2 counts  software trigger and validate it. When I try to use the IVI-V step Send SW trigger  I get the error

Component Works IVI Control Error: The IVI SendSoftwareTrigger operation failed for logical name '33120A'.
Details: Trigger source is not software trigger. Attribute: HP33120A_ATTR_OUTPUT_ENABLED, Channel: CHANNEL1 [IVI Error Code: BFFA1001].

Please let me know what I'm doing wrong.

Thank you.

Elik

 
 

0 Kudos
Message 1 of 10
(4,755 Views)
Elik,

What is your trigger source? Can you attach a screenshot of what you have so far?

Regards,

Steven Zittrower
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 10
(4,730 Views)
Steven,I left the Configure tabs Waveforms, Sequences and Operation Settings empty or default.Attach is a snapshot of the configure tabs and the SW trigger as well as the sequence.

I'm trying to configure the 33120 for SW trigger and trigger it.

Since the ZIP file is too large I'll send two post with the files.Thank you. Elik

 

0 Kudos
Message 3 of 10
(4,726 Views)

Steven,

Attach is the 2nd file.

Elik

0 Kudos
Message 4 of 10
(4,725 Views)

Elik,

 

You need to set up your Trigger Source for software. See the attached picture for how to do this.

 

 

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

Message Edited by StevieZ on 04-14-2009 04:48 PM
0 Kudos
Message 5 of 10
(4,709 Views)
Steven, The parameter is set but still I get an error. I notice that although I set the burst parameter still the software will not put the 33120 into burst mode and will not set the burst count as requested to 2.  It also happens in validation, only when you set manually in validation list and reconfigure the 33120 will set to burst mode. Bug???However, the software set trigger source attribute to 2 which is software trigger. I used the IVI-C tool to retrieve the data. Still after setting the burst manually from the IVI tool I get the errorError: An exception occurred calling 'RunStep' in 'ISubstep' of 'zNI TestStand Ivi Step Types'
An error occurred while executing the step.
Component Works IVI Control Error: The IVI SendSoftwareTrigger operation failed for logical name '33120A'.
Details: To access this property or method, you must first configure the device by calling the Configure method. (TsIviCtrl.SendSoftwareTrigger)
Source: TSIviStepTypes [Error Code: -31601, User-defined error code.]
Why the burst is not set by the Configure step, only manually. The Load function might help but still it does not solve the issue of SW trigger.Thank you and I hope there is a solution.Attached is the spy file. You’ll notice that the code try to disable the output which fails in both TS and Labview. Bug?? Also, the spy does not show any error msg but the 33120 does not output the expected burst waveform. Thank you.Elik 
0 Kudos
Message 6 of 10
(4,700 Views)

Elik,

 

I'm having trouble reproducing your problems. Can you attach your actual TestStand sequence here or any LabVIEW code you have that illustrates the problem.

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 7 of 10
(4,685 Views)

Steven,

I finally figure out to operate the 33120 in burst mode.

Still in the Labview code and as you saw in the NI spy file the the IVIFgen_ConfigureOutputEnable set an error while trying to set it to False.

Attach is the Labview code.

 

Thank you for all your help.

 

Elik

0 Kudos
Message 8 of 10
(4,660 Views)

Elik,

 

I can replicate the error that you are receiving using TestStand. Using the 33120A drivers in LabVIEW (instead of the IVI ones) this does not happen as those DLL's that are being called actually use VISA commands. I'm not entirely sure why this one step fails but is this actually causing any problems? I am able to operate teh 33120A in burst mode and Send Software Trigger. Is this simply cosmetic or is there something amiss?

 

Regards,

 

Steven Zittrower

Applications Engineer

National Instruments

http://www.ni.com/support

0 Kudos
Message 9 of 10
(4,653 Views)
Solution
Accepted by topic author Elik

Steven,

This function was suppose to disable and enable the output signal of the 33120 with NI IVI driver. I've found  a way to do it with combination of TS IVI steps. I assume it is a bug with the IVI driver.

Thanks again. Case close.

 

Elik

0 Kudos
Message 10 of 10
(4,650 Views)