08-25-2020 11:54 PM
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
08-26-2020 12:07 AM
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:
08-26-2020 12:10 AM
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.
08-26-2020 06:19 AM - edited 08-26-2020 06:23 AM
@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.