Giseli Ramos Posted January 30, 2009 Report Share Posted January 30, 2009 Hello, I'm with a strange problem... I'm working with a DGH I/O module (model d1711 - http://www.dghcorp.com/digitalio/) that reads the status of one pair of sensors. When I use Hyperterminal, I can send commands and receive replies from the dgh module via serial port. But it simply don't work in LabVIEW. When I use even the most simplest code to write to and read from a serial port (using the NI Examples), the dgh module simply don't send a reply to LabVIEW... LabVIEW can write with sucess on the serial port, but don't receive reply from DGH module. I tried to use the example provided by DGH, but even it does not work (http://www.dghcorp.com/drivers/labview/Dghdemo.vi). I set the correct configuration for the serial port (300 baud, 8-N-1, no flow), but it does not work also. I'm using LabVIEW 8.6 in Windows, and uses a USB-serial converter (it worked well in another applications using LabVIEW and I think that it is not the cause of the problem). Anyone have any idea? Thanks, Quote Link to comment
Giseli Ramos Posted January 30, 2009 Author Report Share Posted January 30, 2009 Hi, Forget the previous message...I've managed the problem. It is just a matter of adding timers, to give time to the DGH to respond before the program finishes. Thanks, Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.