07-15-2012 02:21 PM
I want to use the wagoNModbus.m function within LabVIEW to control a series of solenoid valves from a WAGO 750-841 PLC. (See link to download the Matlab file under "Valve Control Software" at: https://sites.google.com/a/lbl.gov/microfluidics-l
Also note, .m is not a valid file extension for attachments on these message posts! Someone should fix that...
08-24-2012 04:21 PM
Thanks for the heads up on the .m file. For reference, here is a list of the LabVIEW MathScript Known Issues and Limitations, but as a general rule the methods should work correctly. One thing to note anytime importing a third-party .m file is to confirm the syntax against the functions list in the LabVIEW 2012 MathscriptRT Module Help.
An easier approach might be to utilize this example LabVIEW project that WAGO provides that demonstrate simple socket connections to the WAGO Controller.
08-24-2012 07:28 PM
I gave up on the MathScript and was responsible for WAGO finding the example files you mention, which had broken links. I've adapted that approach for my application and it works great. I'm still curious about the problems with the MathScript function, but don't have the time to chase it down further at this point.