Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Problems with serial/usb communication with M-Bus

$
0
0

Hi all,

For reading out the values from a heat meter with M-Bus I'm using a USB converter which is connected to a PC. I am able to confirm it is properly configured and functional with M-Bus sheet software. However, for datalogging purposes I want to integrate this in LabVIEW, but have been unsuccessful so far. I'm using the example Simple Serial.vi to test simple commands (configuration settings are checked to be correct). For troubleshooting I have already consulted a similar topic on the forum: https://forums.ni.com/t5/LabVIEW/Problem-with-M-Bus-communication/td-p/2993583

I have implemented a string control on the 'VISA Write' object and made sure to select 'Hex display' on the front panel. Then I tried to send SND_NKE: 10 40 06 46 16 (n.b. in the string control this is automatically converted to 1040 0646 16). However, I don't get any response whatsoever. Normally, it should return 'E5'. Also, no error is thrown from the serial configuration, write, read or anywhere else. Upon hanging an indicator on the 'Return count' of the 'VISA Write' I do retrieve the value 5.

My experience with programming this, datatypes etc. is quite limited. Hopefully someone can help me figure out what is going wrong.


Viewing all articles
Browse latest Browse all 5565

Trending Articles