How are van der Waals parameters determined experimentally?
At the critical point, the first and second derivatives of pressure with respect to volume are zero.  

This provides two equations to solve for the two unknowns (a and b) in terms of the critical temperature and critical volume (or pressure).  

See Critical Constants of the van der Waals Gas