01-17-2014 04:54 AM
Morning All
I'm trying to alter an old program that was reading a Druck 282 DPI to read an Omron K3HB DPI over RS232. I have the coms string for the Omron (02H 01 00 0 0 0101 C0 0002 00 0001 03H), but it does not seem to be working. I've attached a screen grab of the code I'm working with.
Any help would be appreciated.
Andy
01-21-2014
05:19 AM
- last edited on
06-06-2025
04:25 PM
by
Content Cleaner
Hi Andy,
Have you tried using this VI to test for a response from the Omron?
http://www.ni.com/example/27423/en/
Are you able to find the Omron as a VISA resource?
Let me know how you get on with these examples.
01-23-2014 03:49 AM
Hi Tim
I've run both programs. The VI for getting a response gave nothing, I was getting 0 bytes at the port. The one for VISA resources found nothing, generating an error at the VISA find resource node.
I guess from that the Omron is not communicating with VISA?
Andy
01-23-2014 04:33 AM
Better post the vi instead of a png of the BD 😉
Seems that you need to send the hex values.
Have you set the display style of your string input to hex?
If not, do so 😉 by rigth click the string control and set it to hex display
01-23-2014
04:37 AM
- last edited on
06-06-2025
04:25 PM
by
Content Cleaner
Hi Andy,
Have you tried following these steps for configuring a serial device?
https://learn.ni.com/learn/article/getting-started-with-instrument-control-hardware-and-labview
Cheers,