ikos74 Posted July 11, 2008 Report Share Posted July 11, 2008 Hello everyone, I’m new to Labview and i would appreciate it if someone could show me how to make, or use an existing Labview VI to operate via RS232 (ASCII or Modbus) an external Power Relay Output (Advantech ADAM 4069), in order to switch on and off a vacuum pump. The problem is that no Labview VI or driver exists yet from Advantech. However, according to the manual I have to send simple hex command like 0x01 for Set and 0x00 for Reset, through a serial port. Product Page of Power Relay Output: http://www.advantech.com/products/8-ch-Pow...d_1-2MLDJ5.aspx The event which will set or reset the relay is a dc voltage reading acquired by an internal PCI Multifunction Card, for which several VI’s exists. Thanks in advance for any help! Regards, John Quote Link to comment
Tim_S Posted July 11, 2008 Report Share Posted July 11, 2008 QUOTE (ikos74 @ Jul 10 2008, 12:10 PM) Product Page of Power Relay Output:http://www.advantech.com/products/8-ch-Pow...d_1-2MLDJ5.aspx There is a .NET class library if you go to the driver section of the Advantech website. LabVIEW can interact with .NET objects. Tim Quote Link to comment
LAVA 1.0 Content Posted July 12, 2008 Report Share Posted July 12, 2008 QUOTE (ikos74 @ Jul 10 2008, 06:10 PM) Hello everyone,I'm new to Labview and i would appreciate it if someone could show me how to make, or use an existing Labview VI to operate via RS232 (ASCII or Modbus) an external Power Relay Output (Advantech ADAM 4069), in order to switch on and off a vacuum pump. The problem is that no Labview VI or driver exists yet from Advantech. However, according to the manual I have to send simple hex command like 0x01 for Set and 0x00 for Reset, through a serial port. Product Page of Power Relay Output: http://www.advantech.com/products/8-ch-Pow...d_1-2MLDJ5.aspx The event which will set or reset the relay is a dc voltage reading acquired by an internal PCI Multifunction Card, for which several VI's exists. Thanks in advance for any help! Regards, John Years ago I used the ADAM 4017 (Analog Input) / 4050 (Digital I/O) at the university with LabVIEW 5.1. Here is the code for the 4050 (If you can't open it, you can open the word doc and reprogramm it...): It's not the style I programm today, but it worked... Download File:post-1396-1215756572.zipDownload File:post-1396-1215756587.zipDownload File:post-1396-1215756677.zip 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.