Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Trigger type for PXI-5922 not setting correctly

$
0
0

I'm writing up a front panel for PXI-5922 (a high-resolution digitizer). I've encountered a minor but annoying issue - it seems that at startup, when the instrument is being initialized, the trigger does not get set up correctly.

 

The trigger type options are Edge and Immediate, and the trigger source options are Ch 0, Ch 1, and External.

 

If at startup the Edge type is selected, everything is fine. If Immediate and External are selected, everything is fine. But if Immediate and either Ch 0 or Ch 1 are set, then the instrument defaults to Edge.

 

If I update these settings while the front panel VI is running, everything works correclty. The problem appears only at VI startup.

 

Also, I've noticed that if this the first run of the VI, and the Immediate trigger is selected, then the instrument is stuck in a measurement loop, where it never registeres a completed measurement.

 

A screen cap of the initialization VI is attached. Can post the rest of the VIs if that would help.

 

Any idea why the trigger type sometimes reverts to edge? And why this depends on the trigger source selection? This shouldn't even matter if the type is set to immediate.

 

Hardware: PXI-5922 digitizer in a PXI-1036DC 6-slot chassis. Software: LabView 2015 x64 running on Windows 7 x64, using the IVI Scope library to interface with the scope.


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>