LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

visa-serial

ok. i send program.

0 Kudos
Message 11 of 14
(1,266 Views)

Hi zahra,

 

try this:

check.png

- No need for a case structure! Your device seems to send new data without special requests/commands, so you should read the buffer at regular intervals.

- No need for a wait statement: When your device sends messages at regular intervals VISARead will wait for those messages!

 

And as said before: your buffer (I changed to a "standard" shift register) will increase it's memory footprint with time. Think about saving those data before "out of memory" hits you!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 12 of 14
(1,260 Views)

TNS GERDW

my problem have been serial to usb converter. so with chang that my problem was solve.

but no i want save that to the exel and print that?

0 Kudos
Message 13 of 14
(1,226 Views)

zahra.s wrote: but now i want save that to the exel and print that?

I would recommend writing to a text file with a CSV extension.  Excel will open it just fine.



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 14 of 14
(1,210 Views)