LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI execution error when repeatedly acquiring and saving Single waveforms in LabVIEW (Tektronix TBS-2000 Series)

Hello everyone,

I’m currently controlling a Tektronix TBS-2000 Series oscilloscope through LabVIEW and running into an issue during execution.


I’m trying to use a 1.5 Hz, 4 Vpp pulse signal with an offset of +2 V as a trigger source to Acquire a Single (one-shot) waveform when the trigger occurs. Wait automatically for the next trigger signal, and Repeatedly acquire and save each waveform to a CSV file for every trigger event. However, the VI currently fails to run due to an error.

 

Error Message
SubVI Tektronix TBS 2000 Series.lvlib:Configure Channel.vi required input ‘VISA resource name’ is not wired.

오류 사진 .pngcontroll pannel.pngblock diagram.png

 

Question 1
What is the fundamental reason for this “VISA resource name is not wired” error?

Question 2 – Repeated Single acquisition automation After one trigger and Single acquisition.
how can LabVIEW be configured to automatically wait for the next trigger and perform another Single capture without manual restart?

Question 3 – CSV auto-saving
I want each trigger event to save its captured waveform automatically as a separate CSV file.

Question 4
Are there any example LabVIEW block diagrams or session-management structures suitable for this setup
(1.5 Hz trigger → Single waveform acquisition → wait for next trigger → repeat saving)?

 

Thank you for reading.  

 

0 Kudos
Message 1 of 2
(92 Views)

Hi clrara,

 


@clrara7731 wrote:

Question 1
What is the fundamental reason for this “VISA resource name is not wired” error?

Question 2 – Repeated Single acquisition automation After one trigger and Single acquisition.
how can LabVIEW be configured to automatically wait for the next trigger and perform another Single capture without manual restart?

Question 3 – CSV auto-saving
I want each trigger event to save its captured waveform automatically as a separate CSV file.

Question 4
Are there any example LabVIEW block diagrams or session-management structures suitable for this setup
(1.5 Hz trigger → Single waveform acquisition → wait for next trigger → repeat saving)?


  1. The VISA resource is empty, you didn't provide a valid address...
  2. You need to write a (better) program! When you want to do stuff repeatedly then you should use a loop...
  3. Then you need to provide an unique filename for each save operation. There's a function in the File functions palette that can help you to provide unique filenames...
  4. You already describe several steps/states of your desired algorithm: what about using a state machine?
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(75 Views)