LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Heidenhain ND 287 Labview ISSUE

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?

I implemented According to the manual it uses XON-XOFF protocol, but the issue persists.

 

2023-07-24 13_55_03-ASRL3__INSTR - VISA Test Panel.jpgUntitled.png

0 Kudos
Message 1 of 3
(490 Views)

The timeout indicates that the instrument is not responding. 

Did you check the pinout of the cable ? 

Page 105

https://content.heidenhain.de/doku/oma_nd_pt/pdf_files/ND200/ND287/662_206-21.pdf

0 Kudos
Message 2 of 3
(413 Views)

It also would help to enable the Display Style glyph on the string constant.

 

You definitely have a disconnect between what you send in Max and what you send in LabVIEW:

 

x1B\F0002\r  versus  \x1BF0002\r

 

\F is not a valid character escape sequence, so VISA Interactive Panel will send the x1B\F literally as 5 characters.

 

Depending what display style the LabVIEW string constant uses, you may not send the ESC character as you think but literally \x1B as 4 characters.

Rolf Kalbermatter
My Blog
0 Kudos
Message 3 of 3
(408 Views)