05-15-2025 04:53 PM
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.
05-16-2025 12:20 PM - edited 05-16-2025 12:24 PM
Did you set up the serial communications in LabVIEW to the specifications in the manual?
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:
I should be located int eh LabVIEW examples.
05-16-2025 12:55 PM - edited 05-16-2025 12:57 PM
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 🙂
05-16-2025 12:56 PM
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.
05-16-2025 01:00 PM
That was the thing that I was trying to do. But I got the messages that you can see in my other message 😞
05-16-2025 01:04 PM
I made some comments on your code.
Check them and see if would work .
05-16-2025 01:06 PM - edited 05-16-2025 01:07 PM
It times out because is waiting to read 1024 bytes. The device is responding 13.
05-16-2025 01:08 PM - edited 05-16-2025 01:14 PM
It also says that you need a CR.
05-22-2025 05:55 PM
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!
05-22-2025 05:57 PM
thanks! now I'm starting to understand some things, the main problem was the DTECH cable... But I apreciate it 🙂