Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Shortcut Error Programming Windsonic


LarryT Aug 1, 2013 04:49 PM

Hi again,

I get an error when using Shortcut to write a simple program for measureing a Gill Windsonic (Option1) RS-232 sensor. The error says there is an "Undeclared Variable h0Dh0A" and "Variable illegal in Parameter: h0Dh0A". Any thoughts?

Thanks,

Larry Treadaway


LarryT Aug 1, 2013 07:04 PM

I found and fixed the error. in the line as follows:

SerialInRecord(Com1,WSStr,&h02,0,&h0hD0A,ByteRet,00)

the error was in the end word section of the statement, &h0hD0A, should read &h0D0A. Then it complies without any problem. I found another forum entry from 2011 and 2009 indicating this same problem with Shortcut. I am running LoggerNet 4.1 but perhaps there is an updated Shortcut where this error is fixed.

Thanks,

Larry


Dana Aug 1, 2013 09:39 PM

I believe this was resolved in the Sensor Pack release in March 2012.

You can find a link to that download here:

https://www.campbellsci.com/scwin

Dana


LarryT Aug 1, 2013 10:04 PM

Thanks Dana, much appreciated.

Larry

Log in or register to post/reply in the forum.