10-15-2024 02:13 PM
Hello NI Community,
I’m facing an issue with RS-485 communication using a USB-RS-485 converter to communicate with a CFW-11 inverter through LabVIEW. I've been struggling with Error -1073807330 and Error -1073807331 when configuring the transceiver control in RS-485 Half-Duplex mode.
Here are the details:
I’m consistently encountering the following errors:
RS-485 Mode Selection:
VISA Settings:
\r\n
.Drivers:
Error Location:
I gonna add the manual
Thank you in advance for your help!
10-15-2024 08:38 PM
Are you using NI USB-485?
If you are using non-NI third-party USB adapter, you won't be able to set the transceiver mode as the NI-VISA driver does not have access to that property.
10-16-2024 05:48 AM
Are you sure? I was able to make it work perfectly in another application just by setting the right command in the VISA Write, and the indicator returned the data correctly, even though the adapter wasn’t from NI.
10-16-2024 06:02 PM
You can still use VISA Write and VISA Read with a non-NI adapter, but certain VISA property like Transceiver Mode only applies to NI adapter.
10-17-2024 08:48 AM - edited 10-17-2024 09:14 AM
Thanks for the feedback earlier.
I've now adjusted the command and I'm currently sending the following for testing:
01 01 00 10 00 01 CRC
Could you confirm if this looks right for a Modbus-RTU command? I'm still troubleshooting to figure out if the issue is with the command format or something else.
What I get...
10-17-2024 07:23 PM
Why don't you use NI Modbus Library Toolkit for LabVIEW?
10-18-2024 06:12 AM
... Thanks for the advice, but how do I use this ?
10-19-2024 02:14 PM
@MarcusP. wrote:
... Thanks for the advice, but how do I use this ?
10-21-2024 07:32 AM
Well, thanks for the guide! I was literally lost trying to figure out what I was supposed to do with the name, but now I feel more confident to try it on my own. However, is there any kind of guide or at least a functional example that I could reference? It would really help me understand better
10-21-2024 11:20 AM
I just discovered that it needs to have an Ethernet connection, which unfortunately my device doesn't have. So now I’ll need to continue with my original plan of using VISA to connect. However, I'm still struggling to figure out the correct write value that works with my device. Any suggestions or guidance on how to approach this would be really helpful!