Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Heidenhain ND-287 connect with VISA

Solved!
Go to solution

For the case you are using an older LV version, here is the VI downgraded to LV2010.

0 Kudos
Message 11 of 30
(3,059 Views)

Thanks a lot for all your help.

I just have one question, can you convert the "ND 287 sting to 2D array(LV2010).vi"  to a 2009 labview version?

0 Kudos
Message 12 of 30
(3,046 Views)
Solution
Accepted by topic author Poppe

I have just noticed that I attached the LV2012 version !

 

Here is it in LV8.

Message 13 of 30
(3,039 Views)

hej 

 

I still have a problem whit putting the receaving data to an array!

The way that the ND287 send his data is one by one. it only will remeber the last data thats been send!

Naamloos4.png

0 Kudos
Message 14 of 30
(3,021 Views)

Hello Poppe,

 

Can you share the code/VI you used for this test?

 

Thanks!

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 15 of 30
(3,008 Views)

Yes, please post your code. Do you still use NI's example ?

 

Your code must be adapted according to the way the ND 287 sends the data :

  • all at once in response to one query
  • one line for one query
  • anything else ?

 

I guess the ND 287 adds a termination character at the end of each line. Is this correct ?

 

How must the transfer from the ND 287 to the PC be started :

  • by pressing a button on the ND 287
  • by sending a request over the serial bus ?

 

This shouldn't be difficult to implement but, because I don't have a ND 287, I need your info about the behaviour of this device to be able to help you efficiently.

0 Kudos
Message 16 of 30
(3,002 Views)

I've already solved my problem.

Thank you for your time.

 

 

0 Kudos
Message 17 of 30
(2,996 Views)

What do you mean with code/VI?

0 Kudos
Message 18 of 30
(2,992 Views)

Just the VI's that you were using.

The only ones I found were the VI's without the correct parsing shown and the VI's provide by other people.
I didn't see one where they were both put together.

 

Can you share with us how you fixed the issue?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 19 of 30
(2,989 Views)

Here is the Vi and the subvi.

Download All
0 Kudos
Message 20 of 30
(2,984 Views)