LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Please hekp me fix Error(-1073807346)

NI Error.JPG

 

NI Error1.JPG

 

I just a beginner of Labview Program.

I use Labview to control Power supply NI USB6003 and Arduino board (assume this device for send a datagram command) Now I already combine this 3 program to 1 UI.

Currently I already get a error (ERR(-1073807346) in Visa write.(That I already attached on figured) That I cannot send this command in Labview to ON or OFF Power Supply. How can I just solve this problem. Please let me know. Thank you for your sharing.

 

Email : paradise2new@gmail.com

0 Kudos
Message 1 of 4
(2,581 Views)

Hi Phakhawat,

 


@Phakhawat23 wrote:

Currently I already get a error (ERR(-1073807346) in Visa write.(That I already attached on figured) That I cannot send this command in Labview to ON or OFF Power Supply. How can I just solve this problem.


Is the reference valid before the first VISA function?

There is a "default if unwired" tunnel used with this reference: you should NEVER do this with any kind of reference!

 

Two more notes:

  1. Instead of attaching images of parts of block diagrams you should attach real code (aka the VI)…
  2. It is a bad idea to post email addresses in the open wild…
Best regards,
GerdW


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

Your visa reference is held in a shift register, but is not wired across all cases of the event structure. If such a case executes, the reference is irreversibly lost and replaced with a generic default that has no meaning.

 

Wire it across all events so the output tunnel is solid.

0 Kudos
Message 3 of 4
(2,573 Views)

@altenbach wrote:

Your visa reference is held in a shift register, but is not wired across all cases of the event structure. If such a case executes, the reference is irreversibly lost and replaced with a generic default that has no meaning.

 

Wire it across all events so the output tunnel is solid.


To facilitate this, change the "Use Default If Unwired" property of the VISA ref output tunnel to "Linked Input Tunnel --> Create & Wire Unwired Cases".  Your cursor turns into a spool of wire with an empty square.  If the input tunnel blinks when the cursor is hovering over it, it is a candidate for linking.  Click on the input tunnel that you want to connect to.  This will automatically do what @altenbach recommended.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(2,524 Views)