03-02-2018 03:44 PM
Dear LabVIEW community:
I need your support. I am trying to acquire the waveform of a single voltage pulse. The pulse is detected by the measurement channel of my oscilloscope (Keysight DSOX3104A). In my VI I am setting up the Oscilloscope and the subsequent measurement/waveform acquisition via a USB connection. First, the scope is configured (time/div, V/div, trigger etc. ). Then I would like to "listen" for the voltage pulse until a specified timeout. I want the scope to be triggered off the rising edge of the pulse and then start the waveform acquisition. The VI is essentially running an event handling routine (VISA Enable Event -> Write to VISA resource -> VISA Wait for Event -> VISA Disable Event). The desired event type is "Trigger", which is associated with a hex code (0xBFFF200A, I believe) but when I am running the application I get the following error message:
Error -1073807322 occurred at VISA Enable Event
VISA: (Hex 0xBFFF0026) Specified event type is not supported by the resource.
What I have learned so far is that the VISA resource is an instance of the class "USB Instr". Does that mean that the event type "Trigger" has a different hex code for "USB Instr"? I am sure that the class must be able to support the event type.
Thank you for any sort of advice,
jjg2018
03-05-2018 03:37 AM - last edited on 04-19-2024 02:13 PM by Content Cleaner
@jjg2018 wrote:
Dear LabVIEW community:
I am sure that the class must be able to support the event type.
The documentation (VISA Events) says otherwise:
Trigger | Notifies the application that a trigger interrupt was received from the device. This may be either a hardware or software trigger, depending on the interface and the current session settings. | GPIB INTFC, VXI INSTR, VXI BACKPLANE, VXI SERVANT |
Only USB Interrupt seems to be allowed (although USB INSTR might be a subclass of Serial INSTR (I'm not sure)...