LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi, i unable to read data from data logger (Graphtec GL820), and getting an error

Does GL820 support IDN query?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 9
(1,073 Views)

Hi, sorry i new the forum. it does work from NI MAX

But error start from VISA read block

Screenshot 2023-10-04 114538.png

 

0 Kudos
Message 3 of 9
(1,063 Views)

So, you need to watch this first - https://labviewwiki.org/wiki/VIWeek_2020/Proper_way_to_communicate_over_serial

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 9
(1,050 Views)

I am not finding a programmer's manual for your device (I didn't spend much time searching either).  So I will trust that your command it correct.  However, you likely need to concatenate an End Of Line character(s) to your command string before it goes into the VISA Write.  Instruments tend to look for that Carriage Return and/or Line Feed to know when the command is complete.


GCentral
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 5 of 9
(1,017 Views)

Your write string is not correct. 

Are you sure you are adding a New Line or Carriage Return to the end of the string? 

 

No one is able to debug your picture.

0 Kudos
Message 7 of 9
(998 Views)

Change the display on your command string constant to '\ Codes'.  It also helps to make the display style visible (right-click->Visable Items->Display Style").  By default, the display style is 'normal'.  So you are not sending a Carriage Return and Line Feed, but literally '\', 'r', '\', 'n'.


GCentral
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 8 of 9
(968 Views)

Agilent Technologies / Keysight Technologies 34970A Data Acquisition Unit - Instrument Driver is readily available.

-------------------------------------------------------
Control Lead | Intelline Inc
0 Kudos
Message 9 of 9
(961 Views)