LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino & NI-VISA

Hi rockabilly,

 

some very basic error handling implemented:

check.png

(You don't need to wire default settings for VISAConfigure…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 11 of 22
(1,479 Views)

What's this Green Box ? How to create it ?

0 Kudos
Message 12 of 22
(1,472 Views)

A case structure.

 

When you wire an error wire to it, it changes to a red Error case and a green No Error case.

0 Kudos
Message 13 of 22
(1,469 Views)

Same results, still drop to zero sometimes. May be because of the yellow line which i do not have and don't know its meaning and create

0 Kudos
Message 14 of 22
(1,465 Views)

@rockabilly wrote:

May be because of the yellow line which i do not have and don't know its meaning and create


You mean the error cluster?  That is a very important piece of data you should be using.  It tells you if things went wrong somewhere and what the issue was.  A requirement for any good debugging.



There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 15 of 22
(1,462 Views)

Hi rockabilly,

 

May be because of the yellow line which i do not have and don't know its meaning and create

Did you take all those free learning resources offered by NI?

If not: do it now!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 22
(1,463 Views)

Revision_1.jpg

Yes, that one in above screenshot 😞

0 Kudos
Message 17 of 22
(1,463 Views)

Hi rockabilly,

 

to repeat previous message: you need to wire an error cluster to the case structure selector to get that green border.

Did you read the help for the case structure?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 22
(1,460 Views)

Yes i read but cannot figure since English is not my primary language. I changed the block diagram as below, but errors still continue. Fingers crossed...

 

Revision_2.jpg

0 Kudos
Message 19 of 22
(1,452 Views)

Hi rockabilly,

 

I changed the block diagram as below, but errors still continue.

Which errors do "continue"?

When you still get intermittant zeros in your indicators then those values are transmitted from your Arduino!

 

I do repeat: which string did you receive when your indicators do display the zero?

This is some basic code debugging on your side, so please do (or learn) that!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 20 of 22
(1,445 Views)