08-12-2020 08:22 AM
Hi Everyone,
I have been trying to read data from my AALBORG mass flow controller via VISA. I have taken the RS485 output and used an RS485 to usb converter made by silicon labs .since I'm new to labVIEW i want know if there is any mistake in the block diagram that i have made. I have been able to read the data from an indicator made from PIC18F2520 through the same converter from this VI.
Along with the Screenshots of the block diagram and front panel i have also attached the screenshots of the write commands to be sent (from the master) to the mass flow controller from the manual.
Thanks in advance for helping.
08-12-2020 08:32 AM - edited 08-12-2020 08:33 AM
Hi KB,
there are several problems in your VI:
Simplified:
08-13-2020 12:26 AM
Hi Gred,
Thanks for the help.
I tried reading from the MFC via the vi you suggested. i'm still not able to read anything. I'm wondering what is the reason.
Thanks,
KB
08-13-2020 05:15 AM
Hi KB,
@KB0710 wrote:
i'm still not able to read anything. I'm wondering what is the reason.
When you "wonder what is the reason" you should check the error wire!
Which error do you get?
Do your serial port settings match with the device settings?
Is the serial port itself working correctly?
Can you check with some other software?
08-17-2020 12:27 AM
Hi Gred,
I have checked the error. The error source is "VISA Read " with a code "-1073807339".
Apart from that every thing is fine. The port settings match the device settings. Also, i have tested it in a software provided by AALBORG instruments and it works fine.
Is there anything that is should change in the VI?
Thanks & Regards
KB
08-17-2020 12:35 AM
Hi KB,
do you append the correct TermChar when sending the command to your device?
(To my shame I forgot to show the display style-indication at the string constant, I set it to \-display mode to add the CR char at the end of the command message…)
08-17-2020 04:11 AM
Hi Gred,
I changed the display style of the string control to '\' Display like you said and was able to get the response from slave.That was the one thing i had missed out.
Really appreciate you for guiding me through this.
Thanks
KB
08-19-2020 04:05 AM
Hi Everyone,
I have been trying to communicate with AALBORG Instrument's DPC mass flow controller. I am able to read the data from the flow controller via visa(the controller has a 485 output and i'm using an rs485 to usb converter to communicate). Now i want to be able to control the set point(digitally) using the same rs485 via VISA. I tried to find example online but it didn't help me much.
Since, I'm new to labVIEW (i'm using LabVIEW 14) I would really appreciate if someone helped me out with regards to this by guiding me to the right document or help me find the resources.
Thank you in advance
KB
08-19-2020 04:10 AM
Hi KB,
please keep (related) things in one place instead of starting new threads for basically the same question!
@KB0710 wrote:
Now i want to be able to control the set point(digitally) using the same rs485 via VISA. … guiding me to the right document or help me find the resources.
Why don't you read the "commands" which YOU provided in your own first message?
It mentions the command to change the setpoint…
04-07-2022 12:46 AM
Hi, could you share the new vi screenshot?