ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
10-16-2025 08:15 AM
Hi all, I have this mass flow controller with which I want to communicate. In the image above, I am using a code from the distributor, where it is a simple communication, and the command "unitID"T (AT) performs a totalizer reset. This works. But when I try to implement it using the same subVI that I have highlighted in my code, the instrument does not perform the tare. I've tried to replace de subVI with an only Visa write block and won't work neither. It is not a communication error since other commands work perfectly.
I don't understand why this could be; it must be something simple. Thanks in advance, Ros.
10-16-2025 08:47 AM
Usually it's a missing end of command (like "\n"). Double check what their example is actually sending and compare to yours.
10-16-2025 12:13 PM
I'll try it, but I really don't think it's \r \n, because with the same device I use other commands and both work without \n. There must be something else. Anyway, since I can't do troubleshooting, what do you recommend I do? Should I add indicators in the executables to see what command is being sent? The instrument is being used right now on a set-up.
Thanks
10-17-2025 09:26 AM
Yes, some extra indicator and probes in \ -mode is a good start. If that's not enough you can run Wireshark to capture the traffic. You should be able to open the Visa panel in MAX and send the command manually to see that they work.
10-17-2025 03:25 PM
t could also be a timing issue. If you are sending it a lot of commands in a short time it might not be able to handle them all. Does it run in highlight execution mode but not in regular execution? If so then add delays or look and see if the instrument implements registers for *OPC?.