From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-17-2017 01:04 AM - edited 02-17-2017 01:07 AM
Hello Everyone,
I want to control VICI "2-Position 6-Port" switching valve and need to do labview software to control the position of the valve.
Below is the link for Valve which I want to control:
http://www.vici.com/act/micmp.php
I have not made any vi till now for this but I know that this may work on the serial communication. Is there any examples which can help me?
I would really appriciate any help such that from which point can I start as Later on there are multiple valves which I needed to control at same time.
Regards & Thank you.
Solved! Go to Solution.
02-17-2017 01:23 AM
Hi Vaidya,
at first get the user manual from the linked website and read it. It explains the commands used to control your valve controller!
Is there any examples which can help me?
Open the example finder and look for the "Basic serial read and write" example.
(You can even use MAX or a simple HyperTerm-like tool for first tests…)
02-17-2017 04:03 AM
Thnak you for your reply. I will look into it. Also if anything else comes up as different result or anything else I will share.
Regards,
Hemang Vaidya
03-10-2017 04:18 AM
Hello,
I have read the manual and yes there are many commands to control it. So I tried to control the valve with "basic serial read and write vi", but unfortunately it's not working and giving the timeout error. Though I checked the valve with the hyper terminal and its working fine. So can anyone help me further, I don't understand why it is not working.
Thank you.
Regards,
Hemang
03-10-2017 05:07 AM
@HemangVaidya wrote:
Hello,
I have read the manual and yes there are many commands to control it. So I tried to control the valve with "basic serial read and write vi", but unfortunately it's not working and giving the timeout error. Though I checked the valve with the hyper terminal and its working fine. So can anyone help me further, I don't understand why it is not working.
Thank you.
Regards,
Hemang
We don't understand why, either. We might, though, if you upload your code.
03-10-2017 07:28 AM
For this I usually recommend starting with the Simple Serial example found in the Help >> Find Examples and searching. It is a basic example on sending some serial data, waiting and then reading the reply. You might also want to make sure you are talking to the right port. If you short out pins 2 and 3 on your DB-9, it will send the transmitted data back on the receive. If data you send comes back then you know that is the right port.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord