Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

duty cycle IVI-driver

the last attachment: the program

0 Kudos
Message 11 of 18
(1,368 Views)

Moreover, my Function Generator AFG320 uses the Duty Cycle only with PULSE mode. This waveform is not in selection list !

This IVI is curious...

0 Kudos
Message 12 of 18
(1,362 Views)

Would you mind posting an I/O Trace capture while running the example?

 

Performing a Good NI I/O Trace Capture for Debugging/Troubleshooting

http://digital.ni.com/public.nsf/allkb/282C5D41E2BA04F2862574BA007803B9?OpenDocument

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 13 of 18
(1,352 Views)

 

I made an I/O Trace capture: first attachment. Second attachment is I/O Trace Options.

 

There are several devices turned-off on GPIB: VNA ANRITSU, Multimeter, Capacitance-meter and Oscillo. I only turned-on the Functions Generator AFG320.

Download All
0 Kudos
Message 14 of 18
(1,344 Views)

Hello Adrien,

 

After reviewing the IO Trace capture, we noticed that it did not include the commands expected of the example. The previous IO Trace recorded commands to find resources and parse the results. We were expecting a series visa open, set/get attribute, read/write, and close commands.

 

Would you mind getting another capture?  We need a capture of the commands executed while the example is running.  I've attached an image of commands from a similar example for an Agilent Device to help give us an idea of what the trace should look like.

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 15 of 18
(1,319 Views)

sorry Smiley Embarassed

 

I think this time it's the right.

Download All
0 Kudos
Message 16 of 18
(1,306 Views)

Hello Adrien,

 

Would you please try to run the original ivi-specific example (the icons will have a blue background)?  

 

We will need to also verify that you run the example program in its original form, without any modifications (no added property nodes or other changes) and let us know if that runs without any errors using the AFG320?

 

Oh, and please make sure that the waveform control is set to Square.  

Regards,

Shawn S. | NIC
Instrument Driver/IVI PSE
National Instruments
0 Kudos
Message 17 of 18
(1,288 Views)

Hi,

 

I executed the first attachment program.

The I/O Trace result is the second attachment.

The icons of original ivi-specific driver are bleu. ( The icons of Class-IVI driver are green)

 

In my opinion, the good waveform is not square. On the Frequency Generator, Duty Cycle work with only PULS waveform. But this waveform does not exist in the waveform list of IVI-Driver.

 

I can controled the Duty cycle with VISA using PULS waveform: third attachment.

 

Thank you,

Adrien

 

Download All
0 Kudos
Message 18 of 18
(1,276 Views)