LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Kurt J Lesker ion gauge 354 measures

Hi everyone,

 

I'm new to this place and I'm learning amazing things about Labview. I'm trying to control my Ion Gauge from Kurt J lesker with labview but it seems imposible. I watched al the VISA posts, contents, forums etc. And I'm not able to get any pressure lectures from the device.

 

I'm working in a lab and we need to get the pressures, I'm going to leave you some pics with the problems that I'd found because I was only able to start the IG ON and OFF... It seems that it's not able to read the pressures...

 

(I tried with some visa property nodes, other configurations... and nothing). I'm using a RS485 converter and the KJLC's PS501-A power supply so I only plugged the pin 6 of my KJ lesker 354 (RS-485 DATA A -) to T/R-, the pin 9 (RS-485 DATA B -) to T/R+, and the GND to GND. I'll leave you a manual user guide too 🙂 Thanks and I'm using a DTECH USB 2.0 to RS422/RS485 wire.

 

 

0 Kudos
Message 1 of 11
(1,001 Views)

Did you set up the serial communications in LabVIEW to the specifications in the manual?

aeastet_0-1747416009629.png

If so can you attach your code in LabVIEW version 2020 or older so we can better support you question?

 

You could also look up this example code to try to communicate to your device:

aeastet_0-1747416239309.png

I should be located int eh LabVIEW examples.

Tim
GHSP
0 Kudos
Message 2 of 11
(962 Views)

Hi! Thanks for asking so fast. Here I'm going to leave you the code, I know that is easy because I'm learning labview but it should work. I also leave some images of other easier code that I tried.

ps: I tried to use the example from labview but I got the following error:

Thanks and I'll wait your response 🙂

Luis611999_1-1747417780557.pngLuis611999_2-1747417786619.png

Luis611999_3-1747417815032.png

Luis611999_0-1747417891802.png

 

 

0 Kudos
Message 3 of 11
(949 Views)

Ensure LabVIEW recognizes the DTECH USB 2.0 to RS422/RS485 wire as a Visa device . 

 

Check the Speed and configuration as suggested. 

 

Before going into LabVIEW, use NI Visa Interactive controll to send commands to the device and see that it responds back. Once you tested that the communication is working, then try running the example from LabVIEW. 

0 Kudos
Message 4 of 11
(947 Views)

That was the thing that I was trying to do. But I got the messages that you can see in my other message 😞

 

Luis611999_0-1747418079218.png

 

0 Kudos
Message 5 of 11
(942 Views)

I made some comments on your code. 

Check them and see if would work .

 

LVNinja_0-1747418645111.png

 

0 Kudos
Message 6 of 11
(937 Views)

LVNinja_0-1747418731684.png

 

LVNinja_1-1747418786005.png

It times out because is waiting to read 1024 bytes. The device is responding 13. 

 

0 Kudos
Message 7 of 11
(932 Views)

It also says that you need a CR.

 

aeastet_0-1747419243676.png

 

Tim
GHSP
0 Kudos
Message 8 of 11
(926 Views)

OMG it was a problem of the DTECH. For everyone who wants to try with other solution for the KJ lesker 354 this is better https://www.digikey.com/en/products/detail/display-visions/EA-9790-USB485/22119716?gad_source=1&gad_... 

Thanks!

0 Kudos
Message 9 of 11
(813 Views)

thanks! now I'm starting to understand some things, the main problem was the DTECH cable... But I apreciate it 🙂

0 Kudos
Message 10 of 11
(812 Views)