From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Heidenhain ND 287 Data Communication Issue

Solved!
Go to solution

I have one Heidenhain ND 287 device. When i try to send data over VISA Serial communication, it shows time out error when trying to read.
NI MAX also shows time out error. But when  manually press the Print button, it works. The command for Print button is <ESC>F0002<CR>.

STX Command is CTRL B. What could be issue in my code/

0 Kudos
Message 1 of 7
(597 Views)

According to the manual it uses XON-XOFF protocol 

LVNinja_0-1689945139231.png

So in your code the Flow Control should be as follows , try changing this and see if works. 

LVNinja_1-1689945188914.png

 

0 Kudos
Message 2 of 7
(547 Views)

Hi LVNinja,

Thank you for your support .I a still getting the error. Even the Test panel Query is giving me an error.
2023-07-24 13_55_03-ASRL3__INSTR - VISA Test Panel.jpg

 

Attached is my test Vi. If i press the Print button manually, it reads the position. so i believe i am having some command issues.

0 Kudos
Message 3 of 7
(521 Views)

I have the same problem as you, how did you solve it?

0 Kudos
Message 4 of 7
(211 Views)
Solution
Accepted by topic author Jen-Joy

Hi @Juancfaz,

 

Please make sure you use the RS232 serial communication. I have used the RS232 to USB communication cable instead of USB cable and it worked. "02" in hexadecimal works as CTRL+B which is the command to return the position.

0 Kudos
Message 5 of 7
(199 Views)

Could you explain to me in general terms how you concluded that passing 02 hexadecimal is equal to CONTROL+B and could you give me your .vi code please, thank you.

0 Kudos
Message 6 of 7
(163 Views)

Hi 

Please refer to the ASCII chart.

You can use Serial communication Vi available. Make sure the settings matches with the serial settings(baud rate, bits and parity bit etc.) of ND287.

Download All
0 Kudos
Message 7 of 7
(138 Views)