09-27-2012 05:20 AM
Hey guys,
I have limited experience with labview so any suggestions to this problem would be fantastic. I am using an Adam 4068 which is a relay module to switch in a dc power supply if coil one is on and switch in an ac power off dc power if coil 2 is on. Any visual examples to this problem would be great. Im stuck on how to go about it. Below is my adam vi. thanks guys.
Damien
10-02-2012 10:30 AM - edited 10-02-2012 10:31 AM
Hi Damien
I have had a look at your code and do not appear to have the two main functions: MB Serial Master Query (poly).vi and MB Serial Init.vi. Were these installed with the Modbus Toolkit? What version of LabVIEW are you currently using?
As far as I understand, you want to use LabVIEW to write Boolean true/false values to your Adam 4068 device. You then have two power supply devices connected to each of the coils of your Adam 4068. Writing a true/false value in LabVIEW, you want to control the state of each coil. When you write a true value to coil one and a false value to coil two, only the DC power supply should be on. When you write a true value to coil two and a false value to coil one, only the AC power supply should be on.
From your LabVIEW code, you would need to implement logic comparator functions and potentially case structures to select separate sets of code to implement this. Could you first confirm whether I have understood correctly?
Kind Regards
10-02-2012 10:43 AM
Hi Ben,
Currently labview 2012 yes i have the vis installed. Yes u understand correctly I have solved the problem in using a case structure and using a numeric constant for each condition. Thanks for the reply!
Damien
10-02-2012 11:16 AM
Hi Damien
That is not a problem.
Good luck with your application!
Kind Regards
10-23-2012 04:29 AM
Hi damien,
Can i have your VI in LabView 2011. I'm interested with 4068 Adam device, and I would start with an example.
Thank for your reply.
Yann.