When you ask if you can control the valve proportionally what are you trying to accomplish? As for a proportional solenoid, as far as my experience, solenoids are "binary", in one position or in the other. There are a number of proportional valves, but they are not solenoids. Many of the ones that I have dealt with have their own electronics, which are controlled by varying a control voltage or current. There is also an extremely wide variety of valves, depending on what your fluid is, a gas, water, an oil? The need for PID control comes only if you are trying to control the flow, based on some feedback. If you need only to open the valve a certain percentage, then you don't need to have PID, just some way of knowing what control signal level relates to the valve being opened a certain amount. If you are trying to control flow, then you need: to have some means of determining the flow, some means to translate that into an amount of valve opening. This is where it gets interesting, depending on many factors. Your fluid is the first major variable. Compressible fluids (gases) will behave differently than fluids that are incompressible (oils, water) and developing a PID algorithm that will smoothly control one is different than for another. The "system" that the fluid is flowing through also will frequently behave in non-linear ways (is the system a hydraulic control system with variable loading, are you running pneumatics, etc.?). As a previous post mentions, the NI DAQ card is only a small, mostly trivial, piece of the puzzle. It is used to produce either the control voltage or current, which is easy, but determining what that control signal will be is less so.
Give the group more definition in what your application is, and we may be able to help a little more. We can't design the system, but there are experts in just about every technical field on this forum and we can give you pointers to help you find the answer.
Putnam Monroe
Senior Engineer - North Shore Technology, Inc.
PutnamCertified LabVIEW Developer
Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5

LabVIEW Champion