LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 1073807339 for Agilent 35670a

Hi,

 

I am trying to do an FFT Analysis with a frequency sweep using Aglilent 35670a. I modified FFT averaging application from the examples so it has frequency configuration. And it worked when frequency sweep is from 0 to 25 Hz - as the instrument needs 30 seconds to collect data at that frequency range. But when I change the frequency sweep to be 0 to 6.25 Hz which needs 60 seconds to collect data instead of 30 seconds, it gave me this error:

 

Error -1073807339 occurred at VISA Wait on Event in Wait for RQS.VI:2100001->Agilent 35670.lvlib:Actn Wait OPC.vi->Agilent 35670.lvlib:Actn Start Stop Cont.vi->Agilent 35670.lvlib:Actn Start FFT Hist Corr.vi->Agilent 35670 Applic Averaging FFT.vi

 

Looks like it quits waiting and is terminated while the instrument is sill collecting data. So my question is how I am supposed to fix this?

 

I have attached my main vi behind.

 

Also I tracked this vi called RQS in Actn Wait OPC.vi (see attachment 2) where it has a timeout value as 25000 ms but it does not allow me to modify it (attachment 3). What should I do? I appreciate it!

 

 

0 Kudos
Message 1 of 5
(3,325 Views)
Changing the timeout value is simply done by modifying the VI that calls the subVI. You can also modify the subVI's default value. It's not enough to just edit the value and save the VI.
0 Kudos
Message 2 of 5
(3,297 Views)

Thank you!

 

But I am new on this and I assume the "Actn Wait OPC. vi" would be its fathervi that calls thesub vi. (attachment 1 shows"Actn Wait OPC. vi" has no other inputs except VISA name and error in, and attachment 2 shows it front panel where there is a timeout setting but even after I modify it, it automatically changes to 30000ms for some reason.)  I cannot find any other setting that gives the specific value of 30,000ms so I guess that is the default value? But how should I change it?

 

Please bear with me and give me some guidance.

 

Thank you!

 

Howard

0 Kudos
Message 3 of 5
(3,253 Views)

Edit the control value, right-click the control -> data operation -> Make Current Value Default, save the vi.

 

Ben64

0 Kudos
Message 4 of 5
(3,228 Views)

Thank you very much!

 

It worked great!

0 Kudos
Message 5 of 5
(3,187 Views)